class Rusage

Get the resource usage of this process or all dead child processes

Description

This class provides a means for finding the resource usage of either the current process or all terminated child processes. Call the constructor with true as the argument to retrieve the values for the child processes instead of the current process. The variables in an instance of this class (which are all of type number) are: utime (seconds of CPU time spent in user space); stime (seconds of CPU time spent in the kernel); maxrss (maximum RSS in kilobytes); ixrss (see man getrusage); idrss (see man getrusage); isrss (see man getrusage); minflt (number of page faults which didn't require I/O); majflt (number of page faults which did require I/O); nswap (number of times completely swapped out); inblock (number of blocks system read from disk); oublock (number of blocks wrote to disk); msgsnd (number of IPC messages sent); msgrcv (number of IPC messages received); nsignals (number of signals received); nvcsw (number of voluntary context switches); nivcsw (number of involuntary context switches).

class attributes [NB. Highlighted attributes are static members]

Automatically generated at 8:45pm, Wednesday 08 January 2003 by feritedoc.