uptime

Ric Moore wayward4now at gmail.com
Sun Jul 25 23:07:01 UTC 2010


On Sun, 2010-07-25 at 12:54 -0700, Robert Holtzman wrote:
> On Sun, Jul 25, 2010 at 09:45:03AM -0500, Jordon Bedwell wrote:
> > On 7/25/10 9:42 AM, Kaushal Shriyan wrote:
> > > Hi,
> > >
> > > is there a way to know what time is the system is up and running in hrs:mm:secs
> > >
> > > Thanks
> > >
> > > Kaushal
> > >
> > 
> > Your title says it all. "uptime" is the command.
> 
> My laptop shows:
> 
> holtzm at localhost:~$ uptime
>  12:50:07 up 44 min,  4 users,  load average: 0.10, 0.18, 0.36
> 
> 4 users???!!! Can someone clarify this for me?

Mine is now showing 3 users. I'm logged into X, with two terminal
windows open. Nope, just closed one terminal, exited out of a text
terminal login (F1), and it still shows 3 users now. Weird. Ric

wayward4now at iam:/opt/media/video$ who
wayward4now tty8         2010-07-23 02:09 (:0)
wayward4now pts/0        2010-07-23 02:09 (:0)
wayward4now at iam:/opt/media/video$ uptime
 19:04:25 up 4 days, 18:00,  3 users,  load average: 0.72, 0.61, 0.42
wayward4now at iam:/opt/media/video$ 

who is only showing two users. 
/var/run/utmp seems to be empty. Is that a bad thing?? Ric










More information about the ubuntu-users mailing list