LDTP
2.3.1
|
getcpustat(<'process name'>)
Get the current CPU utilization of the given application
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtputils.py
Returns | list of float values in percentage(CPU utilization), of all the instance of given application |
from ldtp import *
getcpustat('chromium-browser')