Results 1 to 4 of 4
I have taken putty session of a server from two separate machines namely HOST1(3 sessions) and HOST2(1 Session) .
However w command says there are 5 users
Confused over the ...
- 08-11-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 17
Not able to understand the output of w command
I have taken putty session of a server from two separate machines namely HOST1(3 sessions) and HOST2(1 Session) .
However w command says there are 5 users
Confused over the output any clue will be appreciated.
Code:# w 09:29:36 up 34 days, 15:48, 5 users, load average: 0.62, 4.33, 8.16 USER TTY FROM LOGIN IDLE JCPU PCPU WHAT root pts/17 HOST1 09:18 4:26 0.01s 0.01s -bash root pts/18 HOST1 09:27 1:21 0.00s 0.00s -bash root pts/21 HOST2 09:29 0.00s 0.00s 0.00s w root pts/20 HOST1 09:29 1:39 0.00s 0.00s -bash
- 08-12-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,838
What does finger tell you? It may be an init bug (see this thread for an explanation and this thread about init). I have a similar issue one of my boxes (Fedora 10).
- 08-18-2011 #3Just Joined!
- Join Date
- Aug 2011
- Posts
- 35
What do you don't understand in that ?
- 08-18-2011 #4Linux Guru
- Join Date
- May 2011
- Posts
- 1,838
The way I don't understand the output is that the top line says 5 users, but then in table displayed beneath it, only 4 users are shown as logged in.


Reply With Quote