[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#3989: `w' produces corrupted output



Package: procps
Version: 1.01a-1

-chiark:~> w
  2:13pm  up 17 days, 12:23, 12 users,  load average: 0.31, 0.20, 0.14
USER     TTY      FROM              LOGIN@  IDLE   JCPU   PCPU  WHAT
richard  ttyp0    mojave.elmail.co  9:24am 26.00s  0.65s  0.65s  -bash 
pjb1008  ttyp2    ash.eng:0.0      10:00am 12:37   1.50s  1.24s  -bash 
ian      ttyp1    :0.0             11:22am  2:51m  1:36   0.63s  xclock 
ian      ttyp3    :0.0             11:22am  2:51m  0.14s  0.14s             bash
ian      ttyp7    :0.0             11:23am  1.00s  0.54s  0.25s  w 
matthew  ttyp8    puffball.atml.co 11:30am  2:43m  0.36s  0.36s             bash
kat      ttypa    mtcsf.mt.ic.ac.u 12:07pm  1:19m  0.82s  0.51s              trn
steve    ttypb    theron.cl.cam.ac 12:31pm  1:27  13.01s 12.80s  pine 
steve    ttypc    theron.cl.cam.ac 12:32pm  0.00s  0.49s  0.22s  ftp ftp.mcc.ac.
ian      ttypd    :0.0              2:09pm 11.00s  0.10s  0.09s  rlogin localhos
ijackson ttype    localhost         2:09pm 11.00s  0.37s  0.37s  /bin/bash 
root     ttypf    :0.0              2:09pm  3:30   0.24s  0.24s  bash 
-chiark:~> 

And, from one of my users:

chiark:richard$ w
  2:09pm  up 17 days, 12:19, 13 users,  load average: 0.29, 0.18, 0.14
USER     TTY      FROM              LOGIN@  IDLE   JCPU   PCPU  WHAT
richard  ttyp0    mojave.elmail.co  9:24am  0.00s  1.08s  0.60s  w 
pjb1008  ttyp2    ash.eng:0.0      10:00am  8:38   1.50s  1.24s  -bash 
ian      ttyp1    :0.0             11:22am  2:47m  1:36   0.61s  xclock 
ian      ttyp3    :0.0             11:22am  2:47m  0.14s  0.14s             bash
ian      ttyp7    :0.0             11:23am  9.00s  0.26s  0.26s  bash 
matthew  ttyp8    puffball.atml.co 11:30am  2:39m  0.36s  0.36s             bash
ian      ttyp9    :0.0              2:09pm 30.00s  0.13s  0.13s  trn 
kat      ttypa    mtcsf.mt.ic.ac.u 12:07pm  1:15m  0.82s  0.51s              trn
steve    ttypb    theron.cl.cam.ac 12:31pm 35:58  12.20s 11.99s  pine 
steve    ttypc    theron.cl.cam.ac 12:32pm  1:37m  0.22s  0.22s             bash
ian      ttypd    :0.0              2:09pm 22.00s  0.10s  0.09s  rlogin localhos
ijackson ttype    localhost         2:09pm 22.00s  0.46s  0.09s  mailx 
root     ttypf    :0.0              2:09pm  1.00s  0.18s  0.17s  bash 
chiark:richard$ 

As he says, it's also not clear what units the idle times 8:38 and
35:58 are supposed to be.

Ian.



Reply to: