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.

CPU/resource montoring per user

Discussion in 'General Discussion' started by maever, Mar 18, 2010.

  1. maever

    maever Active Member

    Joined:
    Sep 26, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    We are looking for a way to generate statistics based on a user's CPU and possibly resource usage.
    This way we hope to be able to get a good idea on which of our webhosting users take up most of the CPU so we can possibly offer them package/server upgrades.

    We already have suexec and SuPHP running so this should be a matter of finding the correct tools to do the monitoring for us.

    Currently I've found some setup using dstat and GNUPLOT.
    But i'm wondering if there are any more common methods already around?
     
  2. maever

    maever Active Member

    Joined:
    Sep 26, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    No response yet it seems.

    I'm simply trying to create a usable log with information that allows me to see which users are hogging the server resources the most ( CPU wise ).

    Within cpanel there also doesn't seem to be a way to limit CPU per user where as bandwidth and quota are limited.

    I have seen some methods using ConfigServer Firewall to kill CPU consuming processes but this also tends to kill systemprocesses thus is not a recommended setting.

    anyone have some ideas?
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Built into WHM is the Daily Process Log (in the Server Status section). This will let you know the major consumers of CPU on any given day so you can act accordingly.

    The logs for this information is stored in /var/log/dcpumon/{Year}/{Month}/{Day} where {Year} {Month} and {Day} represent the year, month and day portions of the date (respectively) that the log information is for.
     
  4. mohit

    mohit Well-Known Member

    Joined:
    Jul 12, 2005
    Messages:
    553
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sticky On Internet
    Secrets of few of largest hosts, i am sure the CPU limit thing will come to commercial hosting market when there's a REBEL who can rewrite and launch his own.

    for sure this would lead to another War in entire web hosting industry after unlimited space which is sold only on basis of automated individual limit controls.
     
Loading...

Share This Page