Uptime

From: Tel <Garry>
Date: Tue, 19 Dec 1995 20:23:51 +1000

   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_at_com.pacpower.nswgovpower.telememo.au>
   
Received on Tue Dec 19 1995 - 00:49:30 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT