Home  >  Article  >  Backend Development  >  Mac OS x 如何查看apache status

Mac OS x 如何查看apache status

WBOY
WBOYOriginal
2016-06-06 20:34:382346browse

在mac os x系统的终端中,如何查看 apache的运行状态?
centos可以通过 systemctl httpd status 来查看,mac os x中有无类似命令?

回复内容:

在mac os x系统的终端中,如何查看 apache的运行状态?
centos可以通过 systemctl httpd status 来查看,mac os x中有无类似命令?

用这个:

<code>apachectl status
</code>

或者:

<code>ps aux | grep httpd
</code>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn