文章分类 -  linux

摘要:使用yum,如何安装iostatsysstat 使用yum安装#yum install sysstatsysstat的安装包是:sysstat-5.0.5-1.i386.rpm,装完了sysstat-5.0.5-1.i386.rpm后 就会有iostat、mpstat、sar、sa的功能,sysstat-5.0.5-1.i386.rpm启动sysstat/etc/init.d/sysstat start设置sysstat自启动#checkfig sysstat onMPSTATMPSTAT -P ALL 2 3mpstat 是Multiprocessor Statistics的缩写,是实时系统 阅读全文
posted @ 2012-11-14 15:57 出发一路向北 阅读(1711) 评论(0) 推荐(0)
摘要:系统IO查看liunx# iostat -x 1 10Linux 2.6.18-92.el5xen 02/03/2009avg-cpu: %user %nice %system %iowait %steal %idle 1.10 0.00 4.82 39.54 0.07 54.46Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %utilsda 0.00 3.50 0.40 2.50 5.60 48.00 18.48 0.00 0.97 0.97 0.28sdb 0.00 0.00 0.00 0 阅读全文
posted @ 2012-11-14 15:40 出发一路向北 阅读(393) 评论(0) 推荐(0)
摘要:Linux_free(buffer与cache区别)一、free命令[root@xen_202_12 /]# free -m total used free shared buffers cachedMem: 3072 2459 612 0 207 1803-/+ buffers/cache: 447 2624Swap: 1913 0 1913第2行:total 内存总数: 3072used 已经使用的内存数: 2459free 空闲的内存数: 612shared 当前已经废弃不用,总是0buffers: Buffer Cache内存数: 13220cached: Page Cache内存数: 阅读全文
posted @ 2012-11-09 12:30 出发一路向北 阅读(920) 评论(0) 推荐(0)