uptime

Tony Pursell ajp at princeswalk.fsnet.co.uk
Sun Jul 25 21:45:11 UTC 2010


On Sun, 2010-07-25 at 13:03 -0600, Karl Larsen wrote:
> On 07/25/2010 12:10 PM, Neil Cherry wrote:
> > On 07/25/2010 10:56 AM, Karl Larsen wrote:
> >    
> >> On 07/25/2010 08:47 AM, Kaushal Shriyan wrote:
> >>      
> >    
> >>> I wanted to know it in hrs:mm:secs
> >>>        
> >    
> >> me. Here is what I get:
> >>
> >>
> >> karl at Lucid:~$ uptime
> >>    08:52:35 up 1 day,  3:38,  2 users,  load average: 0.86, 0.50, 0.34
> >> karl at Lucid:~$
> >>
> >> It has been up 1 day, and 3:38 which I think is 3 hours and 38 minutes.
> >> There are no "seconds"
> >>      
> >
> > No, there is no spoon ... :-)
> >
> > Karl, that's because you don't know where to look. Take a look here:
> >
> > cat /proc/uptime
> >
> > But I'm not doing the rest of his homework for the OP (sounds like homework).
> > After that google is your friend (for the OP).
> >
> >    
>          I have never heard of this and I am not sure what it is. Can 
> YOU read this?
> 
> karl at Lucid:~$ cat /proc/uptime
> 114394.17 108127.69
> 
> Too large numbers. What is it?
> 
> 73 Karl
> 

man proc

Tony

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100725/67a4da29/attachment.pgp>


More information about the ubuntu-users mailing list