监控Storm进程 NimbusMonitor.sh
来源:互联网 发布:corelpainter mac 编辑:程序博客网 时间:2024/05/29 07:48
#!/bin/bash #author: chongyuanHuang#blog: http://blog.sina.com.cn/huangchongyuan #QQ group: 191321336#E-mail: 874450476@qq.com function Init() { date=`date +%Y%m%d%H%M%S` echo ''$date': Begin monitor nimbus.' > monitorNimbus.log} function MonitorNimbus() { for ((;;)); do num=`ps aux | grep nimbus | grep -v grep | wc -l` if [ $num -eq 0 ]; then date1=`date +%Y%m%d%H%M%S` echo ''$date1': nimbus is down, and restarting!' >> monitorNimbus.log storm nimbus& fi sleep 60 done } InitMonitorNimbusexit 1
0 0
- 监控Storm进程 NimbusMonitor.sh
- sh memcached 进程启动及监控
- 使用daemontools监控zookeeper,storm等进程
- 使用process_monitor.sh监控hadoop进程的crontab配置
- 使用process_monitor.sh监控hadoop进程的crontab配置
- 通用的进程监控脚本process_monitor.sh使用方法
- 系统监控sh
- storm集群的监控
- 使用monit监控storm
- storm系统监控脚本
- storm集群的监控
- sh 停止 进程
- sh脚本监控网站状态
- 进程监控
- 进程监控
- 进程监控
- 进程监控
- storm 进程消失
- Hadoop的ChainMapper/ChainReducer
- 抓取搜狗壁纸公园的图片(三)
- 3.15 晚会—「饿了么」之殇
- 自动寻路Navmesh之入门
- java的一个类!
- 监控Storm进程 NimbusMonitor.sh
- easyui validatebox 验证类型
- Linux命令:cp (copy)复制文件或目录
- 全国省市县三级地址联动js
- C++编程采用windows API实现GBK转UTF-8
- android 4.04的应用程序启动过程及与Zygote的交互(基于静态源码分析)
- java 中 Static final 和c++中的const
- Shiro(3)实现验证码认证
- mapreduce是什么