Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice