本文详细介绍如何检测和重启Apache和Lighttpd
Monit是一款功能非常丰富的进程、文件、目录和设备的监测软件,用于Unix平台。它可以自动修复那些已经停止运作的程序,特使适合处理那些由于多种原因导致的软件错误。
When you cannot monitor your server for service availability, it is better to take help of automated monitor and restart utility. Last 4 days I was away from my server as I was enjoying my vacation. During this time due to load my lighttpd webserver died but it was restarted automatically within 2 minutes. I had utility configured for monitoring services on a Linux system called monit. It offers all features you ever needed for system monitoring and perform error recovery for UNIX like system.
Before monit I had my own shell and perl script for monitoring service. If service failed script will try to restart service and send an automated email to me. However monit is a superior solution.
monit is a utility for managing and monitoring processes, files, directories and devices on a Unix system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. For example, monit can start a process if it does not run, restart a process if it does not respond and stop a process if it uses to much resources. You may use monit to monitor files, directories and devices for changes, such as timestamps changes, checksum changes or size changes.
You may also use monit to monitor files, directories and devices on localhost. Monit can monitor these items for changes, such as timestamps changes, checksum changes or size changes. This is also useful for security reasons you can monitor the md5 checksum of files that should not change.
来源:cyberciti.biz 责编:豆豆技术应用
- Photoshop照片合成教程:丛林中的光线
- Photoshop教程之调色打造天使美女
- PS很简单就可以为照片添加抽丝效果
- Photoshop制作震撼人心的烈火勇士画面
- Photoshop鼠绘清爽玉兰油柔肤水
- Photoshop调色教程:古典韵味的MM照片
- Photoshop教程:介绍汽车的鼠绘方法
- Photoshop调色教程:青色调MM照片
- Photoshop鼠绘:游戏中打BOSS的场景
- Photoshop打造金色咖啡特效壁纸
- SSL证书请求文件(CSR)生成指南 - Zeus
- F5和Zeus负载均衡各具特色
- Zeus实现XML-JAVA的数据绑定
- FreeBSD 6.x下安装Zeus Web Server
- Zeus另一种可供选择的Web服务器
- 在Zeus Web Server中安装PHP语言支持
- Zeus 4.3 For Freebsd安装指南
- CentOS下Zeus 4.3r3的安装及基本配置
- 在Exchange 2007中使用多主机名称证书
- Exchange 2003 OWA加密设置