The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

top / uptime reported 2 users

Discussion in 'General Discussion' started by neonix, Jan 9, 2006.

  1. neonix

    neonix Well-Known Member

    Joined:
    Oct 21, 2004
    Messages:
    124
    Likes Received:
    2
    Trophy Points:
    0
    The top and uptime commands reported 2 users, while 'w' showed details of only one user (me) i.e pac. So who was the other user.

    This status was reported for nearly 5 minutes before top and uptime showed 1 user again.

    Couldn't find any trace of the 2nd user through netstat or history commands. Any suggestions???


    root@pac3 [~]# uptime

    00:09:30 up 63 days, 2:26, 2 users, load average: 0.37, 0.57, 0.45



    root@pac3 [~]# w

    00:09:36 up 63 days, 2:26, 2 users, load average: 0.31, 0.55, 0.44

    USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT

    pac pts/0 xxx.xxx.xxx.xxx 11:59pm 0.00s 0.09s 0.02s sshd: pac [priv]
     
  2. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    I've had this happen a couple times when my local client timed out a session and/or my local station went into sleep mode (disconnecting in either case) and then I quickly log back in with a new session. It seems to take my server a few minutes to realize that the initial connection was dropped and a new session started, resulting in it reporting 2 users. At least as far as I can tell, this is what's going on, and in fact both users seem to be me.
     
  3. neonix

    neonix Well-Known Member

    Joined:
    Oct 21, 2004
    Messages:
    124
    Likes Received:
    2
    Trophy Points:
    0
    It is quite possible that it was a session error as you have explained. This was the first time for me though... ;) Thanks Verdon!
     
  4. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Well, I hope I'm right... it freaked me out so much the first time that I re-booted my server ;)
     
Loading...

Share This Page