uptime

Bhavani Shankar R bhavi at ubuntu.com
Sun Jul 25 14:58:02 UTC 2010


On Sun, Jul 25, 2010 at 8:11 PM, Kaushal Shriyan
<kaushalshriyan at gmail.com> wrote:
> Hi,
>
> is there a way to know what time is the system is up and running in hrs:mm:secs


You can use the w command as an alternative,

example:

bhavani at bhavani-laptop:~/development$ w
 20:30:27 up  3:24,  4 users,  load average: 0.05, 0.16, 0.17
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
bhavani  tty7     :0               17:11    0.00s  7:45m  0.18s x-session-manag
bhavani  pts/0    :0.0             17:55    1:15   0.32s  0.32s bash
bhavani  pts/1    :0.0             19:14    1:09   0.16s  0.16s bash
bhavani  pts/2    :0.0             19:15    0.00s  0.34s  0.00s w

more about w do

man w :)

regards



-- 
Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community  member.
What matters in life is application of mind!,
It makes great sense to have some common sense..!




More information about the ubuntu-server mailing list