LDTP  3.5.0
 All Pages
ProcessStatistics

About Process Statistics functions

To monitor the CPU and memory utilization you can use these functions

NOTE: You need to have libstatgrab >= 0.16 and python-statgrab >= 0.5 installed to use any of these APIs

Process Statistics python API's

startprocessmonitor - Start monitoring CPU / Memory utilization

stopprocessmonitor - Stop monitoring CPU / Memory utilization

getcpustat - Get CPU utilization of the given process

getmemorystat - Get Memory utilization of the given process



Linux Desktop Testing Project