Difference between revisions of "Pkill"
Jump to navigation
Jump to search
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[wikipedia:pkill]] command is used to send [signals]] to [[process]]. <code>pkill</code> command allows the use of extended regular expression patterns and other matching criteria. | + | {{lowercase}} |
+ | <code>[[wikipedia:pkill]]</code> command is used to send [[signals]] to [[process]]. <code>pkill</code> command allows the use of extended [[regular expression]] patterns and other matching criteria. | ||
− | <code>pkill</code> is available at least in [[Linux commands|Linux]] | + | <code>pkill</code> is available at least in [[Linux commands|Linux]], [[Solaris]] and in [[Ubuntu]] and [[Debian]] in <code>[[procps]]</code> package. |
+ | * https://www.manpagez.com/man/1/pkill/ | ||
+ | usage: pkill [-signal] [-ILfilnovx] [-F pidfile] [-G gid] | ||
+ | [-P ppid] [-U uid] [-g pgrp] | ||
+ | [-t tty] [-u euid] pattern ... | ||
+ | |||
+ | |||
+ | |||
+ | -x Require an exact match of the process name, or argument list | ||
+ | if -f is given. The default is to match any substring. | ||
+ | |||
+ | |||
+ | |||
+ | [[pkill -x]] [[ssh]] | ||
+ | |||
+ | |||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[pgrep]]</code> | ||
+ | * <code>[[jobs]]</code> | ||
== See also == | == See also == | ||
− | * | + | * {{pkill}} |
+ | * {{kill}} | ||
+ | * {{jobs (linux)}} | ||
+ | * {{ps}} | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 08:15, 18 April 2023
wikipedia:pkill
command is used to send signals to process. pkill
command allows the use of extended regular expression patterns and other matching criteria.
pkill
is available at least in Linux, Solaris and in Ubuntu and Debian in procps
package.
usage: pkill [-signal] [-ILfilnovx] [-F pidfile] [-G gid] [-P ppid] [-U uid] [-g pgrp] [-t tty] [-u euid] pattern ...
-x Require an exact match of the process name, or argument list if -f is given. The default is to match any substring.
pkill -x ssh
Related commands[edit]
See also[edit]
pkill
kill
[-s
],killall
,pkill
,xkill
,podman kill
,docker kill
, SIGINT, SIGTERM, rfkill,killall5
,kill 1
,launchctl kill (macOS)
,kill -9, kill -15
, signaljobs
,jobs -l, bg
,fg
,disown
,wait
,nohup, kill, trap
- Process, zombie process, fork, thread:
ps
,tree
,pstree
,ps axf
,proc
,pwdx
,which
,watch
,sar -q
,tload
,uptime
, Interrupts,pgrep
,tasklist
(Windows), Zombie process,pstack
,docker ps
,docker-compose ps
,jobs
,acct
,process mrelease
,pidstat
, IPC,pidof
Advertising: