uptime

Neil Cherry ncherry at linuxha.com
Sun Jul 25 18:10:01 UTC 2010


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).

-- 
Linux Home Automation         Neil Cherry       ncherry at linuxha.com
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
Author of:    	Linux Smart Homes For Dummies




More information about the ubuntu-users mailing list