关于pidof和kill -15

关掉所有php相关进程,kill -15 先关闭有关进程再关闭本进程

pidof php *.php | xargs kill -15

你可能感兴趣的:(pidof)