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.

View how many users online at once?

Discussion in 'General Discussion' started by webstuff, Aug 13, 2011.

  1. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    whats the best way to view how many people are on your server at once?

    and

    viewing bandwidth usage would help alot too.. maybe process's... I didn't know if there was some sort of plugin in or something..
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Do you mean how many users are on the server in SSH, or where precisely? A server has many different protocols and there isn't one location to view how many people are on the machine for each different one. You can check in netstat all of the incoming and outgoing connections, but what are you wanting to know precisely?
     
  3. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Just a good idea to see how many people are connected to the server at once.. I didn't know if there was a special way to do it or not.. Is ssh the best way?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    There are several methods for a user to connect to a server. Is there a specific service you are attempting to monitor? For example, the following command can be used to determine the number of connections to Apache on port 80:

    Code:
    # netstat -n | grep :80 | wc -l
    Thank you.
     
  5. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    thanks thats pretty cool.. but im looking for something that will give you more of a live view.. current... or is there some program that logs it all?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    If you are looking for Apache statistics, you may also find the following option within Web Host Manager useful:

    "WHM >> Server Status >> Apache Status"

    Full documentation on the data that is displayed on this option can be found at:

    Apache Status

    Thank you.
     
  7. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    thanks again.. one last question is there a command that will show all live people on port 80 and will continue to update by every so many minutes?
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    In root SSH, type the following:

    Code:
    watch -n 30 "httpd fullstatus"
    This puts the command httpd fullstatus, which is what WHM > Server Status > Apache Status is using, into a watch window that will update every 30 seconds. If you wish to have it update sooner or longer, simply changed the 30 to whatever second interval is preferred.
     
  9. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    beautiful.. thank you so much.. i love cpanel so far.
     
  10. lucrusha12345

    lucrusha12345 Registered

    Joined:
    Aug 15, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Very new. Is there a way to check domain bandwidth usage?
     
  11. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In the WebHost Manager, click Main >> Account Information >> View Bandwidth Usage.

    View Bandwidth Usage
     
  12. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Is there anyway to get a live graph going? maybe by the minute or every 5 minutes or something like that? I was looking at VNStat or bwm-ng... But wasn't sure if there was something better or not.
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You could install the Munin Plugin via:

    "WHM >> cPanel >> Manage Plugins"

    You can find more details about Munin to determine if it's the type of tool you are looking for at:

    Munin - Trac

    Thank you.
     
  14. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Does the munin - trac give you real time monitoring graph?

    My biggest is live bandwidth ... ( it updates by itself correct? I dont have to keep on hitting refrefresh do I ? ) Do you know what the smallest amount of time it updates by too?
     
    #14 webstuff, Aug 25, 2011
    Last edited: Aug 25, 2011
  15. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have a closer look at the Munin FAQ for more Info.

    There are also other resources to consider when searching for more functionality for your server, take WebHostingTalk as one example. Full screen bandwidth monitoring in real time?

    If that one is not helpful, try one of these: Google Search of WHT: Real Time Bandwidth Monitoring

    GL!
     
  16. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    So thats a no? Yea I did look through google... I found a lot of programs but looks like I will have to install stuff or try different programs for hours and hours.. Sorry I was just trying to save a lot of time by asking... To see if anyone knew off hand.

    Thanks anyways.
     
    #16 webstuff, Aug 25, 2011
    Last edited: Aug 25, 2011
  17. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There is no built in functionality in cPanel/WHM to monitor bandwidth in real time, no.

    Munin is an addon 3rd party product easily installed via WHM, but has its own community and FAQ area that would lead you to your answers about using it, faster than waiting for a forum reply here, IMO. Thats why I linked you to that page.
     
  18. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    This munin will be real enough for me. Thanks again cpanel!!!! Thanks for the wonderful support really.. :) You may mark this solved.
     
Loading...

Share This Page