Hi
Is there any API now for getting the server load ?
Thanks
Hi
Is there any API now for getting the server load ?
Thanks
Sure, here's the raw URL you would pass to your server (where SERVER represents your server's hostname, any IP associated with the server or any domain associated with the server):
https://SERVER:2087/xml-api/loadavg
You can use Matt's PHP 5 class for the XML API if you wish to have easier access to this functionality via PHP 5: http://forums.cpanel.net/f42/xmlapi-...ss-111897.html
Thanks David, so it's only for WHM and not cPanel account, that's why it doesn't work for me![]()