PT-1554 Tests for ps 5.7

This commit is contained in:
Carlos Salguero
2018-05-26 15:07:38 -03:00
parent b79a6c621b
commit b9b152a395
15 changed files with 13 additions and 9 deletions

View File

@@ -2265,7 +2265,7 @@ report_jemalloc_enabled() {
local GENERAL_JEMALLOC_STATUS=0
local JEMALLOC_LOCATION=''
for PID in $(pidof mysqld); do
for pid in $(pidof mysqld); do
grep -qc jemalloc /proc/${pid}/environ || ldd $(which mysqld) 2>/dev/null | grep -qc jemalloc
jemalloc_status=$?
if [ $jemalloc_status = 1 ]; then