keith_k

Sample period for per-process CPU usage in list_processes callback from processes probe

Discussion created by keith_k on Apr 30, 2009
I am using a Lua script to grab the top 3 processes from a host by issuing the list_processes callback to the processes probe on that host.  The results return a cpu_usage field for each process.  I would like to know the sample period over which the CPU usage for the process is taken.  Obviously, the results can be quite different if that number represents CPU usage over 10 seconds versus over 5 minutes.

Thanks,
Keith

Outcomes