From: Haidong X. <hd...@ho...> - 2004-09-29 07:20:12
|
Hi, all, How could I get CPU utilization by running OProfile? The actual problem I need to solve is to measure the CPU utilization of a server (FreeRadius) when there is one client authenticating, so that I need deduce how many clients the server can support simultaneously. When the authentication starts, I need to clock the CPU cycles used for this authentication and the idle cycles during this period. I read some papers which show the result about CPU Idle time, but I really could not figure out how to get the CPU Cycles and CPU Idle cycles during the profiling. Since this is my first time to use OProfile, I really don't know how to solve it. Could anybody give me any hints? I feel sorry, if this question is silly. Thank you Haidong _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus |