Monitor my bandwidth and host load from inside the vps.

It is possible to monitor your bandwidth consumption from inside of your vm.

We have provided program that will provide an xml file with current statistics such as your current bandwidth usage, your hosts current load average, etc.

For security reasons, you may only call the script from within your vm, from an IP registered to the account.

The program you call depends on the version of the QCP your account uses, i.e. if you are on a Xen vm, or an OpenVZ vm.

To call the script, you can use wget, such as:

wget https://my.quantact.com/bw.cgi?user=xen30 --no-check-certificate

where "user" is your vm's account name.

The result:

<?xml version="1.0" encoding="ISO-8859-1" ?><br>
<Data> <bw> <year>2007</year> <month>08</month> <max_avail>137438953472</max_avail> <rx_bytes>63400908</rx_bytes> <tx_bytes>579658187</tx_bytes> <total_bytes>643059095</total_bytes> <percent>00</percent> <ratio>0.60 GB / 128 GB</ratio> <hostload>0.23</hostload> </bw> </Data>