Log files
Posted: Fri May 04, 2007 11:02 am
I've asked this just recently, but I believe this to be slightly more specific.
I would like to know (how to enable) log files for the following:
1) CPU/RAM usage
2) Bandwidth usage
Obviously the latter is specific to Apache, but I cannot find any logs which indicate bandwidth usage? How (or are there) applications which allow you to setup domain's on a dedicate server and restrict their bandwidth/HDD space (including their mysql, etc)???
Logging CPU on a per web site basis isn't really nessecary (although if PHP has logging which I could use to narrow down which site was highest) that would be killer.
Basically I need a way to monitor who is doing what and how much they are consuming on a per web site basis.
Edit: I'm looking into access_log for Apache and it looks very promising.
However I wonder if there is a way add COOKIE data to that request log? Relying on IP alone isn't the greatest for determining unique hits. Anyone know of a way or think of a workaround?
Cheers
I would like to know (how to enable) log files for the following:
1) CPU/RAM usage
2) Bandwidth usage
Obviously the latter is specific to Apache, but I cannot find any logs which indicate bandwidth usage? How (or are there) applications which allow you to setup domain's on a dedicate server and restrict their bandwidth/HDD space (including their mysql, etc)???
Logging CPU on a per web site basis isn't really nessecary (although if PHP has logging which I could use to narrow down which site was highest) that would be killer.
Basically I need a way to monitor who is doing what and how much they are consuming on a per web site basis.
Edit: I'm looking into access_log for Apache and it looks very promising.
Cheers