LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-10-2007, 04:26 PM   #1
thoron!
LQ Newbie
 
Registered: Jul 2007
Location: ohio
Distribution: Slackware, FreeBSD
Posts: 26

Rep: Reputation: 15
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.

Last edited by thoron!; 07-10-2007 at 04:51 PM.
 
Old 07-11-2007, 03:15 PM   #2
thoron!
LQ Newbie
 
Registered: Jul 2007
Location: ohio
Distribution: Slackware, FreeBSD
Posts: 26

Original Poster
Rep: Reputation: 15
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
 
Old 07-11-2007, 04:43 PM   #3
alisonken1
LQ Newbie
 
Registered: Jun 2003
Location: Rancho Cucamonga, CA
Distribution: Slackware
Posts: 22

Rep: Reputation: 9
Quote:
Originally Posted by thoron!
{snip}
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)
{snip|
tty2 would be <alt><f2> CLI console
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?
 
Old 07-11-2007, 06:24 PM   #4
thoron!
LQ Newbie
 
Registered: Jul 2007
Location: ohio
Distribution: Slackware, FreeBSD
Posts: 26

Original Poster
Rep: Reputation: 15
slackware 12.0, and i only have 1 moniter

Last edited by thoron!; 07-11-2007 at 06:26 PM.
 
Old 02-19-2012, 01:21 PM   #5
Gew
LQ Newbie
 
Registered: Nov 2009
Location: Kingston, Jamaica.
Posts: 10

Rep: Reputation: 0
Red face 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.

Last edited by Gew; 02-19-2012 at 01:23 PM. Reason: Added actual URL to where I did my sum up
 
Old 02-19-2012, 01:38 PM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Usually pts/* are xterm/rxvt etc terminals
 
Old 02-20-2012, 06:19 PM   #7
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 68
X server is counted as a user, So if you are in X it will always show 1 extra user.
 
Old 02-21-2012, 02:58 PM   #8
Gew
LQ Newbie
 
Registered: Nov 2009
Location: Kingston, Jamaica.
Posts: 10

Rep: Reputation: 0
Talking

This solved my issues:
Code:
sudo tee /var/run/utmp </dev/null
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cmd that shows which config files are for target exec? oasisbhrnw99 Linux - General 2 09-05-2005 10:58 PM
uptime shows 3 users on system when there is only me. Is this normal? MichaelD Linux - Security 3 05-21-2005 11:05 PM
Uptime - why 4 users thegreatgatsby Linux - Software 13 10-16-2003 08:45 AM
uptime/users Cichlid Linux - General 3 09-17-2003 11:07 PM
uptime - 0 users? Sky Slackware 6 06-26-2002 12:03 AM


All times are GMT -5. The time now is 08:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration