uptime & w

Guenter Hopf qe1 at qe1.org
Wed Jul 30 00:50:21 PDT 2003


just a thought:

/proc/uptime
/proc/loadavg
/proc/stat

cheers,
guenter

On Wed, 2003-07-30 at 09:29, Ulrich Fahrenberg wrote:
> What's wrong here:
> 
> # man uptime
> <snip>
> This is the same information contained in the header line displayed by
> w(1).
> <snip>
> 
> # w
>  20:53:54 up 29 days, 12:19,  2 users,  load average: 1.02, 0.68, 0.29
> <snip>
> 
> # uptime
> uptime: couldn't get boot time: No such file or directory
> 
> 
> Apparently uptime is trying to get its information from another place
> than w, but /where/? The manpage is rather, well, short. What am I
> missing?
> 
> uli
> 
> -- 
> Uli Fahrenberg -- http://www.math.auc.dk/~uli
> 
> 
> 
> 
> 
-- 
Kiss that frog, and you will get your prince... 8)

ICQ # 33638817           ---   jabber: qe1 at home.qe1.org
e-mail: qe1 at qe1.org      ---         http://www.qe1.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20030730/6cefa587/attachment.sig>


More information about the blfs-support mailing list