← All recipes

Show Kinsta PHP Workers

Lists out current PHP workers on a site hosted with Kinsta.

ps -e --format "pid uname comm %cpu %mem time" --sort "time" --no-headers | grep php-fpm.* | grep -v "grep" | grep -v "root"

The output will look similar to the following listing the process id, username, command, memory %, CPU % and total time.

 1359 username+   php-fpm7.4     0.0  0.3 00:00:03
 1360 username+   php-fpm7.4     0.0  0.3 00:00:03
 1238 username+   php-fpm7.4     0.0  0.3 00:00:10
Run it across a fleet

Open the console in CaptainCore Manager, pick the target sites, choose this recipe from the Cookbook picker and press run. The CLI streams each site's output back to the dock.

About the console →