[root@aminglinux-02 ~]# iostat -x
Linux 3.10.0-514.el7.x86_64 (aminglinux-02) 2017年07月23日 _x86_64_ (1 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
1.75 0.00 2.49 4.83 0.00 90.93
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 0.00 0.07 11.48 1.98 355.95 17.50 55.48 0.22 16.20 18.62 2.21 6.38 8.59
sdb 0.00 0.00 0.88 0.00 5.56 0.00 12.64 0.00 3.23 3.23 0.00 2.30 0.20
dm-0 0.00 0.00 0.18 0.00 1.37 0.00 15.20 0.00 13.22 13.22 0.00 9.70 0.17
Total DISK READ : 0.00 B/s | Total DISK WRITE : 0.00 B/s
Actual DISK READ: 0.00 B/s | Actual DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
1 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % systemd --switched-root --system --deserialize 21
2 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kthreadd]
3 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/0]
4 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/0:0]
6 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/u128:0]
7 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/0]
8 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [rcu_bh]
9 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [rcu_sched]
10 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [watchdog/0]
523 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % systemd-logind
12 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [khelper]
13 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kdevtmpfs]
14 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [netns]
15 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [khungtaskd]
16 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [writeback]
17 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kintegrityd]
18 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [bioset]
[root@aminglinux-02 ~]# free -h
total used free shared buff/cache available
Mem: 984M 114M 614M 6.7M 256M 698M
Swap: 2.0G 0B 2.0G
[root@aminglinux-02 ~]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.2 41128 2512 ? Ss Apr19 0:10 /usr/lib/systemd/systemd --switched-root --
root 2 0.0 0.0 0 0 ? S Apr19 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S Apr19 0:03 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< Apr19 0:00 [kworker/0:0H]
[root@aminglinux-02 ~]# netstat -an |awk ‘/^tcp/{++sta[$NF]} END {for(key in sta)print key,"\t",sta[key]}‘
LISTEN 4
ESTABLISHED 1
原文地址:http://blog.51cto.com/akui2521/2113759