Via HTOP
I detect some Apache scripts running (www-data /usr/sbin/apache2 -k start
) for a long time, or even using a lot of CPU.
In some cases these scripts are the cause of database congestion and/or slow apache server, creating a ripple effect that leaves our systems sluggish or in the worst case, unavailable for use.
I know Apache has mod_status
, but the CIS Benchmarks recommendation is to disable this feature for security, in order to prevent intruders from being able to view this information.
Is it possible via PID to find out which script on my site this process is running?