Check process case
来源:互联网 发布:帝霸传奇手游源码 编辑:程序博客网 时间:2024/06/05 17:08
1:Check ports
#!/bin/bash
set - e
set - x
if (netstat -nltp |grep 1935) == 0
then echo "SRS Oringin start failed" >> /tmp/failed_start_service.log
else echo "SRS Oringin start"
2:Check process name
#/bin/bash
if ps aux |grep admin/|grep conf >/dev/null
then
echo -e "\033[33m admin started \033[0m"
else
echo -e "\033[41m Service admin start failed \033[0m"
fi
0 0
- Check process case
- process check
- check hidden process
- check hidden process(ring0 PspCidTable)
- Check for a case sensitive file system
- linux check process and port relation
- check all threads in a process
- how to check which process occupied the port
- Check that you do not already have another mysqld process
- check
- CHECK
- SVN在windows上使用check-case-insensitive.py遇到的问题(Python2.5,svn1.5.4)
- If IBM Rational Purify can check interactive process's memory leak ?
- how to check port number and kill process with the port number
- InnoDB: Check that you do not already have another mysqld process 错误解决办法
- how to check raw socket belong to which process on linux.
- MySQL中 InnoDB: Check that you do not already have another mysqld process 错误解决办法
- case
- RxJava的使用
- rdt2.1与rdt2.2
- mysql基本语句
- EXCEL中合并同列中连续相同内容的单元格
- LeetCode 390. Elimination Game
- Check process case
- CUDA+VS2013+Windows7环境配置
- 论文中图片格式的微调使得满页
- 微信小程序源码汇总
- HTML+CSS:圆形和圆角图片格式
- task_struct结构注释
- (四)CentOS 7安装Nginx(编译安装)
- (不推荐使用)springMVC基本配置+继承MultiActionController来实现根据参数名指定要请求的方法
- WebView·开车指南