pcp
[Top] [All Lists]

Re: PCP and processes

To: kenmcd@xxxxxxx
Subject: Re: PCP and processes
From: Mark Goodwin <markgw@xxxxxxx>
Date: Mon, 23 Apr 2001 13:15:31 +1000 (EST)
Cc: Mike Jewell <otf@xxxxxxxxxxxxxxxxxxxxxxxxx>, "'pcp@xxxxxxxxxxx'" <pcp@xxxxxxxxxxx>
In-reply-to: <Pine.SGI.4.32.0104231205160.1302957-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-pcp@xxxxxxxxxxx
On Mon, 23 Apr 2001, Ken McDonell wrote:

> Mark, I think the "this and all it's child processes" description is
> not correct ... the c<foo> variants appear to be the cummulative
> resource consumption for all children that have previously exited,
> so this process and still running children are _not_ included.

The c<foo> variants do not include the process itself, nor any children
that are still running or defunct/zombie. i.e. the value is updated when
a child exits and the parent waits. Not unexpectantly, the init process
and most shell processes have relatively large values for these metrics ...

Help text now reads:

    proc.psinfo.min_flt
        count of minor page faults (i.e. reclaims)

    proc.psinfo.cmin_flt
        count of minor page faults (i.e. reclaims) for all children of
        the process that have exited and were waited on by the process

    proc.psinfo.maj_flt
        count of page faults other than reclaims

    proc.psinfo.cmaj_flt
        count of page faults other than reclaims for all children of
        the process that have exited and were waited on by the process

    proc.psinfo.utime
        time (in ms) spent executing user code since process started

    proc.psinfo.stime
        time (in ms) spent executing system code (calls) since process started

    proc.psinfo.cutime
        time (in ms) spent executing user code for all children of the
        process that have exited and were waited on by the process

    proc.psinfo.cstime
        time (in ms) spent executing system code for all children of
        the process that have exited and were waited on by the process



<Prev in Thread] Current Thread [Next in Thread>