uptime
Rafik Ouerchefani
rafik at ubuntu.com
Sun Jul 25 19:14:58 UTC 2010
On Sun, Jul 25, 2010 at 4:38 PM, Kaushal Shriyan
<kaushalshriyan at gmail.com>wrote:
> On Sun, Jul 25, 2010 at 8:51 PM, Rafik Ouerchefani <rafik at ubuntu.com>
> wrote:
> >
> >
> > On Sun, Jul 25, 2010 at 3:54 PM, Kaushal Shriyan <
> kaushalshriyan at gmail.com>
> > wrote:
> >>
> >> On Sun, Jul 25, 2010 at 8:21 PM, Benjamin Griese <der.darude at gmail.com>
> >> wrote:
> >> > Vers funny :-)
> >> > Just write the subject onto your Terminal.
> >> >
> >> > Bye.
> >>
> >> Hi,
> >>
> >> I wanted to know it in hrs:mm:secs
> >>
> >
> > Hello,
> > rafik at laptoppy:~$ cat /proc/uptime
> > 9617.88 16130.95
> > The first number is the uptime in seconds. Now you need to convert it
> into
> > hh:mm:ss (google...).
> > - Rafik
> Hi Rafik
>
> Thanks a lot, what does the second number denotes ?
>
> Kaushal
>
Hi,
from : $ man proc | grep uptime
/proc/uptime
This file contains two numbers: the uptime of the system
(seconds), and the amount of time spent in idle process (seconds).
Cheers,
- Rafik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20100725/e7f88b98/attachment.html>
More information about the ubuntu-server
mailing list