文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>输入终端号杀进程的shell

输入终端号杀进程的shell

时间:2008-04-18  来源:sdccf

作者:sdccf  出处:Unix爱好者家园unix-cd.com   
echo -n "输入终端号:" 
read zdh 
ps -t $zdh|awk ’{print "kill -9 " $1}’>kill_pid 
TMP=/tmp/tmpfile_$$ 
sed -e ’s/kill -9 PID/ /g’ < kill_pid > $TMP 
mv $TMP kill_pid 
sort -d -r kill_pid>killpid
sh killpid
<IFRAME name=google_ads_frame marginWidth=0 marginHeight=0 src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-3707276699544226&amp;dt=1208527532796&amp;lmt=1208527532&amp;prev_slotnames=6441826526&amp;output=html&amp;slotname=4047345889&amp;correlator=1208527530593&amp;url=http%3A%2F%2Funix-cd.com%2Funixcd12%2Farticle_431.html&amp;frm=0&amp;cc=150&amp;ga_vid=1272800452.1205929365&amp;ga_sid=1208525577&amp;ga_hid=602584928&amp;ga_fc=true&amp;flash=9.0.115.0&amp;u_h=768&amp;u_w=1024&amp;u_ah=738&amp;u_aw=1024&amp;u_cd=32&amp;u_tz=480&amp;u_java=true" frameBorder=0 width=300 scrolling=no height=250 allowTransparency></IFRAME> <IFRAME name=google_ads_frame marginWidth=0 marginHeight=0 src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-3707276699544226&amp;dt=1208527533859&amp;lmt=1208527533&amp;prev_slotnames=6441826526%2C4047345889&amp;output=html&amp;slotname=4047345889&amp;correlator=1208527530593&amp;url=http%3A%2F%2Funix-cd.com%2Funixcd12%2Farticle_431.html&amp;frm=0&amp;cc=150&amp;ga_vid=1272800452.1205929365&amp;ga_sid=1208525577&amp;ga_hid=602584928&amp;ga_fc=true&amp;flash=9.0.115.0&amp;u_h=768&amp;u_w=1024&amp;u_ah=738&amp;u_aw=1024&amp;u_cd=32&amp;u_tz=480&amp;u_java=true" frameBorder=0 width=300 scrolling=no height=250 allowTransparency></IFRAME>
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载