top
是一个命令行程序, 用于实时监视系统的运行情况, top
命令展示的信息比较丰富, 我们分类介绍下, 先来看看top命令展示的信息
root@server:~# top [2/1909]
top - 18:41:48 up 1 day, 2:21, 3 users, load average: 0.12, 0.08, 0.09
Tasks: 157 total, 1 running, 156 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.1 us, 0.2 sy, 0.0 ni, 98.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 4045996 total, 1009596 free, 1579968 used, 1456432 buff/cache
KiB Swap: 998396 total, 998396 free, 0 used. 2164548 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1627 rabbitmq 20 0 2205672 57648 5204 S 3.3 1.4 67:14.58 beam.smp
23655 root 20 0 0 0 0 S 0.3 0.0 0:04.69 kworker/0:1
1 root 20 0 38068 6032 3948 S 0.0 0.1 0:02.93 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.43 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0.0 0.0 2:11.68 rcu_sched
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
9 root rt 0 0 0 0 S 0.0 0.0 0:00.24 migration/0
10 root rt 0 0 0 0 S 0.0 0.0 0:01.31 watchdog/0
11 root rt 0 0 0 0 S 0.0 0.0 0:01.26 watchdog/1
12 root rt 0 0 0 0 S 0.0 0.0 0:00.24 migration/1
13 root 20 0 0 0 0 S 0.0 0.0 0:02.09 ksoftirqd/1
15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H
......
- 阅读剩余部分 -