Hi,
For 1, there is already mentioned in documentation that where default config files can be. Check this https://www.percona.com/doc/percona-toolkit/2.2/configuration_files.html#read-order
For 2, Unable to reproduce the error. Can you try to check with later version 2.2.14? Also is it possible for you to provide test case?
nilnandan@desktop:~$ sudo pt-stalk --no-stalk --iterations=2 --sleep=30 --config=/home/nilnandan/.my.cnf --dest=/home/nilnandan 2015_06_09_14_12_10 Starting /usr/bin/pt-stalk --function=status --variable=Threads_running --threshold=25 --match= --cycles=0 --interval=1 --iterations=2 --run-time=30 --sleep=30 --dest=/home/nilnandan --prefix= --notify-by-email= --log=/var/log/pt-stalk.log --pid=/var/run/pt-stalk.pid --plugin= 2015_06_09_14_12_10 Not stalking; collect triggered immediately 2015_06_09_14_12_10 Collect 1 triggered 2015_06_09_14_12_10 Collect 1 PID 24848 2015_06_09_14_14_01 Collect 1 done 2015_06_09_14_14_01 Sleeping 30 seconds after collect 2015_06_09_14_14_31 Not stalking; collect triggered immediately 2015_06_09_14_14_31 Collect 2 triggered 2015_06_09_14_14_31 Collect 2 PID 16965 2015_06_09_14_14_31 Collect 2 done 2015_06_09_14_14_31 Waiting up to 90 seconds for subprocesses to finish... 2015_06_09_14_15_02 Exiting because no more iterations 2015_06_09_14_15_02 /usr/bin/pt-stalk exit status 0 nilnandan@desktop:~$ nilnandan@desktop:~$ pt-stalk --version pt-stalk 2.2.14 nilnandan@desktop:~$
Hi,
For 1, there is already mentioned in documentation that where default config files can be. Check this /www.percona. com/doc/ percona- toolkit/ 2.2/configurati on_files. html#read- order
https:/
For 2, Unable to reproduce the error. Can you try to check with later version 2.2.14? Also is it possible for you to provide test case?
nilnandan@ desktop: ~$ sudo pt-stalk --no-stalk --iterations=2 --sleep=30 --config= /home/nilnandan /.my.cnf --dest= /home/nilnandan Threads_ running --threshold=25 --match= --cycles=0 --interval=1 --iterations=2 --run-time=30 --sleep=30 --dest= /home/nilnandan --prefix= --notify-by-email= --log=/ var/log/ pt-stalk. log --pid=/ var/run/ pt-stalk. pid --plugin= desktop: ~$ desktop: ~$ pt-stalk --version desktop: ~$
2015_06_09_14_12_10 Starting /usr/bin/pt-stalk --function=status --variable=
2015_06_09_14_12_10 Not stalking; collect triggered immediately
2015_06_09_14_12_10 Collect 1 triggered
2015_06_09_14_12_10 Collect 1 PID 24848
2015_06_09_14_14_01 Collect 1 done
2015_06_09_14_14_01 Sleeping 30 seconds after collect
2015_06_09_14_14_31 Not stalking; collect triggered immediately
2015_06_09_14_14_31 Collect 2 triggered
2015_06_09_14_14_31 Collect 2 PID 16965
2015_06_09_14_14_31 Collect 2 done
2015_06_09_14_14_31 Waiting up to 90 seconds for subprocesses to finish...
2015_06_09_14_15_02 Exiting because no more iterations
2015_06_09_14_15_02 /usr/bin/pt-stalk exit status 0
nilnandan@
nilnandan@
pt-stalk 2.2.14
nilnandan@