I think above url
http://status.hostingzero.com/ use same script. Remove free command as it is not available for IBM AIX unix.
Another thing is this script is known to work on GNU/Linux. You need to do little modification to get running it perfectly.
Hope this helps