Results 1 to 7 of 7
-
12-12-2004, 06:38 AM #1Web Hosting Evangelist
- Join Date
- Jul 2004
- Posts
- 520
Number of users on Top 'command' is acting weird
Hello,
I recently just logged on to my server through ssh, ran the 'Top' command, and I saw 27 Users. This is weird while I am the only user. I checked on the systemlog, and it looks fine, nothing unusual.
Then I opened a second terminal window, ran the top command again, the number of users increased to 28. But When I closed that second terminal window, the number of users isn't decreased, still at 28. Then I opened many windows and closed them yet the number of users is not decreasing ever.
The last time I logged on, the users is normal. Only 1, and incresing when a new terminal opened, decreasing when the terminal closed.
Anyone have an Idea of what this is? I hope this is not something crucial.
Thanks.
-
12-12-2004, 08:21 AM #2Retired Moderator
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 4,721
Did you run "who" see who's logged in? if they were your own sessions or not.
Hyperconfused (™)
-
12-12-2004, 10:38 AM #3
Those users include system users too like mail, xfs , root users and so..heere is what I see in my desktop
top - 06:37:50 up 7 days, 20:38, 13 users, load average: 0.14, 0.11, 0.09
Tasks: 75 total, 4 running, 71 sleeping, 0 stopped, 0 zombie
Cpu(s): 5.9% us, 1.3% sy, 0.0% ni, 92.5% id, 0.3% wa, 0.0% hi, 0.0% si
Mem: 484652k total, 479456k used, 5196k free, 19576k buffers
Swap: 1004020k total, 122832k used, 881188k free, 240420k cached
-
12-12-2004, 02:09 PM #4Web Hosting Master
- Join Date
- Mar 2004
- Location
- England
- Posts
- 819
Just hit "w" and see who's about.
AndrewNetHosted - UK based hosting solutions.
-
12-12-2004, 06:26 PM #5Web Hosting Evangelist
- Join Date
- Jul 2004
- Posts
- 520
Hitting 'w' won't do anything...
Anyway I went to webmin > system > processes > display: users
and there are only 10 users, 1 root and 9 system users, yet the top command displaying 35 users.
Isn't that odd...
-
12-12-2004, 10:53 PM #6Web Hosting Master
- Join Date
- Mar 2004
- Location
- England
- Posts
- 819
Running the command "w" will show you who is logged and what they're doing - that's got to count for something!
AndrewNetHosted - UK based hosting solutions.
-
12-13-2004, 12:35 AM #7Web Hosting Evangelist
- Join Date
- Jul 2004
- Posts
- 520
I ran the 'w' command and it only display one user (root), which is me.