1.一个简单粗暴的指令,显示进程信息,并显示内存,内核,等的占用情况--top:
top - 00:03:48 up 1:09, 2 users, load average: 1.15, 1.22, 1.23
Tasks: 256 total, 1 running, 255 sleeping, 0 stopped, 0 zombie
%Cpu(s): 3.5 us, 1.一个简单粗暴的指令,显示进程信息,并显示内存,内核,等的占用情况--top: 0.9 sy, 0.0 ni, 95.5 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 7849568 total, 3278076 used, 4571492 free, 255256 buffers
KiB Swap: 8000508 total, 53556 used, 7946952 free. 1212288 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4610 warrior 20 0 1025836 33300 22848 S 6.3 0.4 0:12.27 gnome-scre+
4975 warrior 20 0 29200 3304 2784 R 6.3 0.0 0:00.01 top
1 root 20 0 33908 4324 2620 S 0.0 0.1 0:01.05 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0