å ¨ã¦ã®httpdãkillããå ´åã xargsã使ãå ´å # ps -A | grep [h]ttpd | awk '{print $1}' | xargs kill -9 or ãã®ã¾ã¾killã®å¼æ°ã¨ããå ´å # kill -9 `ps -A | grep [h]ttpd | awk '{print $1}'` pgrepãå©ç¨ã§ããå ´å㯠ps -A | grep [h]ttpd | awk '{print $1}' => pgrep -x [h]ttpd㧠# kill -9 `pgrep -x [h]ttpd` pkillãå©ç¨ã§ããå ´å㯠# pkill -9 -x [h]ttpd ã§ããã ãããªã®ãã»ã» # killall -9 httpd ããã¯ãããwww for pid in `pgrep -x [h]ttpd`;do kill -9 $pid; done ãããã
{{#tags}}- {{label}}
{{/tags}}