I would like to know the cpu uage and i tried to get through the 'top' commands.
But seems used CPU above it shows "19 %" while in the process list it shows for 100% for cpu. So please let me know how to get the exact value for CPU usage.
top - 05:14:39 up 34 days, 14:57, 1 user, load average: 0.20, 0.31, 0.30 Tasks: 231 total, 2 running, 184 sleeping, 1 stopped, 1 zombie %Cpu(s): 19.0 us, 2.3 sy, 0.0 ni, 78.4 id, 0.1 wa, 0.0 hi, 0.2 si, 0.0 st KiB Mem : 16123248 total, 3329216 free, 7078736 used, 5715296 buff/cache KiB Swap: 1048572 total, 743164 free, 305408 used. 9380980 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 27928 root 20 0 415656 10196 5212 R 100.0 0.1 0:00.17 runc:[2:INIT] 27933 karthik+ 20 0 33992 3496 2956 R 6.2 0.0 0:00.01 top
Thanks in Advance