How to verify POP3/IMAP traffic statistics for subscription in Plesk?

Follow

Comments

2 comments

  • Avatar
    Ops-team

    Is it possible to do the calculation for a period of time. On the web interface statistics does not have a time frame. How can we verify that using db and/or CLI

  • Avatar
    Taras Ermoshin

    @Ops-team

    In the Plesk interface, the traffic statistics are shown per-month (e.g in August, the statistics for this month are shown, the same for September, October etc.).

    You can verify POP3/IMAP statistics in the Plesk database for the particular day(s) using the query like this:

    ==========

    plesk db "select sum(pop3_imap_in+pop3_imap_out) from DomainsTraffic where date='2018-08-21' AND dom_id in (select id from domains where name='example.com')"

    ==========

    The same is applicable to other columns in the table DomainsTraffic.

     

Please sign in to leave a comment.

Have more questions? Submit a request