getPerformanceStats ( ) : string
Returns an array of performance indicators
Example
console(getPerformanceStats()) //-> {ramTotal=2047, cpuUsage=21, ramUsage=83}
if(get(getPerformanceStats(),"cpuUsage")<90) do_that()
Return value
• CPU usage (percentage) -> cpuUsage
• RAM usage (percentage) -> ramUsage
• Total RAM available (Mbit) ramTotal