tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Bernt Christandl" <beb () rosat ! mpe-garching ! mpg ! de>
To: tru64-unix-managers
Subject: "w"-command output interpretation
Date: Wed, 21 Feb 1996 13:03:00 +0000	[thread overview]
Message-ID: <96076329121410.tru64-unix-managers.marc@archive.invalid> (raw)


Hello alpha-managers,

what i see, when entering a `w' from my du-3.2c alpha is (for example):

User     tty        from             login@    idle   JCPU   PCPU what
aaa      r4         xterm1.xaver.mpe 11:01    18:41   3:47     11 - (tcsh)
aaa      xterm1.xav                  10:57                        -
bbb      qb         xterm2.xaver.mpe 18:20   13days               -

I have 2 questions:

-> what kind of problem do i have (see the second `aaa'-line), when the tty-field
   is missing (or overwritten) by the from field?
   I have this corrupted line once for any active Xterminal-session via xdm.

-> why does a user still show up with w, while `ps aux | grep bbb' does not show
   any bbb-processes? (The user of course has logged out days ago.)

To me this looks like utmp/wtmp-related, but is it a bug or a feature? 
(I thought this to be the well-known `w'-bug, where a patch exists for; 
but obviously it's something different.)

With regards,

Bernt Christandl
                                                                       
-------------------------------------------------------------------------
- Bernt Christandl / Max Planck Institut fuer Extraterrestrische Physik -
- D-85740 Garching  / Phone: +49/89/3299-3346 / Fax: +49/89/3299-3569   - 
- Internet: beb@mpe-garching.mpg.de                                     - 
-------------------------------------------------------------------------

                 reply	other threads:[~1996-02-21 13:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox