killall
2015-09-02 15:31
531 查看
NAME
killall - kill processes by name 使用名字杀死进程
SYNOPSIS
killall [-Z,--context pattern] [-e,--exact] [-g,--process-group]
[-i,--interactive] [-q,--quiet] [-r,--regexp] [-s,--signal sig-
nal] [-u,--user user] [-v,--verbose] [-w,--wait] [-I,--ignore-
case] [-V,--version] [--] name ...
killall -l
killall -V,--version
DESCRIPTION
killall sends a signal to all processes running any of the spec-
ified commands. If no signal name is specified, SIGTERM is sent.
killall发送一个信号给所有特殊指令的运行程序。如果没有指定信号名字,将发送SIGTERM信号。
Signals can be specified either by name (e.g. -HUP) or by number
(e.g. -1) or by option -s.
指定信号可以用名字或者是数字
If the command name is not regular expression (option -r) and
contains a slash (/), processes executing that particular file
will be selected for killing, independent of their name.
如果命令名字不是规范的表达式或者包含一个/,进程执行特定的文件将被选择并被杀死。不依赖于名字。
killall returns a zero return code if at least one process has
been killed for each listed command, or no commands were listed
and at least one process matched the -u and -Z search criteria.
killall returns non-zero otherwise.
如果每个被罗列的命令至少有一个进程被杀死了,killall将返回一个零值,如果没有命令被罗列,至少一个进程混合使用了-u 和-z搜索条件,killall将返回一个非零值。
A killall process never kills itself (but may kill other killall
processes).killall永远不能杀死他自己。但是可能杀死其他的killall进程。
killall的意义主要是对进程的名称发送一个signal信号的。
killall - kill processes by name 使用名字杀死进程
SYNOPSIS
killall [-Z,--context pattern] [-e,--exact] [-g,--process-group]
[-i,--interactive] [-q,--quiet] [-r,--regexp] [-s,--signal sig-
nal] [-u,--user user] [-v,--verbose] [-w,--wait] [-I,--ignore-
case] [-V,--version] [--] name ...
killall -l
killall -V,--version
DESCRIPTION
killall sends a signal to all processes running any of the spec-
ified commands. If no signal name is specified, SIGTERM is sent.
killall发送一个信号给所有特殊指令的运行程序。如果没有指定信号名字,将发送SIGTERM信号。
Signals can be specified either by name (e.g. -HUP) or by number
(e.g. -1) or by option -s.
指定信号可以用名字或者是数字
If the command name is not regular expression (option -r) and
contains a slash (/), processes executing that particular file
will be selected for killing, independent of their name.
如果命令名字不是规范的表达式或者包含一个/,进程执行特定的文件将被选择并被杀死。不依赖于名字。
killall returns a zero return code if at least one process has
been killed for each listed command, or no commands were listed
and at least one process matched the -u and -Z search criteria.
killall returns non-zero otherwise.
如果每个被罗列的命令至少有一个进程被杀死了,killall将返回一个零值,如果没有命令被罗列,至少一个进程混合使用了-u 和-z搜索条件,killall将返回一个非零值。
A killall process never kills itself (but may kill other killall
processes).killall永远不能杀死他自己。但是可能杀死其他的killall进程。
killall的意义主要是对进程的名称发送一个signal信号的。
相关文章推荐
- SWIFT下的融云,极光,消息推送设置
- 轻松python之文件专题-关于zip文件的一些操作
- v7包中抽屉设置导航图标
- Fizz Buzz
- 轻松python之文件专题-关于zip文件的一些操作
- databus编译:Could not resolve all dependencies for configuration ':databus2-relay:databus2-event-producer-mock:compile
- python教程网址
- Linux shell学习随记
- 计算几何常用的函数/方法
- java按照map的value排序
- 如何在oracle中导入dmp数据库文件
- bitmap再出江湖:a.txt中有40亿个无符号整数, b.txt中有10000个无符号整数, 求交集。 可用内存:1G
- Java学习之排序
- linux文本编辑器
- HDU 1710 树的遍历
- priority_queue用法
- 总结_六天专题:栈和队列,树,并查集,KMP匹配算法
- HDU 1010 搜索+剪枝
- next_permutation用法 与 字典序
- STL入门资料