'uptime' output for a box running for a long time

New to SGIs? Need help getting things going? This is the forum for you!
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
Posts: 179
Joined: Fri Jan 13, 2006 10:39 am
Location: Switzerland

'uptime' output for a box running for a long time

Unread postby pub_bronx » Wed Jul 19, 2006 3:42 am

As the title says, could anybody who has her/his box running for more than one week, one month, and, if available, one year, copy/paste the output of the 'uptime' command ? For an application, I need to parse this output, and I'm afraid that the pattern hh:mm:ss (changing to hhhh:mm:ss) isn't followed.
Thanks in advance.
Octane R14k 600MHz, V6, 2048 MB RAM, 73GB HD0, 18GB HD1, 73GB HD2

Posts: 256
Joined: Thu Aug 28, 2003 11:45 am
Location: Belgium

Unread postby LoWeN » Wed Jul 19, 2006 4:38 am

1:35pm up 142 days, 3:05, 7 users, load average: 2.03, 2.00, 2.00


UX powered

User avatar
Site Admin
Site Admin
Posts: 8145
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California

Unread postby nekonoko » Wed Jul 19, 2006 5:07 am

Wouldn't it be easier to just change the date on your machine to something in the future and read in the uptimes that way? :)

Here's mine after changing the year to 2012:

Code: Select all

[Ryouko:~] neko 6# uptime
  5:07am  up 2195 days, 12:14,  4 users,  load average: 1.01, 0.77, 0.38
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

Return to “Getting Started, Documentation, Tips & Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest