[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Strange output from `w' command



Nagarjuna G. forced the electrons to say:
> 
> I am using SuSe 6.2, 2.2.10 kernel.
> 
> hbcse:~> w
>   5:20pm  up  1:46,  5 users,  load average: 0.25, 0.28, 0.16
>   USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
>   arun     pts/0    shree.hbcse.tifr  5:17pm 4294953847.00s  2:02   0.15s  w

Hmm... seems like the utmp file is corrupted. Check out the preposterous idle
time...

Empty the file (cat /dev/null > /var/run/utmp) and see if that solves the
problem.

Binand

-- 
#include <stdio.h>                                   | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c;     | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c";    | printing program.
int main(){printf(p,10,34,p,34,10);return 0;}        | Try it!!
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.