max_clients
This is an old revision of the document!
ps -H h -ylC httpd | perl -lane '$s+=$F[7];$i++;END{printf"Avg=%.1fMB\n",$s/$i/1024}' </bash> For Ubuntu please change httpd in the code to apache2 <sxh bash> ps -H h -ylC apache2 | perl -lane '$s+=$F[7];$i++;END{printf"Avg=%.1fMB\n",$s/$i/1024}'
max_clients.1427956514.txt.gz · Last modified: 2024/05/23 07:26 (external edit)