Running AWStats

AWStats is scheduled to run daily at 4.02 AM. You can override this schedule to generate reports as and when you need to generate them.

To run AWStats manually, follow these steps:

  1. Log on to the server using the Telnet or SSH remote login service.
  2. To assume root privileges for the site, using the following command.

    su

  3. Change your working directory to the home directory of the site using the following command.

    /usr/sbin/chroot /home/virtual/<siteN>

    where:

    /usr/sbin/chroot is the command to change your working directory to the home directory of the site

    /home/virtual/<siteN> is the absolute path to the site's home directory

    Important: When you use this command, you must leave a space between the command /usr/sbin/chroot and the directory path /home/virtual/<siteN>, otherwise it will result in an error.

  4. Run AWStats by typing the following at the command prompt:

If successful, AWStats generates the reports in the respective output directories.

To view the reports, log into the site and in the shortcuts section of the Home page, click on AWStats reports (Reports section).