Uptime script

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
Viktoorr
Harmless
Posts: 3
Joined: Tue Jan 04, 2005 7:32 pm

Uptime script

Post by Viktoorr »

What does the last three series of numbers mean? (Underlined)

16:08 up 3 days, 22:54, 1 user, load averages: 1.79 2.36 2.51
User avatar
xpander
Adium Team
Posts: 103
Joined: Thu Dec 02, 2004 2:41 pm
Location: Silver Creek, NY
Contact:

Post by xpander »

Those numbers are your system load averages which show, um, the load that has been on your processor(s). You can see the same numbers when you use the "top" command in the terminal.
Life's not too short, you're just dead for so long.
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

My %_uptime just shows the actual uptime rather than all that other info. Maybe that's just in 0.8svn, though :)
The duck still burns.
--
My company: Saltatory Software. Check it out :)
User avatar
xpander
Adium Team
Posts: 103
Joined: Thu Dec 02, 2004 2:41 pm
Location: Silver Creek, NY
Contact:

Post by xpander »

my original uptime script that i submitted only showed the actual uptime..
Life's not too short, you're just dead for so long.
User avatar
dchoby98
Adium Team
Posts: 479
Joined: Thu Dec 02, 2004 6:17 am
Location: Canada, Eh?
Contact:

Re: Uptime script

Post by dchoby98 »

Viktoorr wrote:What does the last three series of numbers mean? (Underlined)
16:08 up 3 days, 22:54, 1 user, load averages: 1.79 2.36 2.51
The numbers mean how much load has been on your processor during different time intervals. The 1.79 is either the last 1 second (Mac OS X) or 1 minute (many other UNIXes). The next two are 5 and 10 seconds, or 5 and 10 minutes, respectively.

It is actually a measure of demand on the processor vs. how much the processor can actually do. So, a load above 1 means that your processor is being asked to do more than it can at once. That's not really bad, but
in the long run (i.e. load well above 1 for a long time) it's an indicator that something is overworking your machine.
Post Reply