English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Linux pkill is used to kill a process, similar to kill The difference is that it will kill all processes with the specified name, similar to killall Command.
The kill command kills the specified process PID, which needs to be used with ps, while pkill directly operates on the process name, which is more convenient.
pkill [options] name
Parameter Description:
# pkill -9 php-fpm //Terminate all php-fpm process