Determining FLASH and RAM sizes on a TransPort WR product via python

Determining memory and flash would need to be done with the sarcli() python module.  With it you call the appropriate CLI command to determine memory and flash. 
Transport command here (contains commands for determining available memory and flash):
TransPort User Guide
sarcli() example here:

import sarcli
def Get_Cli():
        clidata = ""
        cli =
                tmpdata =
                ifnot tmpdata:
                clidata += tmpdata
        return clidata

Last updated: Feb 25, 2019

Filed Under


Recently Viewed

No recently viewed articles

Did you find this article helpful?