pcp
[Top] [All Lists]

Re: getting the currently running process metrics

To: Madhu Sudhan R Tera <mst9696@xxxxxxxxxxx>
Subject: Re: getting the currently running process metrics
From: kenmcd@xxxxxxxxxxxxxxxxx
Date: Tue, 14 Aug 2001 20:42:55 +1000 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <Pine.GSO.4.21.0107182358500.14729-100000@xxxxxxxxxxxxxxxxxx>
Reply-to: kenmcd@xxxxxxxxxxxxxxxxx
Sender: owner-pcp@xxxxxxxxxxx
On Thu, 19 Jul 2001, Madhu Sudhan R Tera wrote:

> Hello !
> There is no metric that gives the per process percentage of CPU cycles
> used.The "pminfo -dT proc.*" command (ofcourse not *).But i didnt find
> the one i required.Can anyone suggest me a solution.

Looks like I did not answer this one.

The Linux metrics you need are:

        proc.psinfo.utime and proc.psinfo.stime

both are counters in units of msec ... PCP tools like pmval,
pmie or pcpmon will rate convert this to produce a number in
the range 0 to 1 representing the CPU utilization for user time
and system time for each (or selected) processes.



<Prev in Thread] Current Thread [Next in Thread>
  • Re: getting the currently running process metrics, kenmcd <=