pkill
pkill (see pgrep) is a command-line utility initially written for use with the Solaris 7 operating system. It has since been reimplemented for Linux and some BSDs.
As with the kill and killall commands, pkill is used to send signals to processes. The pkill command allows the use of extended regular expression patterns and other matching criteria.
Example usage
Kill the most recently created acroread process:
pkill -n acroread
Send a USR1 signal to acroread process:
pkill -USR1 acroread
See also
- List of Unix programs
- kill(1)
- nice(1)
- skill(1), a command-line utility to send signals or report process status, pkill is favoured over it
- top(1)
- htop(1)
References
- – Solaris 10 User Commands Reference Manual
- : look up processes based on name and other attributes – Linux User Commands Manual
External links
|
This article is issued from Wikipedia - version of the Friday, November 06, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.