Statistics

Statistics settings can be received by the get operation. The stat node of the get response packet is defined by the siteStat data type (site.xsd) and contains a collection of statistics data for the specified sites. This node is structured as follows:

site-stat.gif

  • traffic, required
  • It returns the site traffic (in bytes) spent during the current month. Data type: size (unsignedLong).
  • subdom, required

    It holds the number of subdomains created. Data type: unsignedInt.

  • wu, required

    It holds the number of web users created. Data type: unsignedInt.

  • box, required

    It holds the number of email boxes created. Data type: unsignedInt.

  • redir, required

    It returns the number of redirects created. Data type: unsignedInt.

  • mg, required

    It returns the number of mailing groups created. Data type: unsignedInt.

  • resp, required

    It returns the number of autoresponders created. Data type: unsignedInt.

  • maillists, required

    It returns the number of mailing lists created. Data type: unsignedInt.

  • db, required

    It holds the number of databases created. Data type: unsignedInt.

  • webapps, required

    It returns the number of Java applications installed. Data type: unsignedInt.

  • traffic_prevday, required

    It returns the site traffic (in bytes) spent during the previous day. Data type: unsignedLong.

 

The following snippet demonstrates how the statistics is returned:

          <stat>
             <traffic>12458966221478885</traffic>
             <subdom>12</subdom>
             <wu>134</wu>
             <box>1024</box>
             <redir>2</redir>
             <mg>16</mg>
             <resp>124</resp>
             <maillists>4<maillists>
             <db></db>
             <webapps>8</webapps>
             <traffic_prevday>15241632184739856</traffic_prevday>
          </stat>

 

 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.