[root@www ~]# uptime
07:40:22 up 1:34, 3 users, load average: 0.00, 0.91, 7.46
[root@www ~]#top
top - 07:41:11 up 1:34, 3 users, load average: 0.00, 0.77, 7.07
Tasks: 171 total, 1 running, 169 sleeping, 1 stopped, 0 zombie
Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1012348k total, 631916k used, 380432k free, 32824k buffers
Swap: 2031608k total, 0k used, 2031608k free, 291376k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1351 root 20 0 184m 4440 3576 S 0.3 0.4 0:04.75 vmtoolsd
2401 root 20 0 227m 2056 1700 S 0.3 0.2 0:00.22 gvfs-afc-volume
1 root 20 0 19360 1540 1228 S 0.0 0.2 0:01.42 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
6 root RT 0 0 0 0 S 0.0 0.0 0:00.01 watchdog/0
7 root 20 0 0 0 0 S 0.0 0.0 0:02.26 events/0
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cgroup
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm
13 root 20 0 0 0 0 S 0.0 0.0 0:00.02 sync_supers
14 root 20 0 0 0 0 S 0.0 0.0 0:00.02 bdi-default
15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0
16 root 20 0 0 0 0 S 0.0 0.0 0:00.60 kblockd/0
17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpid
[root@www ~]# vmstat 1 10
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
1 0 0 333600 36240 316428 0 0 58 5 328 921 3 4 91 2 0
0 0 0 333584 36240 316440 0 0 0 0 44 77 0 0 100 0 0
0 0 0 333584 36240 316440 0 0 0 0 38 60 0 0 100 0 0
0 0 0 333584 36240 316440 0 0 0 36 43 58 0 0 100 0 0
0 0 0 333584 36240 316440 0 0 0 0 34 54 0 0 100 0 0
0 0 0 333584 36240 316440 0 0 0 0 40 60 0 0 100 0 0
0 0 0 333584 36240 316440 0 0 0 0 38 60 0 0 100 0 0
0 0 0 333584 36240 316440 0 0 0 0 40 57 0 0 100 0 0
0 0 0 333584 36240 316440 0 0 0 0 41 68 0 1 99 0 0
0 0 0 333584 36240 316440 0 0 0 0 28 48 0 0 100 0 0
You have new mail in /var/spool/mail/root
================================
查看cpu--/proc/cpuinfo
查看mem--/proc/meminfo
查看disk--df -h/fdisk
查看network--ifconfig
服务器:发送命令-----客户机:接受命令并执行返回