toolic,
Thanks for your reply. How do I find the uptime % ? I get the current uptime in days ($days), I need to calculate the %uptime (number of days the host is up / Total no. of days the script is run * 100). I'm not sure how to get these values. Could you please help?