Meniu

Limbi
Înapoi la blog

Administrator de sistem

How to recalculate traffic and disk usage in Plesk Unix

Sorin PohonțuSorin Pohonțu
How to recalculate traffic and disk usage in Plesk Unix

The problem: There are some updates on client files, but the traffic and disk usage changes are not reflected in Plesk interface.

Why: Plesk counts statistics once a day (at 4:07 AM by default) with the help of the {Plesk_installation_dir}/admin/sbin/statistics utility, but not every time when you look at domain statistics. (see http://kb.parallels.com/en/752).

Solution: Update traffic and disk usage for all clients by running in a console:

/usr/local/psa/admin/sbin/statistics

To update traffic and disk usage for a single domain, run:

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domainname.com

Now, refresh Plesk interface to see the changes :)

plesklinux
Înapoi la blog