Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uptime question (Unix-related)



On 2/14/07 12:53 PM, Ken Garland deftly typed out:

> Load Average: sysctl vm.loadavg | awk '{gsub(/\./,"");print$2}'

As the original poster seems to be looking for the 5 minute value, I would
change this line to:

sysctl vm.loadavg | awk '{gsub(/\./,"");print$3}'

-Remo Del Bello 

-- 
"In my life, Oh, why do I give valuable time
To people who don't care if I live or die ?"

-The Smiths: Heaven Knows I'm Miserable Now


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Remote-desktop mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/remote-desktop/email@hidden

This email sent to email@hidden

References: 
 >Re: Uptime question (Unix-related) (From: Ken Garland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.