How do I know which domain is consuming the most resources ?

inferencia

Verified User
Joined
Aug 21, 2005
Messages
677
Location
Spain
Hello folks,

I need some help. I have several tools I use to get an idea of who is consuming what.

I use a mix of the following:

-Top
-httpd-status
-mysqladmin pr

Usually I can tell which domain is consuming a good chunk, BUT HOW MUCH exactly ?

I have problems telling customers there domain is consuming a lot of resources, cuase I don't have anything to show them. For example, if I see there domain a bunch of times in http-status, then that could be a good sign, but I can't see really for sure , how much he's consuming.

How do you guys control domain usage ?

THANKS !
 
Why does it matter if they are not using over their sold amount of resources. If you are concerned with bandwidth and such try mod_throttle or mod_bandwidth.
 
Ok,

Let me clarify before we start talking about something totally different. I am not just talking about bandwidth. I am also talking about , mysql connectinos, apache connectinos, memory and diskusage.

The problem is not "in the general scheme of things" . The problem I need to solve is for example:

When a shared hosting customer starts to eat up memory becuase he's got a screwed up mod for some forum, or CMS, that starts eating up mysql connections, therefore CPU,. therefore RAM. etc...

Another example. shared customer Joe, installs a new mod for his forum, and this mod makes some BIG queries. Using mysqladmin pr, sometimes doesn't help me becuase I can't see how "big" the processes being listed are. All I know is the Top is telling me mysql is up tp 100% cpu.

Know what I mean ?
 
I am considering trying this out :

http://www.directadmin.com/forum/showpost.php?p=142807&postcount=6

Checking log # of lines, could be an interesting way of getting a good idea of who's using how much (apache),., and this could work for "proof purposes", like when you try to convince a customer to go with a VPS or Dedicated.

But, I'd really like to know what you guys are doing, techniques, etc.. if you don't mind sharing them.

thanks !
 
Back
Top