top -b -o +%CPU | head -n 17 ::
top - 14:06:09 up 112 days, 20:25, 2 users, load average: 2.99, 1.58, 1.25
Tasks: 207 total, 2 running, 156 sleeping, 0 stopped, 1 zombie
%Cpu(s): 25.3 us, 2.6 sy, 0.0 ni, 71.5 id, 0.0 wa, 0.0 hi, 0.3 si, 0.2 st
KiB Mem : 8167548 total, 4528388 free, 2399860 used, 1239300 buff/cache
KiB Swap: 2097148 total, 1561972 free, 535176 used. 5172984 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29967 jashliao 20 0 7146892 1.119g 411864 R 100.0 14.4 5280:58 chrome
28243 jashliao 20 0 1261284 273240 132844 S 12.5 3.3 1723:24 chrome
5580 jashliao 20 0 3916092 42860 33056 S 6.2 0.5 3083:03 kwin_x11
28318 jashliao 20 0 873556 86640 46524 S 6.2 1.1 665:21.77 chrome
1 root 20 0 225352 5284 3628 S 0.0 0.1 7:30.96 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:07.71 kthreadd
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:+
6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_+
7 root 20 0 0 0 0 S 0.0 0.0 7:29.02 ksoftirqd/0
8 root 20 0 0 0 0 I 0.0 0.0 194:40.52 rcu_sched
ps -eo pid,ppid,cmd,%cpu,%mem --sort=-%cpu | head ::
PID PPID CMD %CPU %MEM
29967 28259 /opt/google/chrome/chrome - 64.1 14.3
28243 5587 /opt/google/chrome/chrome 10.4 3.3
6123 5966 /opt/lampp/sbin/mysqld --ba 6.7 3.1
28318 28253 /opt/google/chrome/chrome - 4.0 1.0
22317 6219 /opt/lampp/bin/httpd -k sta 3.3 0.6
11129 5557 /usr/lib/x86_64-linux-gnu/l 2.9 1.8
28280 28243 /opt/google/chrome/chrome - 2.8 2.4
5580 5557 kwin_x11 -session 102a227d2 1.9 0.5
22378 28259 /opt/google/chrome/chrome - 1.8 0.9