View Full Version : checking uptime
PCGamer11
Jan 31, 2004, 08:08 PM
i was wondering how to check how long my mac has been on!? i'd lke to know what in panther shows this. thanks
Simon Liquid
Jan 31, 2004, 08:32 PM
1. Open the terminal application.
2. Type 'uptime' and hit return.
mainstreetmark
Feb 1, 2004, 12:39 PM
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)
Veldek
Feb 1, 2004, 01:01 PM
Originally posted by mainstreetmark
load averages: 1.13 1.18 1.01
I always wanted to know how I have to read the load averages. What do these numbers mean?
wadetemp
Feb 1, 2004, 01:41 PM
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.
idkew
Feb 1, 2004, 01:43 PM
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.
iKwak
Feb 1, 2004, 02:24 PM
There are so much to learn about the Terminal program.
Nermal
Feb 1, 2004, 08:59 PM
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.
22:28 up 5 days, 4:22, 2 users, load averages: 0.57 0.31 0.27
cb911
Feb 3, 2004, 03:16 AM
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. :)
MacBandit
Feb 3, 2004, 04:47 AM
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
virividox
Feb 3, 2004, 04:54 AM
9:54 up 11:33, 2 users, load averages: 0.85 0.42 0.24
jeremy.king
Feb 3, 2004, 11:21 AM
Originally posted by iKwak
There are so much to learn about the Terminal program.
I found this on google. Good command reference for bash (this is the new default shell, right?).
http://www.ss64.com/bash/
Not apple specific.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.