top

wezhira

Well-Known Member
Joined
Jun 15, 2008
Messages
467
Reaction score
5
i been running top but i cant for the life of me figure it out

top - 21:53:26 up 31 min, 3 users, load average: 2.74, 1.72, 1.12
Tasks: 145 total, 2 running, 143 sleeping, 0 stopped, 0 zombie
Cpu(s): 31.2%us, 1.7%sy, 1.3%ni, 64.8%id, 0.7%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 1033876k total, 1018484k used, 15392k free, 74772k buffers
Swap: 2980016k total, 364k used, 2979652k free, 427196k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9723 root 20 0 211m 170m 62m S 20.6 16.9 4:02.62 Xgl
9989 scrarfus 20 0 181m 55m 22m S 5.3 5.5 0:31.27 dragon
10354 scrarfus 20 0 258m 131m 17m S 2.7 13.0 0:33.69 opera
10413 scrarfus 39 19 94416 14m 9352 S 2.7 1.4 0:09.12 operapluginwrap
9905 scrarfus 20 0 34864 25m 6956 S 0.7 2.5 0:09.80 compiz
1 root 20 0 772 320 276 S 0.0 0.0 0:00.76 init
2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd

i took this when i was using xfce now the part where it says users in kde 3.5 i get up too 5 users since its only me whose usin this system ( where does the 5 users come from then there is the cpu all those separate percentages how does one tell where the problem is the rest i can make out any help would be appreciated by the way its opensuse 11
 
Hi

To find out who is logged in, use the 'who' command. It is possible that you were logged in more than once. E.g., each time you open a new tab in your terminal, you create a new login.

This is from 'man top':
The summary area fields describing CPU statistics are abbreviated. They provide information about times spent in:
us = user mode
sy = system mode
ni = low priority user mode (nice)
id = idle task
wa = I/O waiting
hi = servicing IRQs
si = servicing soft IRQs
st = steal (time given to other DomU instances)
Not very helpful, I know... but at least it's a start. :D
 
A program that calls a lib, function or process executed by you will show up with your username.

I think what you are revering to is something like this?
Code:
top - 21:53:26 up 31 min, 3 users, load average: 2.74, 1.72, 1.12
For each session you have open as a user it counts as an extra user, also there are some "users" in the background like:
avahi
haldaemon, etc.

Use htop rather, much more understandable.

What you need to look out for is zombie and runnaway (using 99% CPU ,etc.) processes, they are the ones that you need to catch and kill.
 
Top
Sign up to the MyBroadband newsletter
X