There are few bash commands to check the server uptime like - w and uptime, for example
-----
root@server [~]# w
12:09:25 up 68 days, 23:26, 2 users, load average: 0.98, 0.72, 0.43
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root@server [~]# uptime
12:09:27 up 68 days, 23:26, 2 users, load average: 0.98, 0.72, 0.43
-----
So you need to write such a code that it picks servers bash command and outputs the correct uptime record.
As above I already have such a script, but that is NOT uptime it is just the time since last reboot
uptime is defined as the % of operation against downtime per month
So I raise the same question, again
See :
https://m8internet.com/uptime.php
However this uses an external provider, not a script from the server
Again this is uptime for December 2011, and come January 2012 it will reset (as it does every month)
m8internet.com
A customer between December 2010 and March 2012
No longer a customer with WebhostUK Limited
I agree but for tracking out the downtime per month is counted the time interval between last reboot and the time when the server is up after rebooting. For this the script should be coded in such a way that it track down each reboot interval time and the time it takes to get online. Even our NOC team provide us the graphical interface for bandwidth meter where it shows server inaccessible and time when it comes online, this way we are able to count the time taken to get server online.
Definitely there needs some customization script which can be able to track this.
At last finally, the penny drops
Please keep us up to date within this thread on development as this is a necessary tool for all account holders and this is a short coming with Web Host UK
m8internet.com
A customer between December 2010 and March 2012
No longer a customer with WebhostUK Limited