pkill --help
用法: pkill [options]
选项: -, --signal signal to send (either number or name) -q, --queue integer value to be sent with the signal -e, --echo display what is killed -c, --count count of matching processes -f, --full use full process name to match -g, --pgroup match listed process group IDs -G, --group match real group IDs -i, --ignore-case match case insensitively -n, --newest select most recently started -o, --oldest select least recently started -O, --older select where older than seconds -P, --parent match only child processes of the given parent -s, --session match session IDs -t, --terminal match by controlling terminal -u, --euid match by effective IDs -U, --uid match by real IDs -x, --exact match exactly with the command name -F, --pidfile read PIDs from file -L, --logpidfile fail if PID file is not locked -r, --runstates match runstates [D,S,Z,…] –ns match the processes that belong to the same namespace as –nslist list which namespaces will be considered for the --ns option. Available namespaces: ipc, mnt, net, pid, user, uts
-h, --help 显示此帮助然后离开 -V, --version 显示程序版本然后离开
翻译pkill-帮助
用法: pkill [选项]
选项: -,-signal 发送信号(数字或名称) -q,–queue 与信号一起发送的整数值 -e,–echo显示被杀死的内容 -c,–count匹配进程的数量 -f,–full使用完整的进程名称进行匹配 -g,–pgroup 匹配列出的进程组ID -G,–group 匹配真实的组ID -i,–ignore-case不区分大小写地匹配 -n,-最新选择最近启动 -o,–oldest选择最近最少启动的 -O,–older 选择比秒大的地方 -P,–parent 仅匹配给定父级的子进程 -s,–session 匹配会话ID -t,–terminal 通过控制终端进行匹配 -u,–euid 通过有效ID进行匹配 -U,–uid 通过真实ID匹配 -x,–exact与命令名完全匹配 -F,–pidfile 从文件读取PID -L,–logpidfile如果未锁定PID文件则失败 -r,–runstates 匹配运行状态[D,S,Z,…] –ns 匹配属于同一进程 命名空间为 –nslist 列出将考虑使用哪些名称空间 –ns选项。 可用的名称空间:ipc,mnt,net,pid,user,uts
实例关闭进程名中包含Tomcat_SG_dev
字体的所有进程
pkill -f Tomcat_SG_dev