LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-13-2004, 02:46 AM   #1
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547

Rep: Reputation: 30
Exclamation Multiple users....and they're all me!?


I just checked my system uptime.

Code:
tyler@localhost:~$ uptime
 03:40:04 up 6 days, 16:22,  6 users,  load average: 1.25, 1.13, 0.99
Then I was like "SIX users?" I'm the only one supposed to be using this system! So then I checked who those users were.

Code:
tyler@localhost:~$ users
tyler tyler tyler tyler tyler tyler
(-_-")

Uhhh, what's going on here, any ideas? I have no clue how I could have managed to spawn multiple instances of myself. Could this be the reason why I posted this thread the other day?

Help, Linux has slowed to a crawl!

(I still haven't found time to thoroughly tackle that problem yet.)


Thanks for any advice you can give.
 
Old 12-13-2004, 03:15 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
hmm...well, I see that sometimes too. I haven't got into this, but I think when I login to a console, then some time after it need X and if I use a graphical login manager (I've tried, don't use right now since it's no use) I do a second login. it might be that that shows two instances of me at the same time. right now I only have one, since I've only logged in once. but six logins? hmm...I really can't come up with any other idea than either you have logged in yourself six times, or some apps you run cause this. no idea which ones

the commands "who" and "w" show some info about the logins..so if you see yourself running a "rm -rf /* " then you might have a problem...heh, just kidding try to find out if "you" are running some processes, so you might get a clue where those "clones" pop up from.
 
Old 12-13-2004, 07:17 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Each time you open up a terminal or login to a console, it will increase to another user in the list, even if it is yourself.

So how many terminals did you have open when you did that uptime? And use who instead of users, gives you more info.

And also take in account, X is counted as a session as well..
 
Old 12-13-2004, 09:54 AM   #4
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547

Original Poster
Rep: Reputation: 30
I had two terminals open at that time. I just closed one of them and here's what I see now.

Code:
tyler@localhost:~$ uptime
 10:53:01 up 6 days, 23:34,  5 users,  load average: 0.29, 0.29, 0.36
tyler@localhost:~$ who
tyler    :0           Dec  6 11:19
tyler    pts/2        Dec  6 13:37 (:0.0)
tyler    pts/3        Dec  7 03:33 (:0.0)
tyler    pts/5        Dec  7 08:19 (:0.0)
tyler    pts/20       Dec 11 23:56 (:0.0)
 
Old 12-14-2004, 07:20 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Code:
tyler@localhost:~$ uptime
 10:53:01 up 6 days, 23:34,  5 users,  load average: 0.29, 0.29, 0.36
tyler@localhost:~$ who
tyler    :0           Dec  6 11:19
tyler    pts/2        Dec  6 13:37 (:0.0)
tyler    pts/3        Dec  7 03:33 (:0.0)
tyler    pts/5        Dec  7 08:19 (:0.0)
tyler    pts/20       Dec 11 23:56 (:0.0)
Okay so you have one terminal open, X running and well so that is the :0 and also will use a pts from the console, etc.. you have two left unaccounted for. What other programs do you have running, have you switched consoles at all and logged in thru them? Are you logged in remotely to this machine from anywhere?
 
Old 12-14-2004, 09:08 PM   #6
H2O-linux
Member
 
Registered: Sep 2004
Location: Second ring of youranus
Distribution: debian testing
Posts: 153

Rep: Reputation: 30
Dont just close the terminal window...type exit first
 
Old 12-14-2004, 11:54 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by H2O-linux
Dont just close the terminal window...type exit first
Good call as well...
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Users TheFather Linux - Newbie 3 11-21-2004 07:02 AM
Multiple users with the same name...users command buldir Linux - General 2 08-30-2004 04:34 PM
multiple users windowsrefugeeX Linux - Software 2 08-21-2004 08:49 PM
[FC2]Why does the users command display multiple users? Harkov Fedora 1 07-10-2004 09:24 PM
Multiple Users Daniel Linux - Newbie 12 07-26-2002 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration