Amit
asked on
Issues with top
Hi experts,
I don't undertand why the top command shows different numbers. For example for user CPU. this is being shown for an 8 CPU (dual core machine)
So for the process it shows %CPU 27 and it also shows Cpu(s): 1.8% us, (please see below). Any ideas why two numbers and why such a huge difference.
Is the process running on one single CPU ????
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- --
-bash-3.00$ top -p 32423
top - 11:56:02 up 35 days, 21:07, 7 users, load average: 1.28, 1.23, 1.01
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.8% us, 1.5% sy, 0.0% ni, 96.6% id, 0.0% wa, 0.0% hi, 0.1% si
Mem: 65393576k total, 26331960k used, 39061616k free, 582372k buffers
Swap: 10241428k total, 0k used, 10241428k free, 14301132k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
32423 root 25 0 29.1g 9.9g 67m S 27 15.9 713:03.83 MSTRSvr
I don't undertand why the top command shows different numbers. For example for user CPU. this is being shown for an 8 CPU (dual core machine)
So for the process it shows %CPU 27 and it also shows Cpu(s): 1.8% us, (please see below). Any ideas why two numbers and why such a huge difference.
Is the process running on one single CPU ????
--------------------------
-bash-3.00$ top -p 32423
top - 11:56:02 up 35 days, 21:07, 7 users, load average: 1.28, 1.23, 1.01
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.8% us, 1.5% sy, 0.0% ni, 96.6% id, 0.0% wa, 0.0% hi, 0.1% si
Mem: 65393576k total, 26331960k used, 39061616k free, 582372k buffers
Swap: 10241428k total, 0k used, 10241428k free, 14301132k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
32423 root 25 0 29.1g 9.9g 67m S 27 15.9 713:03.83 MSTRSvr
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER