Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jan 29, 2008 6:06 am 
Offline
Newbie

Joined: Tue Jan 29, 2008 5:38 am
Posts: 3
Hi All,

I have a dedicated server we are using to provide shared hosting. We have apache2 on ubuntu.

Is it possible to monitor which virtual site is currently being accessed. For example I would like to be able to check when a apache2 process starts consuming a lot of resources for a period of time, which site was using it.

Thanks


Top
   
 Post subject:
PostPosted: Tue Jan 29, 2008 4:10 pm 
Offline
Newbie

Joined: Sun Dec 30, 2007 10:06 pm
Posts: 3
Hi,

I haven't used it, but maybe PRM (Process Resource Monitor) would fit the situation here.
http://rfxnetworks.com/prm.php
Quote:
PRM monitors the process table on a given system and matches process id's with set resource limits in the config file or per-process based rules. Process id's that match or exceed the set limits are logged and killed; includes e-mail alerts, kernel logging routine and more...

Download the current release of PRM distributed under the GNU GENERAL PUBLIC LICENSE:
...


Usual disclaimer - I'm not associated or affiliated with them. I find just find their GPL products of interest and they accept donations iif you like their work. :wink:

All the best,
Chuck

_________________
BOFH excuse #299:
The data on your hard drive is out of balance.


Top
   
 Post subject:
PostPosted: Wed Jan 30, 2008 12:01 pm 
Offline
Newbie

Joined: Tue Jan 29, 2008 5:38 am
Posts: 3
Thanks for the reply - not really what i need though because I want to know which web sites are being accessed, not which process is running - they will all be running as the same process


Top
   
 Post subject:
PostPosted: Wed Jan 30, 2008 10:04 pm 
Offline
Senior Newbie

Joined: Sat Jan 19, 2008 8:37 pm
Posts: 19
What i would probably do is try to find a way to add the pid of the apache process the the access.log (apache2 logfile).


Top
   
 Post subject:
PostPosted: Thu Jan 31, 2008 11:02 am 
Offline
Newbie

Joined: Tue Jan 29, 2008 5:38 am
Posts: 3
I found a solution.. Mod_Status

Lets me view exactly what processes are currently accessing what pages on the server :D

Thanks anyway


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group