In 'top', you can always look at what percentage of your CPU is idle. 
Subtract that from 100 and you've got your load average.

Cpu(s):  1.1% us,  0.6% sy,  0.0% ni, *98.1% id*,  0.1% wa,  0.1% hi, 
0.0% si

Erik Anderson wrote:
> On 10/12/07, Philipp Kempgen <[EMAIL PROTECTED]> wrote:
>> I don't think there is a formula like
>> cpu usage = loadavg / #cpus
>>
>> A loadavg of 3 says that there are 3 processes waiting to
>> be executed.
>>
>> Anyway, I'll admit that a loadavg of 3 /might/ be ok.
> 
> Here's a quote from this page:
> http://en.wikipedia.org/wiki/Load_%28computing%29#Unix-style_load_calculation
> 
> "For systems with multiple CPUs, the number needs to be divided by the
> number of processors in order to get a percentage."
> 
> - Erik
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to