Compaq SC RMS Server User Manual


 
rms_prggetstats(3)
The elapsed time statistic etime is the time in millisecs since the program was created.
The allocated time statistic atime is the time in millisecs for which CPUs have been
allocated multiplied by the number of CPUs allocated. The utime and etime statistics
are summed over the processes that make up the program (on this node).
If one or more processes belonging to the program is still running, the flags field will
contain the value PRG_RUNNING. This will be replaced by PRG_ZOMBIE when the last
process has exited. The program description should be destroyed when this value is seen.
The Partition Manager periodically sums these statistics over the nodes used to run a
parallel program, updating its entry in the accounting statistics (acctstats) table.
RETURN VALUES
Upon successful completion, rms_prggetstats() returns 0. Otherwise, it returns -1
and sets errno to indicate the error.
EACCESS Caller is not permitted to perform this operation.
EFAULT Invalid address for statistics array.
ESRCH No such program.
SEE ALSO
rms_prginfo(3)
C-14 RMS Kernel Module