Chinaunix

标题: 怎么知道redhat9已经启动了apache?? [打印本页]

作者: fortown    时间: 2006-04-28 14:58
标题: 怎么知道redhat9已经启动了apache??
1,我不知道我的系统有没有启动apache,用哪个命令看
2,如果没开启,怎么启动它
作者: 5iwww    时间: 2006-04-28 15:16
1.ps aux |grep httpd
2.service httpd start
作者: fortown    时间: 2006-04-28 15:30
谢谢51www啊,刚有人说用pidof httpd?
不过他没说什么意思,能解释一下么?
作者: 5iwww    时间: 2006-04-28 15:39
pid就是进程的id
作者: chenju2121    时间: 2006-05-01 01:56
回答者的意思就是用ps -aux查看httpd这个守候进程是不是在运行




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2