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.

Show Cpu / Ram Usage In Cpanel Side Bar

Discussion in 'User Experience' started by varunms, Dec 1, 2012.

  1. varunms

    varunms Active Member

    Joined:
    Aug 29, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    cPanel Access Level:
    Root Administrator
    How i can show the Cpanel Users's Cpu & Ram Usage .. In Cpanel Side Bar
     
  2. bbrink68

    bbrink68 Active Member

    Joined:
    Nov 27, 2012
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Well I am not sure about the side bar but in whm you can click on "daily process logs" to see daily usage of ram and CPU per user.
     
  3. varunms

    varunms Active Member

    Joined:
    Aug 29, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    cPanel Access Level:
    Root Administrator
    But how i can show to the cpanel user of their cpu and ram usage
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You'll first need something that gathers such data. For example CloudLinux comes with utilities that monitor various resource usage, and the means to display them in the Stats Bar.
     
  5. nibb

    nibb Well-Known Member

    Joined:
    Mar 22, 2008
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    Exactly, cPanel does not do this by default, you can use something like CloudLinux or Hive, both have cPanel plugins for this.

    The first one, does allot of fancy stuff at the kernel product with isolation, and of course will also let you display user cpu data/stats. The later one mainly is for user data, but will let you trigger actions based on load, etc.

    Both of them cost money per server, so choose wisely or you can always make your own script. I made an extensive review and testing of both.
     
  6. abdelhost77

    abdelhost77 Well-Known Member

    Joined:
    Apr 25, 2012
    Messages:
    81
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator



    i dont know if that help ,

    but in order to make daily CPU / RAM consumption available for my Cpanel users I make simple script shell that create daily file named : <login>-cpu.html , and put it in the user public_html .

    The script is available at :

    /http://50dh.info/create-daily-cpu-peruser.txt

    any improvements are welcome .
     
  7. abdelhost77

    abdelhost77 Well-Known Member

    Joined:
    Apr 25, 2012
    Messages:
    81
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    You have only to add the above script to CRONTAB ==> /http://50dh.info/create-daily-cpu-peruser.txt

    It will add daily CPU / RAM consumtion stat for each user to /home/<login>/public_html/<login>-cpu.html

    I want to add it to a cpanel plugin using : cPanel Plugins | cPanel, Inc.

    But i dont know what to put in the field : Plugin URL Access , in order to redirect to : /home/<login>/public_html/<login>-cpu.html

    Any help please ?
     
  8. varunms

    varunms Active Member

    Joined:
    Aug 29, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    cPanel Access Level:
    Root Administrator
    hi

    i am creating that plugin so pls wait for the plugin release...
     
  9. abdelhost77

    abdelhost77 Well-Known Member

    Joined:
    Apr 25, 2012
    Messages:
    81
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Many thanks Varunms ,

    and dont forget the copyrights :D
     
Loading...

Share This Page