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.

dcpumon

Discussion in 'General Discussion' started by Marty, Jun 22, 2002.

  1. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    What is /usr/local/cpanel/bin/dcpumon? I have that running in my cron every 5 minutes. What exactly does it do?
     
  2. YukFoo

    YukFoo Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    yeah i'd like to know too.
     
  3. andyf

    andyf Well-Known Member

    Joined:
    Jan 7, 2002
    Messages:
    246
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
    it records 5 min snapshots of top which you'll find in /var/log/dcpumon

    very useful for post mortem after a box dies.
     
  4. AngusSF

    AngusSF Registered

    Joined:
    Jun 10, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Are these safe to delete? My box has 173mb of "toplog.nnnnnnnnn" files dating back for many many months. Since my host is limited to 1500mb this is a significant disk-usage hit.

    IMHO their value for postmorteming a dead vox will fade over time, so perhaps there should be a second cron job that deletes any toplogs that are older than a user-configurable age (e.g. one week, two weeks, one month, two months, etc.).

    How would one write such a cron job, btw?

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     

Share This Page