开发者

httpd restart time

I want to know when the httpd server 开发者_如何学Cwas restarted, how long it has been up etc.

Thanks Jean


The only way to get this information is from the httpd.log files, it should show times that httpd was started / stopped assuming that your log files are not being rotated or archived.


The answer by user66751 is not totally right.

Assuming centos: service httpd status.

root@server2 [~]# service httpd status | grep uptime
   Server uptime: 6 hours 43 minutes 51 seconds
root@server2 [~]#

root@server2 [~]# service httpd status | grep Restart
   Restart Time: Friday, 15-Aug-2014 16:27:04 EDT
root@server2 [~]#
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜