centos7精簡版(minimal)運行killall命令提示 command not found
是由於沒有安裝psmisc所致
Psmisc軟件包包含三個幫助管理/proc目錄的程序。
安裝下列程序: fuser, killall,pstree和pstree.x11(到pstree的鏈接)
fuser 顯示使用指定文件或者文件系統的進程的PID。
killall 殺死某個名字的進程,它向運行指定命令的所有進程發出信號。
pstree 樹型顯示當前運行的進程。
pstree.x11 與pstree功能相同,只是在退出前需要確認。
yum install psmisc