2012年2月15日
摘要: top命令中load average显示的是最近1分钟、5分钟和15分钟的系统平均负载。系统平均负载表示 系统平均负载被定义为在特定时间间隔内运行队列中(在CPU上运行或者等待运行多少进程)的平均进程树。如果一个进程满足以下条件则其就会位于运行队列中: - 它没有在等待I/O操作的结果 - 它没有主动进入等待状态(也就是没有调用’wait’) - 没有被停止(例如:等待终止) Update:在Linux中,进程分为三种状态,一种是阻塞的进程blocked process,一种是可运行的进程runnable process,另外就是正在运行的进程running process。当进... 阅读全文
posted @ 2012-02-15 14:39 weaver_chen 阅读(770) 评论(0) 推荐(0) 编辑
摘要: Cacti-spine是一个替换Cacti默认Poller Type如cmd.php1、下载Cacti-spine最新版本,(要同使用的cacti版本相匹配)下载地址:http://www.cacti.net/downloads/spine/2、安装(注意需要安装net-snmp-devel的包,因为需要net-snmp的.h文件)[cacti@test-22 cacti-spine-0.8.7e]$ ./configure --prefix=/home/cacti/apps/spine[cacti@test-22 cacti-spine-0.8.7e]$ make -j 10[cacti@t 阅读全文
posted @ 2012-02-15 11:24 weaver_chen 阅读(655) 评论(0) 推荐(0) 编辑
摘要: cacti-0.8.7d安装 database & user准备 # mysql -u root -p Welcome to the MySQL monitor. Commands end with; or \g. Your MySQL connection id is 12142 to server version: 3.23.58 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> create database cacti; Query OK 阅读全文
posted @ 2012-02-15 10:49 weaver_chen 阅读(518) 评论(0) 推荐(0) 编辑