locate httpd.pid
[root@server 02]# ll -d /usr/local/apache/logs/httpd.pid
-rw-r--r-- 1 root root 6 Feb 24 14:05 /usr/local/apache/logs/httpd.pid
[root@server 02]#
=================
How to find out when apache last restarted
ll /usr/local/apache/logs/httpd.pid
root@a24uall [~]# ll /usr/local/apache/logs/httpd.pid
-rw-r–r– 1 root root 6 Feb 25 07:01 /usr/local/apache/logs/httpd.pid
root@a24all [~]#
Also
root@a24uall [~]# grep “SIGHUP received” /usr/local/apache/logs/error_log
No comments:
Post a Comment