PT-89 Now top runs using -bn${OPT_RUN_TIME}

This commit is contained in:
Carlos Salguero
2017-03-01 13:30:09 -03:00
parent dfc2f7c772
commit 076864c79e
2 changed files with 2 additions and 2 deletions

View File

@@ -863,7 +863,7 @@ collect() {
fi
ps -eaf >> "$d/$p-ps" &
top -bn1 >> "$d/$p-top" &
top -bn${OPT_RUN_TIME} >> "$d/$p-top" &
[ "$mysqld_pid" ] && _lsof $mysqld_pid >> "$d/$p-lsof" &

View File

@@ -141,7 +141,7 @@ collect() {
# Grab a few general things first. Background all of these so we can start
# them all up as quickly as possible.
ps -eaf >> "$d/$p-ps" &
top -bn1 >> "$d/$p-top" &
top -bn${OPT_RUN_TIME} >> "$d/$p-top" &
[ "$mysqld_pid" ] && _lsof $mysqld_pid >> "$d/$p-lsof" &