I/0
查看Linux服务器的平均负载
[root@host /]# uptime 12:39:12 up 2:50, 3 users, load average: 0.00, 0.03, 0.00

[root@host /]# w 12:39:59 up 2:50, 3 users, load average: 0.00, 0.03, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root tty1 - 09:53 32:17 0.36s 0.36s -bash root pts/0 192.168.1.102 10:23 1:54m 0.03s 0.03s -bash root pts/1 192.168.1.105 12:16 0.00s 0.09s 0.02s w
监控Linux服务器的整体性能

整体性能
[root@host /]# vmstat 1 4 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 50464 50096 101356 0 0 21 13 925 183 0 0 99 1 0 0 0 0 50464 50096 101380 0 0 0 0 830 18 0 0 100 0 0 0 0 0 50464 50096 101380 0 0 0 0 833 27 0 0 100 0 0 0 0 0 50464 50104 101372 0 0 0 32 822 27 0 0 99 1 0
#proces r:等待运行的进程数 b:非中断睡眠状态的进程数 w:被交换出去的可运行进程数
#memory swpd:虚拟内存使用情况 fres:空闲的内存 buff:用作缓存的内存数(单位:KB)
#swap si:从磁盘交换到内存的交换页数量 so:从内存交换到磁盘的交换页数量(单位:kb/秒)
#io bi:发送到块设备的块数 bo:从块设备接收到的块数(单位:块/秒)
#system in:每秒的中断数,包括时钟中断 cs:每秒的环境(上下文)切换数
#cpu us:CPU使用时间 sy:CPU系统使用时间 id:闲置时间(单位:百分比)
标准情况下:r小于5,b约为0
如果user + sys 小于70 表示系统性能较好;如果大于等于85以上,表示性能比较糟糕
查看Linux服务器的其他参数
查看系统内核的版本号
[root@host /]# uname -a Linux host.domain.com 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux [root@host /]# uname -r 2.6.18-194.el5
查看系统32位还是64位
[root@host /]# ls -1F / |grep /$
查找是否有/lib64,有则系统为64位
另一种查看系统32位还是64位








