uptime
This is an old revision of the document!
Server uptime
1 |
w |
1 |
uptime |
Apache uptime
CentOS
1 |
service httpd fullstatus |
Ubuntu
1 |
apache2ctl fullstatus |
Sometimes the correct packages are not installed to run these commands
Alternative:
1 |
grep -i resuming /var/log/httpd/error .log |
1 |
grep -i resuming /var/log/apache2/error .log |
mysql uptime You can use any of the following commands
1 |
SHOW GLOBAL STATUS LIKE 'Uptime' ; |
1 |
mysqladmin version | grep -i uptime |
uptime.1447332236.txt.gz · Last modified: 2024/05/23 07:26 (external edit)