who sees to many users

Rick Stevens rstevens at vitalstream.com
Wed Apr 7 20:19:15 UTC 2004


Gerrit wrote:
> # w
>  21:57:57  up 2 days, 36 min, 21 users,  load average: 0.10, 0.20, 0.19
> USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
> gerrit   tty1     -                Mon10pm  0.00s  0.44s  0.04s  login -- gerritgerrit   tty2     -                Mon10pm 27:42m  0.31s  0.31s  -bash
> gerrit   tty3     -                Mon10pm 37:42m  0.18s  0.18s  -bash
> # who
> gerrit   tty1         Apr  5 22:13
> gerrit   tty2         Apr  5 22:16
> gerrit   tty3         Apr  5 22:18
> gerrit   pts/1        Apr  5 21:23
> gerrit   pts/2        Apr  5 21:23
> gerrit   pts/3        Apr  5 21:23
> gerrit   pts/4        Apr  5 21:23
> gerrit   pts/5        Apr  5 21:23
> gerrit   pts/6        Apr  5 21:23
> gerrit   pts/7        Apr  5 22:15
> gerrit   pts/8        Apr  5 22:15
> gerrit   pts/9        Apr  5 22:15
> gerrit   pts/10       Apr  5 22:15
> gerrit   pts/11       Apr  5 22:15
> gerrit   pts/12       Apr  5 22:15
> gerrit   pts/19       Apr  6 12:43
> gerrit   pts/20       Apr  6 12:43
> gerrit   pts/21       Apr  6 12:43
> gerrit   pts/22       Apr  6 12:43
> gerrit   pts/23       Apr  6 12:43
> gerrit   pts/24       Apr  6 12:43
> # ls /dev/pts/
> #
> 
> What causes this discrepency, and how may it me solved?

It's not a discrepancy.  You probably have a bunch of xterms or
ssh/telnet sessions open.  Each one sucks up a /dev/pts and has a user
associated with it.  In fact, any network connection (internal or
external) that requires tty semantics sucks up a /dev/pts entry ("pts"
means "pseudo-terminal system", by the way).
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    Reality: A crutch for those who can't handle science fiction    -
----------------------------------------------------------------------





More information about the fedora-list mailing list