[GLLUG] Run 'who' on a Redhat system please?

damion.yates at gmail.com damion.yates at gmail.com
Thu Jun 27 09:21:43 UTC 2013


On Tue, 25 Jun 2013, Richard W.M. Jones wrote:

> On Tue, Jun 25, 2013 at 11:54:40PM +0100, Richard W.M. Jones wrote:
> > On Mon, Jun 24, 2013 at 01:28:43PM +0000, Hearns, John wrote:
> > > which has a user logged in to an X-session?
> 
> So I didn't read your email too closely, but it seems as if
> the X session has a pty field of ":0", as in:
> 
> > $ who
> > rjones   :0           2013-06-19 17:50 (:0)
> [...]

Notice this from Ubuntu derivitive where I'm in X but
__also running screen__

damion at pants:~$ 
damion   tty7         2013-05-13 14:03
damion   pts/6        2013-05-13 14:03 (:0)
damion   pts/4        2013-05-13 14:03 (:0)
damion   pts/12       2013-05-13 14:04 (:0:S.0)
damion   pts/13       2013-05-13 14:05 (:0:S.1)
damion   pts/14       2013-05-13 14:05 (:0:S.2)
damion   pts/15       2013-05-13 14:05 (:0:S.3)
damion   pts/17       2013-05-13 14:05 (:0:S.4)
damion   pts/19       2013-05-13 14:07 (:0:S.5)
damion   pts/20       2013-05-13 14:07 (:0:S.6)
damion   pts/21       2013-06-26 13:08 (:0:S.7)
damion   pts/22       2013-06-27 10:18 (:0:S.8)
damion   pts/24       2013-05-13 14:07 (:0:S.9)
damion   pts/29       2013-05-13 14:17 (:0:S.13)
damion   pts/30       2013-05-13 14:44 (172.xx.yyy.zz)
damion   pts/35       2013-06-17 11:11 (:0)
damion at pants:~$ 

(xx.yyy.zz just IPs in an rfc1918 range)

HTH

-- 
Damion Yates




More information about the GLLUG mailing list