gustavmaskowitz / apachebuddy.pl

Not written by me, no longer maintained by me : Apachebuddy.pl
97 stars 59 forks source link

Question: get_apache_model #21

Open somethingweird opened 10 years ago

somethingweird commented 10 years ago

In get_apache_model()

my $model = $process_name -l | egrep "worker.c|prefork.c";

doesn't work in CENTOS 7.0 when I switch over from prefork to mpm

I had to hack the code to use $process_name -V | egrep "worker|prefork" to determine mpm/worker.