WebHost.UK.Net: WebHostUK Official Forum
+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Dec 2010
    Location
    Cumbernauld, Scotland, UK
    Posts
    131

    Default

    Quote Originally Posted by Natasha View Post
    if you want you can write a custom bash script in which you can code in such a way that you can have servers uptime records
    Refer to post #7 above

    I have a script already but it simply advises the time since last reboot, not the uptime
    m8internet.com
    A customer between December 2010 and March 2012
    No longer a customer with WebhostUK Limited

  2. #12

    Default

    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.

  3. #13
    Join Date
    Dec 2010
    Location
    Cumbernauld, Scotland, UK
    Posts
    131

    Default

    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

  4. #14

    Default

    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.

  5. #15
    Join Date
    Dec 2010
    Location
    Cumbernauld, Scotland, UK
    Posts
    131

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

star-rating WebHostUK has been rated 4.6 out of 5 based on 221 reviews.
" SHARED, RESELLER, VPS, & SEO Coupon Code (10-25% off) https://bit.ly/jvrh2Z " { about 23 hours ago }

Go Top