-2

So, I have downloaded pt-kill file with:

wget percona.com/get/pt-kill

Now, I tried running it, but everything is not working? How do you run this file?

Wolfdog
  • 123
  • 2

1 Answers1

0
chmod u+x pt-kill
./pt-kill

Of course, you need Perl and likely a number of perl modules installed. Perl will tell you what is missing, but it appears they also included the most important modules into the file.

Jenny D
  • 27,780
  • 21
  • 75
  • 114
Sven
  • 98,649
  • 14
  • 180
  • 226
  • @JennyD Ups :-) – Sven May 12 '18 at 17:37
  • can I install all perl dependecies at once or I need to go one by one? – Wolfdog May 12 '18 at 17:42
  • If you now them all, you can install all at once. If you don't, Perl will stop at the first failed module and name it, so you have to install turn by turn. – Sven May 12 '18 at 17:43
  • ok, I figured out --user and --pasword flags, but command is taking too long to print out stuck proccesses, is there a limit flag? – Wolfdog May 12 '18 at 17:51
  • This is my problem (at least I think it's cuz of this) https://imgur.com/a/vFtJJsa – Wolfdog May 12 '18 at 17:55
  • After I do mysql restart, they just pop up again after some time... This is website in production, so I can't like delete entire sql and reinstall it or something :( – Wolfdog May 12 '18 at 17:59