linux监控
被监控系统安装
#yum install sysstat
sysstat的是http://lxsym.blog.51cto.com/1364623/321440
启动sysstat
/etc/init.d/sysstat start
添加非root账号
adduser xxx
passwd xxx //添加新密码
被监控系统安装
#yum install sysstat
sysstat的是http://lxsym.blog.51cto.com/1364623/321440
启动sysstat
/etc/init.d/sysstat start
添加非root账号
adduser xxx
passwd xxx //添加新密码
sysstat工具包提供的主要命令:iostat mpstat sar
sar的最后两个参数一般是interval count
1、sar -u 1 5
没有评论:
发表评论