Bug 15191

Summary: "w" and "finger" logon list discrepancies
Product: [Retired] Red Hat Linux Reporter: Chris Evans <chris>
Component: procpsAssignee: Preston Brown <pbrown>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: Winston gold
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-07 10:23:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Evans 2000-08-02 23:31:49 UTC
Apologies in advance, this is truly petty and minor!
May even be "NOTABUG"...
.
Anyway, if I use "w" to display logins, then a login via the GNOME gdm
login screen does not show up. Use of "finger" does show it.
.
Output of "finger":
[chris@localhost chris]$ finger
Login     Name       Tty      Idle  Login Time   Office     Office Phone
chris                tty1     1:24  Aug  1 06:27
chris               *:0             Aug  1 04:36
root      root       tty4     1:28  Aug  1 06:27

Output of "w":
[chris@localhost chris]$ w
  7:56am  up  3:21,  3 users,  load average: 0.00, 0.02, 0.02
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
chris    tty1     -                 6:27am  1:25m  0.15s  0.10s  -bash 
root     tty4     -                 6:27am  1:28m  0.09s  0.06s  -bash

Comment 1 Glen Foster 2000-08-04 15:19:51 UTC
This defect is considered MUST-FIX for Winston Gold-release

Comment 2 Tim Waugh 2000-08-07 10:23:29 UTC
w is skipping over the X login process since the process that added the utmp
entry (sessreg) is no longer around.  This makes it very hard to figure out
"what" that user is up to, and how much CPU time they've amassed.

My _guess_ is that this is expected behaviour and NOTABUG.


Comment 3 Preston Brown 2000-08-15 15:16:03 UTC
righto.