1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| $ top -bn1 top - 19:31:32 up 1 day, 15:30, 1 user, load average: 0.19, 0.05, 0.01 [IO: 0.00, 0.00, 0.00 CPU: 0.19, 0.05, 0.01] Tasks: 372 total, 1 running, 371 sleeping, 0 stopped, 0 zombie %Cpu(s): 22.2 us, 36.1 sy, 0.0 ni, 41.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st GiB Mem : 5.651 total, 0.201 free, 0.660 used, 4.789 buff/cache GiB Swap: 5.391 total, 5.391 free, 0.000 used. 4.586 avail Mem
PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND 16145 root 20 0 467.5m 82.6m 94.12 1.427 77:03.73 S /var/packages/DownloadStation/target/sbin/transmissiond + ... ...
$ top -bn1 | awk '/Cpu\(s\)/' %Cpu(s): 5.4 us, 8.1 sy, 0.0 ni, 86.5 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
|