The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Daily Process Log via Bash

Discussion in 'General Discussion' started by NickTheGreek, Nov 12, 2016.

Tags:
  1. NickTheGreek

    NickTheGreek Member

    Joined:
    Jun 16, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Athens, Greece
    Hello to all of you,

    apart from using WHM > Daily Process Log is there any other way via bash that you could gather and verbose such information ? This could really automate things afterwards, for example you could easily trigger a /scripts/suspendacct or send an email if user X suprasses 50% CPU for 3-5 consecutive days
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can utilize the following command see see this information via the command line:

    Code:
    /usr/local/cpanel/bin/dcpumonview
    In addition, the log files are stored in:

    /var/log/dcpumon/

    Thank you.
     
Loading...

Share This Page