Using the "top" command (or a similar command) in Linux, is there anyway to show the vhost that an apache process is associated with in /var/www/html? I have 250 websites on a linux server, and I am trying to associate apache processes with the website that is being accessed.
Asked
Active
Viewed 497 times
1 Answers
0
You can use Apache mod_status for that. Please see module manual for information on how to enable and use it.
I've also found this guide which also shows an example on what information you can get from it.
There is also 3rd party tool called apachetop if you would prefer getting info from the console. But it still relies on mod_status for this. But if you prefer to get that info from the console, that might be of use.

NStorm
- 1,312
- 7
- 18