On Tue, 2005-10-04 at 09:23 +0530, Naganarasimha wrote: > How to find current value of percentage of CPU utilized > by a given process?
> hrSWRunPerfCPU will give the “The number of centi-seconds of the > total system's CPU resources consumed by the process” Sample this value twice (separated by a given period). Divide it by the period concerned. That will give you the proportion of CPU time used by the process. Dave ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
