首页 > 系统服务 > 详细

杀死进程 kill -9

时间:2015-07-15 12:34:05      阅读:206      评论:0      收藏:0      [点我收藏+]
cui@bug:~$ killall -h
用法: killall [选项]... [--] 进程名...
       killall -l, --list
       killall -V, --version

  -e,--exact          require exact match for very long names
  -I,--ignore-case    case insensitive process name match
  -g,--process-group  kill process group instead of process
  -y,--younger-than   kill processes younger than TIME
  -o,--older-than     kill processes older than TIME
  -i,--interactive    ask for confirmation before killing
  -l,--list           list all known signal names
  -q,--quiet          dont print complaints
  -r,--regexp         interpret NAME as an extended regular expression
  -s,--signal SIGNAL  send this signal instead of SIGTERM
  -u,--user USER      kill only process(es) running as USER
  -v,--verbose        report if the signal was successfully sent
  -V,--version        display version information
  -w,--wait           wait for processes to die

cui@bug:~$

有时候adb开多了,使用adb kill-server 不起作用

而一个个的使用   kill -9 线程 还需要 ps aux|grep adb 来查看线程数

使用 killall -s 信号量  进程名 即可一次杀死

使用 killall -v 显示操作反馈

杀死进程 kill -9

原文:http://www.cnblogs.com/conncui/p/killall.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!