天天看点

pkill关闭进程帮助翻译实例

帮助翻译

英文原版

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 <PGID,…> match listed process group IDs

-G, --group <GID,…> 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 <PPID,…> match only child processes of the given parent

-s, --session <SID,…> match session IDs

-t, --terminal <tty,…> match by controlling terminal

-u, --euid <ID,…> match by effective IDs

-U, --uid <ID,…> 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 <ns,…> 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 <PGID,…>匹配列出的进程组ID

-G,–group <GID,…>匹配真实的组ID

-i,–ignore-case不区分大小写地匹配

-n,-最新选择最近启动

-o,–oldest选择最近最少启动的

-O,–older 选择比秒大的地方

-P,–parent <PPID,…>仅匹配给定父级的子进程

-s,–session <SID,…>匹配会话ID

-t,–terminal <tty,…>通过控制终端进行匹配

-u,–euid <ID,…>通过有效ID进行匹配

-U,–uid <ID,…>通过真实ID匹配

-x,–exact与命令名完全匹配

-F,–pidfile <文件>从文件读取PID

-L,–logpidfile如果未锁定PID文件则失败

-r,–runstates <状态>匹配运行状态[D,S,Z,…]

–ns 匹配属于同一进程

命名空间为

–nslist <ns,…>列出将考虑使用哪些名称空间

–ns选项。

可用的名称空间:ipc,mnt,net,pid,user,uts

实例

关闭进程名中包含

Tomcat_SG_dev

字体的所有进程

pkill -f Tomcat_SG_dev
           

继续阅读