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

Follow

Comments

3 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

    0
    Comment actions Permalink
  • 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.

     

    0
    Comment actions Permalink
  • Avatar
    Lars Doe

    Could you also provide a script for SMTP traffic please?

    1
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request