View each PHP-FPM average occupancy system memory, but also for looking at nginx/mysqld and so on, the PHP-FPM replaced Mysqld
PS--no-headers-o "Rss,cmd"-C php-fpm | awk ' {sum+=$1} END {printf ("%d%s\n", sum/nr/1024, "M")} '
Viewing memory consumption
[Email protected] ~]# PS-YLC php-fpm--sort:rss
S UID PID PPID C PRI NI RSS SZ Wchan TTY time CMD
S 0 3082 1 0 0 6124 53280 Ep_pol? 00:00:00 PHP-FPM
R 3085 3082 9 0 25708 57731-? 00:03:00 PHP-FPM
R 3086 3082 9 0 25712 57731-? 00:03:00 PHP-FPM
R 3083 3082 9 0 25716 57734-? 00:03:00 PHP-FPM
R 3087 3082 9 0 25720 57741-? 00:03:00 PHP-FPM
R 3088 3082 9 0 25732 57738-? 00:02:59 PHP-FPM
R 3090 3082 9 0 25732 57735-? 00:02:59 PHP-FPM
R 3094 3082 9 0 25756 57764-? 00:02:59 PHP-FPM
R 3084 3082 9 0 25808 57764-? 00:03:00 PHP-FPM
R 3092 3082 9 0 25828 57761-? 00:02:59 PHP-FPM
R 3096 3082 9 0 25856 57768-? 00:02:59 PHP-FPM
Nginx/mysql Viewing memory consumption