LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Multiple users....and they're all me!? (https://www.linuxquestions.org/questions/linux-general-1/multiple-users-and-theyre-all-me-265805/)

R00ts 12-13-2004 02:46 AM

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. :study:

b0uncer 12-13-2004 03:15 AM

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.

trickykid 12-13-2004 07:17 AM

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.. ;)

R00ts 12-13-2004 09:54 AM

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)

:scratch:

trickykid 12-14-2004 07:20 AM

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?

H2O-linux 12-14-2004 09:08 PM

Dont just close the terminal window...type exit first:)

trickykid 12-14-2004 11:54 PM

Quote:

Originally posted by H2O-linux
Dont just close the terminal window...type exit first:)
Good call as well... ;)


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