zoukankan      html  css  js  c++  java
  • 杀死进程 kill -9

    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          don't 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 -v `ps aux |grep progress-name |awk '{print$2}'`
  • 相关阅读:
    axios拦截器
    Vue路由守卫
    HTML横向滚动条和文本超出显示三个小圆点
    Vue用户名vuex和localStorage双向存储
    javaScript Es6数组与对象的实例方法
    使用vue实现复选框单选多选
    正则表达式常用字符
    jest函数单元测试
    ts中的类
    ts中接口的用法
  • 原文地址:https://www.cnblogs.com/conncui/p/killall.html
Copyright © 2011-2022 走看看