shell脚本创建和kill进程
来源:互联网 发布:百度贴吧查ip软件 编辑:程序博客网 时间:2024/06/05 14:55
1、创建进程:
#!/bin/bashwhile [ 1 ] do ./client 192.168.2.25 2016 done
2.杀死进程:
#!/bin/bashwhile [ 1 ] do PROCESS= `ps -ef |grep client|grep -V grep| prep -V PPID |awk `{ print $2 }` for i in $PROCESS do echo "kill the client process [ $i ]" kill -9 $i done done
0 0
- shell脚本创建和kill进程
- shell 脚本应用之 kill 应用进程
- Linux shell脚本实现kill进程
- shell 脚本实现kill oracle用户进程
- shell kill 进程树
- shell 脚本多进程创建 mysql 测试数据
- Aix 通过shell脚本kill杀指定进程,比如杀所有java进程
- linux kill tomcat shell 脚本
- Shell 查找进程 并kill
- shell应用:批量kill进程
- Shell判断进程并kill
- LINUX shell和进程创建
- shell脚本中根据端口号kill对应的应用进程
- [shell] kill 进程及子进程
- ubuntu下面kill掉卡巴斯基shell脚本
- 书写优雅的shell脚本(插曲) - kill
- shell 脚本kill oracle 数据库指定用户
- shell 脚本kill oracle 数据库指定用户
- IPC机制——AIDL——Binder“连接池”
- javascript之Dom编程艺术一
- RTSP服务器实例live555源代码分析
- pat-a1056. Mice and Rice (25)
- 枚举算法:不重复选取
- shell脚本创建和kill进程
- ZCMU-1163-分数划分
- Java代理模式
- Chapter 11 Instruction Set: Addressing Modes and Formats
- Longest Substring Without Repeating Characters-LeetCode
- LintCode 170-旋转链表
- 2016这一年
- springboot 使用hibernate进行双向关联json解析时死循环处理
- spring mvc 重定向后还能传递对象数据的方法