top
[root@riyimei ~]# top
top - 21:41:14 up 11:17, 1 user, load average: 0.00, 0.01, 0.05
Tasks: 152 total, 1 running, 151 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.1 us, 0.0 sy, 0.0 ni, 99.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 4026228 total, 3166264 free, 605144 used, 254820 buff/cache
KiB Swap: 8388604 total, 8388604 free, 0 used. 3192232 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1091 mysql 20 0 2881024 475432 18144 S 1.0 11.8 5:55.10 mysqld
1668 root 20 0 157320 5916 4564 S 0.3 0.1 0:00.04 sshd
1 root 20 0 43552 3864 2584 S 0.0 0.1 0:01.40 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.02 kthreadd
4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
6 root 20 0 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
topas
vmstat
[root@riyimei ~]# vmstat -a 2 10
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free inact active si so bi bo in cs us sy id wa st
1 0 0 3166996 184748 539336 0 0 1 1 47 90 0 0 100 0 0
0 0 0 3166872 184760 539388 0 0 0 0 193 367 0 0 100 0 0
0 0 0 3166872 184760 539388 0 0 0 1 195 368 0 0 100 0 0
0 0 0 3166872 184760 539388 0 0 0 0 183 355 0 0 100 0 0
0 0 0 3166872 184760 539388 0 0 0 1 185 359 0 0 100 0 0
0 0 0 3166872 184776 539388 0 0 0 0 182 347 0 0 100 0 0
0 0 0 3166872 184776 539392 0 0 0 0 188 359 0 0 100 0 0
0 0 0 3166872 184776 539392 0 0 0 0 183 354 0 0 100 0 0
0 0 0 3166872 184776 539392 0 0 0 0 186 360 0 0 100 0 0
0 0 0 3166872 184776 539392 0 0 0 0 191 362 0 0 100 0 0
[root@riyimei ~]#
iostat
free
lsps
swapinfo
mpstat
sar
nmon