PDA

View Full Version : uptime



tw3k
May 3rd, 2008, 09:45 PM
forest@dev:~$ uptime
16:43:12 up 8 days, 6:29, 4 users, load average: 0.91, 0.52, 0.91

bobbocanfly
May 3rd, 2008, 09:47 PM
Desktop:

bobbo@tiger:~$ uptime
21:46:40 up 5:15, 3 users, load average: 0.23, 0.31, 0.50


Server:

bobbo@penguin:~$ uptime
21:47:17 up 26 days, 41 min, 4 users, load average: 0.45, 0.26, 0.29

blithen
May 3rd, 2008, 09:52 PM
blithen@sparky:~$ uptime
13:52:26 up 2 days, 22:58, 2 users, load average: 0.42, 0.33, 0.36
(That's right, 'Sparky')

AndyCooll
May 3rd, 2008, 10:40 PM
My laptops and desktops are never on for very long, I switch them off every evening. My file server however shows:

andy@debian:~$ uptime
22:36:26 up 88 days, 22:49, 1 user, load average: 0.13, 0.04, 0.01


And I know there are folk on these forums who've had their servers up for a much longer period of time.

:cool:

Barrucadu
May 3rd, 2008, 10:51 PM
Mines not particularly impressive, I have had much longer.


[barrucadu:/home/barrucadu] uptime
22:50:52 up 22:38, 1 user, load average: 0.48, 0.48, 0.46

PetePete
May 3rd, 2008, 11:14 PM
can i ask, why the long uptimes unless its a server? (or you hibernate)
i mean, whats the point in having a desktop on 24/7 ? just wastes electricity, only reason i can think of is that you are constantly downloading 'movies' , maybe of a certain nature ... ;)

gutsy server, last reboot was kernel updates i think. (its a laptop, with screen constantly off, left in idle/power save mode 99% time) i like the enviroment, and more importantly my wallet


pete@server:~$ uptime
23:17:33 up 80 days, 6:58, 1 user, load average: 0.00, 0.00, 0.00


my main computer (also laptop) says uptime 6 days, however thats due to me hibernating it most nights.

hessiess
May 3rd, 2008, 11:45 PM
my desctop/server.
23:43:47 up 4 days, 23:30, 2 users, load average: 0.40, 0.31, 0.28

It never stayes up for more than a week without frezing, dont know why tho.

intense.ego
May 4th, 2008, 12:08 AM
Here's mine. Note I had to turn off the computer to install some RAM. Normally, its anywhere from 3-9 days.

00:06:17 up 4:25, 2 users, load average: 0.76, 1.07, 0.81


I am the only one who uses this computer, yet it shows two users. Does it count root?

Also, I know in Windows uptime counts from where it left off when put to sleep or hibernation; is this the same with Ubuntu? If so, getting a high uptime is not hard at all, instead of turning off your computer you just put it to hibernation.

sstusick
May 4th, 2008, 12:33 AM
My record on Ubuntu is 32 days, and on Windows, 8 days.

sstusick
May 4th, 2008, 12:34 AM
Current uptime:

16:33:55 up 1 day, 19:26, 2 users, load average: 0.15, 0.23, 0.30

SuperSon!c
May 4th, 2008, 12:36 AM
can i ask, why the long uptimes unless its a server? (or you hibernate)
i mean, whats the point in having a desktop on 24/7 ? just wastes electricity

electricity isn't that much and IMO it's better for my hardware.

Joeb454
May 4th, 2008, 12:36 AM
I had a windows desktop running for nearly 2 weeks straight once (various torrents).

And my Gutsy server -
~$ uptime
00:33:50 up 15 days, 23:54, 1 user, load average: 0.00, 0.00, 0.00

I'm not giving away my username ;) lol

Pathfinder_
May 4th, 2008, 12:48 AM
Server

andrew@server:~$ uptime
9:52:18 up 55 days, 21:11, 1 user, load average: 0.08, 0.02, 0.0


Desktop

andrew@Hydra:~$ uptime
19:48:30 up 1:41, 2 users, load average: 1.01, 0.84, 0.68

Dr Small
May 4th, 2008, 01:54 AM
Here is my highest uprecord:


# Uptime | System Boot up
----------------------------+-------------------------------------------------
1 52 days, 08:54:20 | Linux 2.6.20-15-generic Wed Mar 5 08:46:00 2008


And this is my current uptime:

drsmall@darkghost:~$ uptime
20:53:31 up 22:05, 2 users, load average: 0.05, 0.18, 0.30

I have been currently been playing with Grub, so my uptime has not been very high for the last several days. :)

Dr Small

Pethegreat
May 4th, 2008, 03:15 AM
22:12:25 up 4 days, 1:23, 2 users, load average: 1.38, 1.28, 1.11

I have had around 22-23 days straight.

I run folding all the time. My computer has strange habits of messing up the display properties when it is rebooted.

I look for my next shutdown to be when I can backup all my crap to my laptop and do a fresh install of 8.04.

fedex1993
May 4th, 2008, 03:55 AM
Okay windows is 6 days before the ram starting swapping and got all messed up and caused a BSOD, linux right now on desktop not alot since its a dual boot. Well my home server is on 22 days now and my web server out of the house is on 55 days woot its a new record :)

w7kmc
May 4th, 2008, 03:58 AM
Here's mine. Note I had to turn off the computer to install some RAM. Normally, its anywhere from 3-9 days.


I am the only one who uses this computer, yet it shows two users. Does it count root?

Also, I know in Windows uptime counts from where it left off when put to sleep or hibernation; is this the same with Ubuntu? If so, getting a high uptime is not hard at all, instead of turning off your computer you just put it to hibernation.

The number of users counts you X session + the number of terminal windows you have open. The more you open, the more users will show up.

That is truly if you are the only one logged onto the system. You can also use the "who" or "w" commands for more details on users and what programs they are running.

My uptime here:
22:54:50 up 20:46, 3 users, load average: 0.44, 1.28, 1.11

zmjjmz
May 4th, 2008, 04:27 AM
I am the only one who uses this computer, yet it shows two users. Does it count root?


zj1992@Blokhmen:~$ uptime
23:25:33 up 4:15, 2 users, load average: 0.14, 0.39, 0.40

Normally it's up way longer (a week at the most, it'll probably be even more since suspend now works) but I had to get my iSight working (three tries, 5 restarts) and I was messing around with some games in WINE, which crashed the computer quite a bit. (My graphics card is just not cut out to run those games).

I believe gdm is a user.

zmjjmz
May 4th, 2008, 04:29 AM
The number of users counts you X session + the number of terminal windows you have open. The more you open, the more users will show up.

To clarify, you mean the tty's like tty1-6 (tty7 being the Xsession)?
Just so ya know, who says I only have tty7 running and uptime says I have 2 users.

w7kmc
May 4th, 2008, 05:13 AM
To clarify, you mean the tty's like tty1-6 (tty7 being the Xsession)?
Just so ya know, who says I only have tty7 running and uptime says I have 2 users.

Yes, tty7 is your x-session. There should be also a pts/0 for your terminal window , right? That's the window you typed "who" in. If you open up another window, you get an entry for pts/1, and pts/2 for the next, etc. They will all count as "users"

The tty1-6 sessions are separate sessions, and no one is usually logged into those, so they will not count as users unless you actually log into one. If you do log into one, they will also count as users in the uptime command, and show up in the who command.

As y'all probably know, you can access the tty1-6 session by hitting <cntrl><alt> <F1> and tty2 with <cntrl><alt><F2>, etc through tty6. To get back to your x session you would hit <cntrl><alt> <F7>.

These tty sessions are really handy if you want run a session outside of X...like say if X crashes, or if you are expecting it to crash and you want to see why...or for general geeky tinkering at the console. It is very powerful feature of Linux.

PetePete
May 4th, 2008, 09:41 AM
electricity isn't that much and IMO it's better for my hardware.

unless you're running old hardware it doesn't make any difference these days. Things have progressed ....

bonzodog
May 4th, 2008, 10:11 AM
</home/bonzodog>
:uptime <9:55>
09:56:14 up 23 days, 19:00, 1 user, load average: 0.07, 0.05, 0.01
</home/bonzodog>
:uname -a <9:56>
Linux dwarfstar 2.6.24-ARCH #1 SMP PREEMPT i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux


Desktop unit, running Arch, just never shut it down, as I was always taught that you should never shut down a linux box unless you absolutely need to.

intense.ego
May 4th, 2008, 11:54 AM
</home/bonzodog>
:uptime <9:55>
09:56:14 up 23 days, 19:00, 1 user, load average: 0.07, 0.05, 0.01
</home/bonzodog>
:uname -a <9:56>
Linux dwarfstar 2.6.24-ARCH #1 SMP PREEMPT i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux


Desktop unit, running Arch, just never shut it down, as I was always taught that you should never shut down a linux box unless you absolutely need to.

Why shouldn't you shut it down? Certainly, if it is not doing anything, it would save more electricity to shut it down? Also, don't components have a certain "shelf life," so that after 10 years, say, of constant use, it would just fail?

PrimoTurbo
May 4th, 2008, 11:59 AM
Well I'm stuck with windows because I find xorg/linux to be quite unresponsive even with low-end desktop environments compared to XP. I would say XP is extremely stable if you know how to use it and how to kill tasks. Also with an external program called unlocker it's possible to delete all locked tasks that sometimes stay in memory therefore avoiding any restarts.

http://img379.imageshack.us/img379/451/69573610ue8.jpg

w7kmc
May 4th, 2008, 02:32 PM
Well I'm stuck with windows because I find xorg/linux to be quite unresponsive even with low-end desktop environments compared to XP. I would say XP is extremely stable if you know how to use it and how to kill tasks. Also with an external program called unlocker it's possible to delete all locked tasks that sometimes stay in memory therefore avoiding any restarts.


I agree, XP is pretty darn stable. In fact, we have PC's that stay on for months at a time with no problems at the job. They are pretty secure and locked down boxes, ie, users can not go in there and install "junk" applications, etc. Usually it is those "junk" apps that get you into trouble ;)

Only time the XP's reboot is when there is an update which requires one. I'd say as a whole, they are generally just as stable as the linux boxes. To get to that state, though, they do require a little more oversight and administration.

tvtech
May 4th, 2008, 02:37 PM
if standby worked my uptime might be more than 5 minutes.... grumble grumble grumble

Phenax
May 4th, 2008, 02:43 PM
# uptime
08:40:58 up 284 days, 14:28, 1 user, load average: 0.21, 0.28, 0.29

intense.ego
May 4th, 2008, 02:51 PM
# uptime
08:40:58 up 284 days, 14:28, 1 user, load average: 0.21, 0.28, 0.29

o_O that's amazing. Is it a server or a desktop computer? Also, do you ever put it into hibernation?

Phenax
May 4th, 2008, 02:53 PM
o_O that's amazing. Is it a server or a desktop computer? Also, do you ever put it into hibernation?

It's a server, never in hibernation..

PetePete
May 4th, 2008, 03:33 PM
It's a server, never in hibernation..

and never a kernel update, so I hope for your sake you dont have any users on it who'd be tempted to vmsplice exploit you ;)

Phenax
May 4th, 2008, 07:31 PM
and never a kernel update, so I hope for your sake you dont have any users on it who'd be tempted to vmsplice exploit you ;)

vmsplice exploit only effected some versions of 2.6 with vmsplice in use (afaik most people don't use vmsplice anyway). I use a 2.4 kernel that has no known exploits.

sisco311
May 4th, 2008, 07:41 PM
desktop:

[acme] ~$ uptime
21:36:41 up 13 days, 22:11, 2 users, load average: 2.36, 2.07, 1.88

justifier
May 4th, 2008, 07:56 PM
my home webserver


adam@webbie:~$ uptime
19:49:50 up 117 days, 20:50, 1 user, load average: 0.00, 0.00, 0.00


my dedicated host webserver


root@ds5095:~# uptime
19:53:39 up 74 days, 7:44, 2 users, load average: 0.00, 0.00, 0.00


my mythtv server/boxen


adam@adam-tv:~$ uptime
19:55:18 up 6 days, 11:20, 2 users, load average: 0.16, 0.03, 0.01


my laptop


adam@adam-laptop:~$ uptime
19:55:46 up 7:36, 2 users, load average: 0.11, 0.13, 0.11

SunnyRabbiera
May 4th, 2008, 07:57 PM
8 days 18 h 59 min
thank you sysinfo :D

Darkhack
May 4th, 2008, 08:46 PM
nick@nixbox:~$ uptime
14:45:08 up 11 days, 6:54, 2 users, load average: 0.27, 0.32, 0.27

Probably the second longest uptime I've had. I think another time I managed to get 20 days. I usually have a kernel update that ruins it.

marco123
May 4th, 2008, 08:56 PM
My longest was just before I installed Gutsy: (Feisty was quite stable on my machine.)

hellmet
May 4th, 2008, 10:01 PM
15:53:34 up 2 days, 45 min, 2 users, load average: 0.62, 0.53, 0.81

I've seen much longer uptimes, back home. Now I shutdown my computer once in a while for a change!!

beercz
May 4th, 2008, 11:00 PM
Another uptime thread eh?

Oh well, referring to some previous threads on this subject ....

http://ubuntuforums.org/showthread.php?p=2542518#post2542518

Dr Small
May 4th, 2008, 11:03 PM
To clarify, you mean the tty's like tty1-6 (tty7 being the Xsession)?
Just so ya know, who says I only have tty7 running and uptime says I have 2 users.
Running the Xsession on VT7 is one user;
Opening the terminal to run "uptime" is the second user on pts/0

Dr Small

regomodo
May 5th, 2008, 12:39 AM
can i ask, why the long uptimes unless its a server?

self-inflicted orgasms

sstusick
May 5th, 2008, 04:41 AM
...
20:41:46 up 2 days, 23:34, 2 users, load average: 0.20, 0.30, 0.25

sstusick
May 6th, 2008, 12:19 AM
uptime currently


16:18:30 up 3 days, 19:11, 2 users, load average: 0.55, 0.46, 0.26

qpieus
May 31st, 2008, 06:59 PM
~$ uptime
12:50:52 up 155 days, 16:07

gotta shut 'er down for some maintenance though...

popch
May 31st, 2008, 07:58 PM
20:56:35 up 2:17, 2 users, load average: 0.28, 0.24, 0.10

I always shut it down when I'm not using it.

-grubby
May 31st, 2008, 08:03 PM
My record is something like 12 days now, here is my current:


nathan@linda:~$ uptime
12:03:42 up 3 days, 14:06, 3 users, load average: 0.70, 0.26, 0.13