Processor utilization = (system time + user time)/(elapsed time).
total_system_time = time reported by the OS as spent on behalf of the application in kernel mode. If the application is multithreaded, then the user needs to sum up the time for all the threads.
total_user_time = time reported by the OS as spent on behalf of the application in user mode. Again, if the application is multithreaded, then the user needs to sum up the time for all the threads.
A = a constant. Determination of this constant is a bit tricky and will vary from application to application. For a 2P system, A = 2.0. For a 2P HT system, this is somewhere between 2.0 and 2.4. It could be less than 2 but these cases are rare.
sar -u x y -f filename // yields the collected data with almost no overhead.
Intel is a registered trademark of Intel Corporation or its subsidiaries in the United States and other countries.
*Other names and brands may be claimed as the property of others.
Message Edited by intel.software.network.support on 12-07-2005 04:53 PM