我怎样才能找到 Apache2 的正常运行时间。有很多建议可以使用
httpd fullstatus
Run Code Online (Sandbox Code Playgroud)
但这失败了
-bash: httpd: command not found
Run Code Online (Sandbox Code Playgroud)
top两者都没有运行 httpd 命令,只有一个 apache2 进程。
我也试过(没有任何运气)
httpd status
apache2 status
apache2 fullstatus
/usr/sbin/apache2 fullstatus
/usr/sbin/apache2 status
Run Code Online (Sandbox Code Playgroud)
鉴于 Apache 在各种平台上的安装/配置方式不同,我可以使用什么命令来可靠地找到 apache2 的正常运行时间?