Clan x86

General Forums => General Discussion => Topic started by: Sidoh on January 03, 2006, 02:03:21 AM

Title: Uptimes!
Post by: Sidoh on January 03, 2006, 02:03:21 AM
sidoh@deepthought:~$ uptime
00:06:26 up 70 days,  3:02,  5 users,  load average: 0.00, 0.00, 0.00


Windows -- 1 day 07:41

Yours?
Title: Re: Uptimes!
Post by: Ergot on January 03, 2006, 02:04:44 AM
jimmy@x86:~$ uptime
23:08:42 up 5 days, 12:50,  2 users,  load average: 0.23, 0.25, 0.47
Title: Re: Uptimes!
Post by: Blaze on January 03, 2006, 02:07:22 AM
BATSERVER: 03:10:49 up 20 days,  4:50,  5 users,  load average: 0.00, 0.00, 0.00

It was a manual restart too. :)
Title: Re: Uptimes!
Post by: zorm on January 03, 2006, 02:11:12 AM
[00:14:26] System uptime: 84 days, 14 hours, 16 minutes, and 54 seconds.

owned?
Title: Re: Uptimes!
Post by: Ergot on January 03, 2006, 02:12:34 AM
Quote from: Blaze on January 03, 2006, 02:07:22 AM
BATSERVER: 03:10:49 up 20 days,  4:50,  5 users,  load average: 0.00, 0.00, 0.00

It was a manual restart too. :)
I'm telling ya you're system time is messed up.
Title: Re: Uptimes!
Post by: Sidoh on January 03, 2006, 02:18:44 AM
Quote from: zorm on January 03, 2006, 02:11:12 AM
[00:14:26] System uptime: 84 days, 14 hours, 16 minutes, and 54 seconds.

owned?

I was more curious than anything; I didn't intend for it to be a competition.  But sure, you can own me if you like.  As long as I get to sleep in your bedroom and use as much of your bandwidth as I like.
Title: Re: Uptimes!
Post by: zorm on January 03, 2006, 02:29:24 AM
Quote from: Sidoh on January 03, 2006, 02:18:44 AM
I was more curious than anything; I didn't intend for it to be a competition.  But sure, you can own me if you like.  As long as I get to sleep in your bedroom and use as much of your bandwidth as I like.

Sure, sure, only because you lost. You get to sleep outside with the thing that eats from the garbage can btw.
Title: Re: Uptimes!
Post by: Sidoh on January 03, 2006, 02:35:00 AM
Quote from: zorm on January 03, 2006, 02:29:24 AM
Sure, sure, only because you lost. You get to sleep outside with the thing that eats from the garbage can btw.

Make from it what you wish!

I refuse.  You can't own me, sorry.
Title: Re: Uptimes!
Post by: GameSnake on January 03, 2006, 03:33:23 AM
7 days, 7 hrs.
I think it's stupid to have a competition over uptime, I just use my computer when I need to, I dont serve anyone so fuck you.
Title: Re: Uptimes!
Post by: trust on January 03, 2006, 06:43:46 AM
System Uptime: 3 days, 23 hours, 40 minutes, 15 seconds, 265 milliseconds
Title: Re: Uptimes!
Post by: Screenor on January 03, 2006, 07:21:47 AM
My uptime before I restarted today (according to IRC) was 2 weeks and 7 hours. (Windows)
Title: Re: Uptimes!
Post by: Newby on January 03, 2006, 08:48:20 AM
Right now it's about 2 days, highest it's been was about 90 days! (As soon as I hit 90, it refused to load KAlarm and locked up and would not allow me to do anything but restart. :()
Title: Re: Uptimes!
Post by: iago on January 03, 2006, 09:07:39 AM
darkside's highest was 128 days, when my stepbrother pressed the power button trying to turn on the other computer. 

Currently, though:

iago@slayer:~$ uptime
08:08:05 up 20:42,  1 user,  load average: 0.02, 0.06, 0.04

iago@darkside:~$ uptime
08:06:28 up 1 day, 16:47,  1 user,  load average: 0.02, 0.01, 0.00

iago@Pie:~$ uptime
08:30:34 up 1 day, 16:37,  1 user,  load average: 0.08, 0.02, 0.01

root@roamer:~# uptime
08:09:42 up 7 days, 13:49,  4 users,  load average: 0.29, 0.25, 0.27

root@gate:~# uptime
07:51:00 up 97 days, 21:10,  1 user,  load average: 0.00, 0.00, 0.00

Title: Re: Uptimes!
Post by: Sidoh on January 03, 2006, 03:38:46 PM
Ironically, there was a power outage last night. :(
Title: Re: Uptimes!
Post by: Joe on January 03, 2006, 04:56:28 PM
Quotejoe@Pie:~$ uptime
16:17:52 up 2 days, 24 min,  1 user,  load average: 0.08, 0.02, 0.01
Title: Re: Uptimes!
Post by: Joe on January 03, 2006, 05:50:15 PM
QuoteC:\Program Files\Microsoft Visual Studio\MyProjects\uptime\Debug>uptime
System uptime: 2 days, 13 hours, 18 minutes, 12.46 seconds.

#include "stdafx.h"
#include "windows.h"

int main(int argc, char* argv[])
{
int miliseconds, seconds, minutes, hours, days;
miliseconds = GetTickCount();
seconds = miliseconds / (1000); seconds = seconds % 60;
minutes = miliseconds / (1000 * 60); minutes = minutes % 60;
hours   = miliseconds / (1000 * 60 * 60); hours   = hours % 24;
days    = miliseconds / (1000 * 60 * 60 * 24);
miliseconds = miliseconds % 100;

printf("System uptime: ");
printf("%u", days);        printf(" days, ");
printf("%u", hours);       printf(" hours, ");
printf("%u", minutes);     printf(" minutes, ");
printf("%u", seconds);     printf(".");
printf("%u", miliseconds); printf(" seconds.");

return 0;
}
Title: Re: Uptimes!
Post by: zorm on January 03, 2006, 06:10:06 PM
Quote from: Joe[e2] on January 03, 2006, 05:50:15 PM
QuoteC:\Program Files\Microsoft Visual Studio\MyProjects\uptime\Debug>uptime
System uptime: 2 days, 13 hours, 18 minutes, 12.46 seconds.

#include "stdafx.h"
#include "windows.h"

int main(int argc, char* argv[])
{
int miliseconds, seconds, minutes, hours, days;
miliseconds = GetTickCount();
seconds = miliseconds / (1000); seconds = seconds % 60;
minutes = miliseconds / (1000 * 60); minutes = minutes % 60;
hours   = miliseconds / (1000 * 60 * 60); hours   = hours % 24;
days    = miliseconds / (1000 * 60 * 60 * 24);
miliseconds = miliseconds % 100;

printf("System uptime: ");
printf("%u", days);        printf(" days, ");
printf("%u", hours);       printf(" hours, ");
printf("%u", minutes);     printf(" minutes, ");
printf("%u", seconds);     printf(".");
printf("%u", miliseconds); printf(" seconds.");

return 0;
}


That sucks because it will wrap at 49.7 days IIRC. Fix.
Title: Re: Uptimes!
Post by: iago on January 03, 2006, 06:11:45 PM
Quote from: zorm on January 03, 2006, 06:10:06 PM
Quote from: Joe[e2] on January 03, 2006, 05:50:15 PM
QuoteC:\Program Files\Microsoft Visual Studio\MyProjects\uptime\Debug>uptime
System uptime: 2 days, 13 hours, 18 minutes, 12.46 seconds.

#include "stdafx.h"
#include "windows.h"

int main(int argc, char* argv[])
{
int miliseconds, seconds, minutes, hours, days;
miliseconds = GetTickCount();
seconds = miliseconds / (1000); seconds = seconds % 60;
minutes = miliseconds / (1000 * 60); minutes = minutes % 60;
hours   = miliseconds / (1000 * 60 * 60); hours   = hours % 24;
days    = miliseconds / (1000 * 60 * 60 * 24);
miliseconds = miliseconds % 100;

printf("System uptime: ");
printf("%u", days);        printf(" days, ");
printf("%u", hours);       printf(" hours, ");
printf("%u", minutes);     printf(" minutes, ");
printf("%u", seconds);     printf(".");
printf("%u", miliseconds); printf(" seconds.");

return 0;
}


That sucks because it will wrap at 49.7 days IIRC. Fix.

Is there actually a way to get proper uptime on Windows?
Title: Re: Uptimes!
Post by: zorm on January 03, 2006, 06:16:27 PM
Yes, using QueryPerformanceFrequency and QueryPerformanceCounter.
Title: Re: Uptimes!
Post by: MyndFyre on January 03, 2006, 06:30:10 PM
The biggest uptime I ever recall seeing on my computers was 84 days+.  I usually notice uptime when I'm checking my network connections for functionality (the window displays connection uptime which is at longest the computer's uptime.
Title: Re: Uptimes!
Post by: Ergot on January 03, 2006, 06:35:03 PM
Quote from: Sidoh on January 03, 2006, 03:38:46 PM
Ironically, there was a power outage last night. :(
Pwned :( Did you save your essay :O?
Title: Re: Uptimes!
Post by: Sidoh on January 03, 2006, 07:13:10 PM
Quote from: MyndFyrex86] link=topic=4438.msg48789#msg48789 date=1136331010]
The biggest uptime I ever recall seeing on my computers was 84 days+.  I usually notice uptime when I'm checking my network connections for functionality (the window displays connection uptime which is at longest the computer's uptime.

Hehe, that's how I check on Windows too.

Quote from: Ergot on January 03, 2006, 06:35:03 PM
Pwned :( Did you save your essay :O?

I did! :)
Title: Re: Uptimes!
Post by: MyndFyre on January 03, 2006, 07:27:44 PM
Quote from: Sidoh on January 03, 2006, 07:13:10 PM
Quote from: MyndFyrex86] link=topic=4438.msg48789#msg48789 date=1136331010]
The biggest uptime I ever recall seeing on my computers was 84 days+.  I usually notice uptime when I'm checking my network connections for functionality (the window displays connection uptime which is at longest the computer's uptime.

Hehe, that's how I check on Windows too.

Psh... who said anything about Windows?














OK, ok, I can't imagine going 84 days on Linux.  :o
Title: Re: Uptimes!
Post by: Quik on January 03, 2006, 07:33:39 PM
Turned off my Linux server the other day for a day, before that it had 5 or 6 weeks going.
Title: Re: Uptimes!
Post by: Sidoh on January 03, 2006, 07:42:05 PM
Haha, I noticed deepthought is running quite a bit faster after the restart, even if it was accidental/unwanted. :)
Title: Re: Uptimes!
Post by: igimo1 on January 03, 2006, 08:04:51 PM
System uptime: 2 days, 18 hours, 14 minutes, 38 seconds, and 828 milliseconds.
Title: Re: Uptimes!
Post by: skip on January 03, 2006, 08:11:06 PM
System uptime 15 days, 4 hours, 7 minutes and 32 seconds, connection uptime 3 days, 1 hours, 23 minutes and 49 seconds.
Title: Re: Uptimes!
Post by: rabbit on January 03, 2006, 08:33:05 PM
LILI: [20:32:50.204] Computer Time: 13 days, 10 hours, 41 minutes, 31 seconds
Attic: [20:36:40.311] Computer Time: 24 minutes, 21 seconds
Paradise: Off
Laptop: Off
Title: Re: Uptimes!
Post by: iago on January 03, 2006, 10:05:05 PM
Quote from: MyndFyrex86] link=topic=4438.msg48801#msg48801 date=1136334464]
Quote from: Sidoh on January 03, 2006, 07:13:10 PM
Quote from: MyndFyrex86] link=topic=4438.msg48789#msg48789 date=1136331010]
The biggest uptime I ever recall seeing on my computers was 84 days+.  I usually notice uptime when I'm checking my network connections for functionality (the window displays connection uptime which is at longest the computer's uptime.

Hehe, that's how I check on Windows too.

Psh... who said anything about Windows?

I don't think any other OS would require such a kludge. 

It's the same idea as finding a host's ip by pinging them.. stuff like that bugs me :)
Title: Re: Uptimes!
Post by: MyndFyre on January 03, 2006, 10:21:28 PM
Quote from: iago on January 03, 2006, 10:05:05 PM
I don't think any other OS would require such a kludge. 
Note that I didn't say I would *check* it that way, I said I'd *notice* it.
Title: Re: Uptimes!
Post by: iago on January 03, 2006, 10:28:22 PM
Quote from: MyndFyrex86] link=topic=4438.msg48849#msg48849 date=1136344888]
Quote from: iago on January 03, 2006, 10:05:05 PM
I don't think any other OS would require such a kludge. 
Note that I didn't say I would *check* it that way, I said I'd *notice* it.
Well, how else do you *check* it on Windows?
Title: Re: Uptimes!
Post by: Ergot on January 03, 2006, 10:29:45 PM
I think on Windows 98 (I don't check my uptime much) Start -> Programs -> Accessories -> System Tools (Or something like that) -> System Information
Title: Re: Uptimes!
Post by: zorm on January 03, 2006, 10:51:38 PM
Using any number of 3rd party programs of course.