in reply to How do I calculate the current CPU usage?

Try to use this below command in the perl script. I tried this in linux/unix OS.

Unix Command
$ grep "model name" /proc/cpuinfo
Output:
model name : Intel(R) Xeon(TM) MP CPU 2.50GHz
  • Comment on Re: How do I calculate the current CPU usage?

Replies are listed 'Best First'.
Re^2: How do I calculate the current CPU usage?
by Anonymous Monk on Jun 21, 2007 at 05:27 UTC
    I did not want to know the model name or supposed clock frequency. None of the numbers in /proc/cpuinfo give the current CPU usage.