- 浏览: 10420 次
最新评论
-
shaoping:
求份完整工程学习opleo@qq.com谢谢
服务器端发送推送数据
文章列表
shell小结(10)
- 博客分类:
- 技术杂绘
shell小结(10)
2011年07月01日
#!/bin/bash #set -x typeset logfile=kill.log typeset -i count=0 typeset user=`whoami` typeset -a PIDS function doKill { while : do p1=`ps -fu $user |grep 'httpPort=' | grep -v 'grep' | awk '{print $2}'` p2=`ps -fu $user |grep 'tee' | grep -v 'grep' | awk '{print $2}'` p3=`p ...