Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    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).

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Posts
    35
    What do you don't understand in that ?

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •