top命令是 Linux 下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况,类似于 Windows 的任务管理器。一、top 理论# toptop - 10:52:40 up3days,52min,1user, load average: 57.28, 112.40, 123.60
Tasks:99total,1running,98sleeping,0stopped,0zombie
Cpu(s): 19.5%us, 11.4%sy, 0.0%ni, 0.0%id, 65.7%wa, 0.0%hi, 3.4%si, 0.0%st
Mem: 16435896k total, 16232468k used, 203428k free, 58004k buffers
Swap: 1044476k total, 713552k used, 330924k free, 10052032k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
... ...统计信息区前五行是系统整体的统计信息。第一行是任务队列信息,同uptime命令的执行结果。其内容如下:内容解释10:52:40当前时间up 3 days, 52 min系统运行时间1 user
...
继续阅读
(29)