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 Truncating Command Data

Discussion in 'General Discussion' started by acenetryan, Feb 2, 2011.

  1. acenetryan

    acenetryan Well-Known Member
    PartnerNOC

    Joined:
    Aug 21, 2005
    Messages:
    197
    Likes Received:
    1
    Trophy Points:
    18
    The /var/log/dcpumon/boot.##### logs are very helpful for determining why a machine may have gone unresponsive. If the machine doesn't spike *too* fast, there is usually one or two 'top' readouts logged that show the load starting to increase and what caused it.

    The problem is that these logs truncate the full command from top. For example:

    Code:
    16542 username   16   0  179m  24m 6884 S 26.2  0.6   0:00.24 /usr/bin/php /home/
    16629 username   16   0  179m  24m 6884 S 20.4  0.6   0:00.24 /usr/bin/php /home/
    16987 username   16   0  178m  24m 6852 R 20.4  0.6   0:00.20 /usr/bin/php /home/
    
    or...

    Code:
    11556 nobody    15   0 87952  12m 1720 S  0.0  0.3   0:00.01 /usr/local/apache/b
    11587 nobody    15   0 87952  12m 1720 S  0.0  0.3   0:00.01 /usr/local/apache/b
    11590 nobody    15   0 87952  12m 1720 S  0.0  0.3   0:00.01 /usr/local/apache/b
    11592 nobody    15   0 87952  12m 1720 S  0.0  0.3   0:00.01 /usr/local/apache/b
    11594 nobody    15   0 87952  12m 1720 S  0.0  0.3   0:00.00 /usr/local/apache/b
    11596 nobody    16   0 87952  12m 1720 S  0.0  0.3   0:00.01 /usr/local/apache/b
    11598 nobody    15   0 87952  12m 1720 S  0.0  0.3   0:00.01 /usr/local/apache/b
    
    I google'd and forum searched, but there's not much info on these logs or why this happens. How can I make the full command path show up in these logs?
     
  2. acenetryan

    acenetryan Well-Known Member
    PartnerNOC

    Joined:
    Aug 21, 2005
    Messages:
    197
    Likes Received:
    1
    Trophy Points:
    18

Share This Page