From: Garry Optland <Garry.Optland () COM ! PACPOWER ! nswgovpower ! telememo ! au> (Tel)
To: tru64-unix-managers
Subject: Uptime
Date: Tue, 19 Dec 1995 10:23:51 +0000 [thread overview]
Message-ID: <96075325906698.tru64-unix-managers.marc@archive.invalid> (raw)
Hi All,
Does anybody know of an easy way to get the system uptime from a shell
script? (or a small C program, if the source is provided ;-)
I want to be able to output the days, hours and minutes that the system
has been up. The output of the uptime command is very variable, and
therefore hard to format.
I could not find any info on how the system determines its uptime.
All answers will be summarised.
-garry.
<garry.optland@com.pacpower.nswgovpower.telememo.au>
next reply other threads:[~1995-12-19 10:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-12-19 10:23 Garry Optland [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-08-25 22:40 Uptime Lawrence Decker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox