Downloaded & Install Percona Toolkit on my CENTOS 5.7 x86_64 virtuozzo on dedicated server. I have been testing the pt-kill tool commands I need in SSH manually to make sure it does what I need. I have come up with this:
pt-kill --idle-time 20 --busy-time 45 --kill --victims all --interval 5
I am new to this software and I am trying to run the pt-kill tool automatically at apache/system start up. Can someone guide me on how to do this. Will the command line format change for this scenario?
Thanks in advance