top -b -o +%CPU | head -n 17 ::
top - 06:55:03 up 15 days, 15:22, 2 users, load average: 0.68, 0.79, 0.63
Tasks: 201 total, 2 running, 156 sleeping, 0 stopped, 0 zombie
%Cpu(s): 16.4 us, 2.6 sy, 0.0 ni, 80.5 id, 0.3 wa, 0.0 hi, 0.2 si, 0.0 st
KiB Mem : 8167552 total, 4017648 free, 2954324 used, 1195580 buff/cache
KiB Swap: 2097148 total, 2097148 free, 0 used. 4799336 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25378 daemon 20 0 385732 59692 16740 R 77.8 0.7 0:05.89 /opt/lampp+
8 root 20 0 0 0 0 I 5.6 0.0 24:13.64 rcu_sched
714 root 20 0 969388 77472 51064 S 5.6 0.9 294:17.05 Xorg
1675 jashliao 20 0 1247436 302100 155132 S 5.6 3.7 2617:11 chrome
1742 jashliao 20 0 907864 134176 48236 S 5.6 1.6 1533:42 chrome
1984 jashliao 20 0 6723548 970520 225532 S 5.6 11.9 5820:58 chrome
25749 daemon 20 0 44076 4120 3524 R 5.6 0.1 0:00.03 top
1 root 20 0 225300 9072 6780 S 0.0 0.1 1:50.02 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:01.37 kthreadd
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:+
ps -eo pid,ppid,cmd,%cpu,%mem --sort=-%cpu | head ::
PID PPID CMD %CPU %MEM
1984 1691 /opt/google/chrome/chrome - 25.8 11.8
1675 978 /opt/google/chrome/chrome 11.6 3.6
1742 1685 /opt/google/chrome/chrome - 6.8 1.6
25692 1642 /opt/lampp/bin/httpd -k sta 6.0 0.6
25712 1642 /opt/lampp/bin/httpd -k sta 6.0 0.6
1499 1349 /opt/lampp/sbin/mysqld --ba 5.1 5.3
25578 1642 /opt/lampp/bin/httpd -k sta 5.1 0.6
25332 1642 /opt/lampp/bin/httpd -k sta 5.0 0.7
25109 1642 /opt/lampp/bin/httpd -k sta 4.8 0.7