In fact, "top" only shows CPU usage as a percentage of a single CPU by default. Luckily, you can change this by pressing "1" to show break the CPU usage per CPU.
Easy to understand, easy to do.
top - 03:35:08 up 48 days, 22:30, 2 users, load average: 104.92, 91.69, 78.27Tasks: 379 total, 55 running, 324 sleeping, 0 stopped, 0 zombie%Cpu0 : 86.5 us, 11.9 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 1.6 si, 0.0 st%Cpu1 : 88.3 us, 10.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 1.6 si, 0.0 st%Cpu2 : 87.4 us, 10.6 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 1.9 si, 0.0 st%Cpu3 : 87.4 us, 11.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 1.3 si, 0.0 st%Cpu4 : 85.8 us, 12.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 1.9 si, 0.0 st%Cpu5 : 84.6 us, 13.5 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 1.9 si, 0.0 stGiB Mem : 15.5 total, 1.9 free, 6.0 used, 7.7 buff/cacheGiB Swap: 2.0 total, 0.8 free, 1.2 used. 8.3 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13433 mysql-1 20 0 7456476 2.4g 5784 S 25.3 15.2 32470:03 mysqld 10884 root 20 0 424344 395060 220364 S 0.0 2.4 0:09.09 scanner 1305 nails 20 0 427456 179340 2392 S 0.5 1.1 0:25.02 scanner 1580 nails 20 0 427416 179340 2392 S 0.5 1.1 0:23.75 scanner 3298 nails 20 0 426912 178576 2384 S 0.6 1.1 0:11.38 scanner 2563 nails 20 0 426912 178564 2388 S 0.6 1.1 0:15.79 scanner 4645 nails 20 0 425888 177600 2324 S 0.6 1.1 0:03.54 scanner 4647 nails 20 0 425888 177596 2328 S 0.5 1.1 0:03.55 scanner
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success
0 nhận xét:
Post a Comment