Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

PCGamer11

macrumors member
Original poster
Nov 21, 2003
40
0
i was wondering how to check how long my mac has been on!? i'd lke to know what in panther shows this. thanks
 
Heh... I assumed the original poster already knew the command, since he used it in his title.

Oh well, never assume.

[Mark:~] markyoun% uptime
12:40 up 28 mins, 2 users, load averages: 1.13 1.18 1.01

(just rebooted from software update)
 
Originally posted by Veldek
I always wanted to know how I have to read the load averages. What do these numbers mean?

I believe it's the number of "executing" processes, averaged over the last 1, 5, and 15 minutes. 0 would mean there aren't any active processes other than process 0, 1 means the CPU is 100% utilized by a single process, and >1 means the CPU was utilized at 100% by more than one process.

What "executing" means I'm not sure... it may vary depending on the Unix? I also don't know how this number's computed for multiple processors.
 
if you ever have questions about a command in terminal, type "man commandName" (without the quotes)

hit space to move through the pages

from man uptime:

NAME
uptime - show how long system has been running

SYNOPSIS
uptime

DESCRIPTION
The uptime utility displays the current time, the length of time the sys-
tem has been up, the number of users, and the load average of the system
over the last 1, 5, and 15 minutes.
 
For the record,

14:59 up 1:46, 2 users, load averages: 0.42 0.27 0.19

I've been in OS 9 this morning, hence the short uptime.
 
i recently read something about load averages...

the article (or whatever it was) said that 0 is 0% cpu usage, 1.0 is 100% cpu usage, and that anything over 1.0 means that your system is overloaded, or trying to do more than is possible. doesn't mean it will crash or anything... but if you're constantly getting load averages of 2 or numbers like that... perhaps you should upgrad to a dual-G5. :D

i'm no walking UNIX reference... so if you really wanna know about load averages just google it. :)
 
Originally posted by cb911
i recently read something about load averages...

the article (or whatever it was) said that 0 is 0% cpu usage, 1.0 is 100% cpu usage, and that anything over 1.0 means that your system is overloaded, or trying to do more than is possible. doesn't mean it will crash or anything... but if you're constantly getting load averages of 2 or numbers like that... perhaps you should upgrad to a dual-G5. :D

i'm no walking UNIX reference... so if you really wanna know about load averages just google it. :)

According to this it has nothing to do with % use. It does have a little to do with processors used over a certain amount of time but the whole thing is pretty vague. Read this you'll understand what I mean.

http://www.teamquest.com/html/gunther/ldavg1.shtml
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.