如何找出上次重新启动apache的时间? [英] How to find out the time apache was last restarted?

查看:26
本文介绍了如何找出上次重新启动apache的时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个安装了 kloxo 控制面板的 VPS.我正在使用 CentOS 5.8 32 位.

I have a VPS with kloxo control panel installed. I am using CentOS 5.8 32-bit.

我今天重新启动了 Apache,但忘记了时间.知道准确的时间非常重要.

I restarted Apache today but forgot the time when I did. It is very important to know the exact time.

我可以使用日志文件或 SSH 命令找到它吗?

Can I find it out using the log files or SSH command?

推荐答案

通过 SSH 登录您的 VPS 并输入命令:

Log in into your VPS via SSH and type in the command:

grep resuming /var/log/httpd/error_log

这篇关于如何找出上次重新启动apache的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆