1:如何用bash命令计算cpu的使用率 2:用 snmpwalk -c public -v 1 localhost .1.3.6.1.4.1.2021.11.50.0得到的如下信息 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 2003625 1:CpuRawUser 这个是什么意思 2:Counter32 这个是什么意思 3:用cat /proc/stat命令,输出的信息如下:要怎么看 cpu 2014011 283 2412971 167676239 367915 164243 0 cpu0 2014011 283 2412971 167676239 367915 164243 0 intr 1772217956 172645...
by heiheijian - Linux系统管理 - 2007-09-26 14:13:38 阅读(1700) 回复(2)
在从事网管运维的研发工作有很长一段时间了,从2001年的SNMP MIB编译器、MIB浏览器到后来的二层、三层网络拓扑图、综合网管,到最后的高效海量数据的监控系统。我们在这个过程中,接手过很多”面子工程”,也碰到过真正需要运维监控软件来进行工作的客户,但这样的客户太少,原因大多是资金紧张,软件公司不愿意接这样的项目。最近一年多一直在反思一些问题和经验教训,有公司的原因,但更多的问题是出在自己这边。 其中我...
本帖最后由 venux 于 2014-03-14 13:01 编辑 我用inotify监控linux目录,命令执行后一会就自动退出了,不知道是不是因为目录过大,大的目录我已经过滤掉了,在本机测试都没事。命令如下图
linux iostat监控脚本 环境: view plaincopy to clipboard[code]01.[oracle@simpleit shell]$ uname -a 02.linux simpleit.domain.cn 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 athlon i386 GNU/linux 03.[oracle@simpleit shell]$ cat /etc/redhat-release 04.CentOS release 5.5 (Final) [/code]使用iostat监控磁盘繁忙程度(使用率%util) view plaincopy to clipboard[code]01.[orac...
linux iostat监控脚本 环境: view plaincopy to clipboard[code]01.[oracle@simpleit shell]$ uname -a 02.linux simpleit.domain.cn 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 athlon i386 GNU/linux 03.[oracle@simpleit shell]$ cat /etc/redhat-release 04.CentOS release 5.5 (Final) [/code]使用iostat监控磁盘繁忙程度(使用率%util) view plaincopy to clipboard[code]01.[orac...
http://zhaoyong.blog.51cto.com/61971/82538 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/57993/showart_2159409.html
1. 在需要被监控的linux 主机上创建nagios用户 su -l /usr/sbin/useradd nagios passwd nagios 2. 下载安装nagios-plugins 链接: http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.13.tar.gz tar xzf nagios-plugins-1.4.13.tar.gz cd nagios-plugins-1.4.13 Compile and install the plugins. ./configure make make install 需要设置下相关权限: chown nagios.nagios /usr/local/nagios chown -R ...
[系统监控] linux系统监控问题 最近在测试一设备,内部是linux系统,有一个监控功能,要求监控系统的CPU , RAM , Swap,IO,Ethernet ,要求统计事前和事后的这几项的数据,问题是如何让这几个监控的对象在监控期间有比较大的变化? CPU的话,可以在监控期间多tar cjvf xxx.tar.bz2 xxx 几次,CPU就上去了, 但是如何让RAM,Swap,IO,Ethernet 有比较大的变化呢? 具体的监控对象如下: Average CPU-0 Usage Average CPU-1 Usage A...
监控linux平台,需要NRPE,可以在www.nagios.org下载 1.在nagios服务器端安装NRPE, tar xzf nrpe-2.8.1.tar.gz cd nrpe-2.8.1 ./configure make all make install-plugin 在command.cfg里定义check_nrpe命令 define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } 2.在nagios客户端安装NRPE, /usr/sbin/useradd nagios passwd nagio...
linux nagios 监控 参考 http://blog.csdn.net/mayabin/archive/2006/08/07/1033103.aspx http://blog.chinaunix.net/u/19540/showart_197158.html http://blog.chinaunix.net/u/10668/showart_254777.html http://download.chinaunix.net/download.php?id=9332&ResourceID=4709 imagepak-base下载 http://www.2007boys.cn/html/167jishuwenzhang/jishuwenzhang/20070605/1964_5.html 简单介绍nagios nagios是一款开源的监控软...