mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
Collect df -k instead of df -h. Set log_error with abs path to fix failing t/lib/bash/collect.t test.
This commit is contained in:
@@ -795,7 +795,7 @@ collect() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(echo $ts; df -h) >> "$d/$p-df" &
|
(echo $ts; df -k) >> "$d/$p-df" &
|
||||||
|
|
||||||
(echo $ts; netstat -antp) >> "$d/$p-netstat" &
|
(echo $ts; netstat -antp) >> "$d/$p-netstat" &
|
||||||
(echo $ts; netstat -s) >> "$d/$p-netstat_s" &
|
(echo $ts; netstat -s) >> "$d/$p-netstat_s" &
|
||||||
|
@@ -218,7 +218,7 @@ collect() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(echo $ts; df -h) >> "$d/$p-df" &
|
(echo $ts; df -k) >> "$d/$p-df" &
|
||||||
|
|
||||||
(echo $ts; netstat -antp) >> "$d/$p-netstat" &
|
(echo $ts; netstat -antp) >> "$d/$p-netstat" &
|
||||||
(echo $ts; netstat -s) >> "$d/$p-netstat_s" &
|
(echo $ts; netstat -s) >> "$d/$p-netstat_s" &
|
||||||
|
@@ -22,6 +22,6 @@ log_slave_updates
|
|||||||
server-id = PORT
|
server-id = PORT
|
||||||
report-host = 127.0.0.1
|
report-host = 127.0.0.1
|
||||||
report-port = PORT
|
report-port = PORT
|
||||||
log-error = mysqld.log
|
log-error = /tmp/PORT/data/mysqld.log
|
||||||
innodb_lock_wait_timeout = 3
|
innodb_lock_wait_timeout = 3
|
||||||
log
|
log
|
||||||
|
@@ -22,6 +22,6 @@ log_slave_updates
|
|||||||
server-id = PORT
|
server-id = PORT
|
||||||
report-host = 127.0.0.1
|
report-host = 127.0.0.1
|
||||||
report-port = PORT
|
report-port = PORT
|
||||||
log-error = mysqld.log
|
log-error = /tmp/PORT/data/mysqld.log
|
||||||
innodb_lock_wait_timeout = 3
|
innodb_lock_wait_timeout = 3
|
||||||
log = genlog
|
log = genlog
|
||||||
|
@@ -22,6 +22,6 @@ log_slave_updates
|
|||||||
server-id = PORT
|
server-id = PORT
|
||||||
report-host = 127.0.0.1
|
report-host = 127.0.0.1
|
||||||
report-port = PORT
|
report-port = PORT
|
||||||
log-error = mysqld.log
|
log-error = /tmp/PORT/data/mysqld.log
|
||||||
innodb_lock_wait_timeout = 3
|
innodb_lock_wait_timeout = 3
|
||||||
log = genlog
|
log = genlog
|
||||||
|
@@ -22,7 +22,7 @@ log_slave_updates
|
|||||||
server-id = PORT
|
server-id = PORT
|
||||||
report-host = 127.0.0.1
|
report-host = 127.0.0.1
|
||||||
report-port = PORT
|
report-port = PORT
|
||||||
log-error = mysqld.log
|
log-error = /tmp/PORT/data/mysqld.log
|
||||||
innodb_lock_wait_timeout = 3
|
innodb_lock_wait_timeout = 3
|
||||||
general_log
|
general_log
|
||||||
general_log_file = genlog
|
general_log_file = genlog
|
||||||
|
Reference in New Issue
Block a user