Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] who?
@ 2004-06-20  2:04 John David Anglin
  2004-06-20  7:20 ` Grant Grundler
  0 siblings, 1 reply; 3+ messages in thread
From: John David Anglin @ 2004-06-20  2:04 UTC (permalink / raw)
  To: parisc-linux

I've noticed that "who" is essentially useless in reporting users who
are actually logged in.  There seems to be a rather poor cleanup when
connections die and a user doesn't logout.

dave@gsyprf11:~$ w
 18:58:55 up 17 days,  2:38, 99 users,  load average: 1.61, 1.42, 1.31
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
dave     pts/2595 hse-ottawa-ppp23 08:46    4:25m  2:17  10.75s less build2.log
dave     pts/2595 hse-ottawa-ppp23 10:34    0.00s  0.34s  0.03s w
dave@gsyprf11:~$ who
carlos   pts/24748    Jun  3 13:27 (ip47-168.ott.istop.com)
dave     pts/24749    Jun  3 21:44 (hse-ottawa-ppp235823.sympatico.ca)
grundler pts/24750    Jun  3 21:53 (c-24-6-53-189.client.comcast.net)
carlos   pts/24751    Jun  4 09:12 (ip47-168.ott.istop.com)
carlos   pts/24755    Jun  4 11:11 (ip47-168.ott.istop.com)
tausq    pts/24756    Jun  4 11:20 (gandalf.tausq.org)
carlos   pts/24757    Jun  4 14:40 (ip47-168.ott.istop.com)
grundler pts/24758    Jun  4 16:37 (c-24-6-53-189.client.comcast.net)
grundler pts/24759    Jun  4 19:02 (c-24-6-53-189.client.comcast.net)
dave     pts/24760    Jun  4 21:13 (hse-ottawa-ppp234817.sympatico.ca)
...

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] who?
  2004-06-20  2:04 [parisc-linux] who? John David Anglin
@ 2004-06-20  7:20 ` Grant Grundler
       [not found]   ` <20040620133854.GQ20511@parcelfarce.linux.theplanet.co.uk>
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Grundler @ 2004-06-20  7:20 UTC (permalink / raw)
  To: John David Anglin; +Cc: parisc-linux

On Sat, Jun 19, 2004 at 10:04:06PM -0400, John David Anglin wrote:
> I've noticed that "who" is essentially useless in reporting users who
> are actually logged in.  There seems to be a rather poor cleanup when
> connections die and a user doesn't logout.

Yeah.  I started seeing that in the end of May, IIRC.  X86 works fine.
I had some other fires going and didn't get a chance to look at it.
We could try a 2.4 kernel and see if the same problem exists.

grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] who?
       [not found]     ` <1087739975.11000.18.camel@mulgrave>
@ 2004-06-20 18:23       ` Grant Grundler
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Grundler @ 2004-06-20 18:23 UTC (permalink / raw)
  To: James Bottomley; +Cc: PARISC list

On Sun, Jun 20, 2004 at 08:59:32AM -0500, James Bottomley wrote:
> If you're going to investigate, my bet would be on the new pts
> behaviour.  I bet the utmp/wtmp utilities haven't met pts numbers going
> up that high before.

probably. "last" shows all the entries and "who" only shows
the entries up to the points pts numbers get small again:

grundler <531>last
grundler pts/284525   c-24-6-53-189.cl Sun Jun 20 10:54   still logged in   
grundler pts/284524   c-24-6-53-189.cl Sun Jun 20 10:49   still logged in   
dave     pts/283794   hse-ottawa-ppp23 Sun Jun 20 08:49    gone - no logout 
grundler pts/283793   c-24-6-53-189.cl Sat Jun 19 23:21    gone - no logout 
...
dave     pts/24749    hse-ottawa-ppp23 Thu Jun  3 21:44    gone - no logout 
carlos   pts/24748    ip47-168.ott.ist Thu Jun  3 13:27    gone - no logout 
grundler pts/5        c-24-6-53-189.cl Wed Jun  2 22:12 - 22:14  (00:02)    
grundler pts/4        c-24-6-53-189.cl Wed Jun  2 20:55 - 22:10  (01:15)    
...
reboot   system boot  2.6.6-pa4        Wed Jun  2 16:52         (17+18:17)  
grundler pts/233985   c-24-6-53-189.cl Tue Jun  1 21:24 - crash  (19:28)    
dave     pts/212624   hiauly1.hia.nrc. Tue Jun  1 14:57 - crash (1+01:54)   

wtmp begins Tue Jun  1 14:57:53 2004
grundler <532>who
carlos   pts/24748    Jun  3 13:27 (ip47-168.ott.istop.com)
dave     pts/24749    Jun  3 21:44 (hse-ottawa-ppp235823.sympatico.ca)
grundler pts/24750    Jun  3 21:53 (c-24-6-53-189.client.comcast.net)
...


The "no logout" message is another clue.
Either last is having problems with that or whoever writes the utmp/wtmp
entries does.

thanks,
grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-20 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-20  2:04 [parisc-linux] who? John David Anglin
2004-06-20  7:20 ` Grant Grundler
     [not found]   ` <20040620133854.GQ20511@parcelfarce.linux.theplanet.co.uk>
     [not found]     ` <1087739975.11000.18.camel@mulgrave>
2004-06-20 18:23       ` Grant Grundler

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