查看虚拟机内存使用率
语法:top [-] [d delay] [q] [c] [S] [s] [i] [n] [b]
显示指定的进程信息
top -p 139
显示进程号为139的进程信息,CPU、...内存占用率等
[logdev@feed1 service]$ top
top - 18:11:18 up 800 days, 15:29, 4 users, load average: 10.49..., 10.17, 10.12
Tasks: 192 total, 3 running, 189 sleeping, 0 stopped, 0 zombie
Cpu(s): 99.3%us,...0.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.5%st
Mem: 8058904k total, 7860260k used,...COMMAND:进程启动命令名称
[logdev@feed1 ~]$ top -Hp 26999
top - 18:21:09 up 800 days, 15:39, 3 users, load average