From 9f9269f95dd803c0e11a935ea80fedd67ac00764 Mon Sep 17 00:00:00 2001 From: Roberto de Bem Date: Tue, 27 Aug 2024 21:07:46 -0300 Subject: [PATCH] fixing the jemalloc report enabled --- bin/pt-mysql-summary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pt-mysql-summary b/bin/pt-mysql-summary index 94039a767..df8dad2d7 100755 --- a/bin/pt-mysql-summary +++ b/bin/pt-mysql-summary @@ -2357,7 +2357,7 @@ report_jemalloc_enabled() { local variables_file="$2" local GENERAL_JEMALLOC_STATUS=0 - for pid in $(grep '/mysqld ' "$instances_file" | awk '{print $1;}'); do + for pid in $(grep '/mysqld' "$instances_file" | awk '{print $1;}'); do local jemalloc_status="$(get_var "pt-summary-internal-jemalloc_enabled_for_pid_${pid}" "${variables_file}")" if [ -z $jemalloc_status ]; then continue