Is there any way of establishing what vhosts are keeping Apache processes busy, in real time?
Ideally I'd like a tool like top
(or htop
) that shows me which sites are busiest, or most costly, right now.
Could a tool like this be built on mod_log_forensic, which writes a strict log of when each request starts and ends? It wouldn't give you process IDs or CPU time, only the elapsed time from start to finish, but it might help track down leaky or long-running requests.