uptime cmd shows 5 users but thats wrong
when i do uptime it shows 5 users, but when i do who cmd it shows the 4 names that are logged in i know there arnt 5 users is there sum proccess or maybe xwindows is showing as another user? any help on this would be much appreciated.
nevermind, i figured out what it was. |
well i thought i had this fixed but i guess not heres the deal i am the only one logged into the system and i am running xwindows here is what uptime shows:
16:10:21 up 1 day, 19:33, 5 users, load average: 0.23, 0.13, 0.04 this is what who says: thoron tty2 2007-07-10 13:17 thoron pts/0 2007-07-10 13:17 (:0) thoron pts/1 2007-07-11 15:20 (:0.0) i am only logged into the system via f2 terminal so im guessing thats tty2. can anyone help me with this or exsplain why it shows 5 users and 3 people in in the output of the who command when i am the only one logged in. thnks for any help given, thoron |
Quote:
pts/0 (:0) would probably be XWindows server pts/1 (:0.0) would probably be XWindows on display 0 (or first monitor) What distribution/version of Linux are you running? |
slackware 12.0, and i only have 1 moniter
|
Similar issue.
Hi guys!
I'm bumping this one, considering my problem is the same. I've summarized it over here. Please help, any ideas would be appreciated. Is there some sort of daemon/service for the users-logged-on-count that I could reset without rebooting my machine? Perhaps doing some combinations of the initial 'init' command? What would then be the best suggestion? Cheers! EDIT: Darn. I just noticed this thread is under the Slackware sub-category. Hopefully an answer could be of generic outcome. |
Usually pts/* are xterm/rxvt etc terminals
|
X server is counted as a user, So if you are in X it will always show 1 extra user.
|
This solved my issues:
Code:
sudo tee /var/run/utmp </dev/null |
All times are GMT -5. The time now is 03:18 AM. |