Merge pull request #174 from percona/PT-89

PT-89 Now top runs using -bn${OPT_RUN_TIME}
This commit is contained in:
Carlos Salguero
2017-03-21 19:25:30 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -142,7 +142,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" &