DS_5100B:root> ps excel | grep http ---检查httpd进程是否在运行
5 0 24645 1 16 0 8332 2156 - Ss ? 0:00 httpd.0
DS_5100B:root> killall -vgw httpd.0 ---kill掉httpd进程
Killed httpd.0(pgid 24645)
DS_5100B:root> ps excel | grep http ---确认http进程是否被kill掉
DS_5100B:root> ps -elf | grep httpd ---检查http进程是否被自动拉起
5 S root 3528 1 0 76 0 - 2083 - 02:12 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3529 3528 0 82 0 - 2124 - 02:12 ? 00:00:00 /usr/apache/bin/fcgi-pm -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3534 3528 0 75 0 - 2172 - 02:12 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3538 3528 0 75 0 - 2172 - 02:12 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3620 3528 0 75 0 - 2172 - 02:12 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3658 3528 0 75 0 - 2172 - 02:13 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
httpd进程被杀死后,大概2-3分钟后交换机会自动拉起httpd进程。
如果不愿意等待可以使用下面命令手动拉起进程:
/usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
DS_5100B:root> ps excel | grep http ---检查httpd进程是否在运行
5 0 24645 1 16 0 8332 2156 - Ss ? 0:00 httpd.0
DS_5100B:root> killall -vgw httpd.0 ---kill掉httpd进程
Killed httpd.0(pgid 24645)
DS_5100B:root> ps excel | grep http ---确认http进程是否被kill掉
DS_5100B:root> ps -elf | grep httpd ---检查http进程是否被自动拉起
5 S root 3528 1 0 76 0 - 2083 - 02:12 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3529 3528 0 82 0 - 2124 - 02:12 ? 00:00:00 /usr/apache/bin/fcgi-pm -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3534 3528 0 75 0 - 2172 - 02:12 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3538 3528 0 75 0 - 2172 - 02:12 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3620 3528 0 75 0 - 2172 - 02:12 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
5 S nobody 3658 3528 0 75 0 - 2172 - 02:13 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
httpd进程被杀死后,大概2-3分钟后交换机会自动拉起httpd进程。
如果不愿意等待可以使用下面命令手动拉起进程:
/usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0