Not the answer you need?
Register and ask your own question!

pt-query-digest: getting PERL compilation error message

Michel ZaarourMichel Zaarour EntrantCurrent User Role Beginner
Hi,

My goal is to run pt-query-digest tool.

I first run on our Linux machine:
tcpdump -s 65535 -x -nn -q -tttt -i any -c 9999999 port 3306 | gzip -c > /tmp/tcpdump.txt.gz

Then I run:
gunzip -c /tmp/tcpdump.txt.gz | ./pt-query-digest --type tcpdump > /tmp/digest_output.txt


With the second command, I am getting the following errors with PERL:

[[email protected] bin]# gunzip -c /tmp/tcpdump.txt.gz | ./pt-query-digest --type tcpdump > /tmp/digest_output.txt
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./pt-query-digest line 3165.
BEGIN failed--compilation aborted at ./pt-query-digest line 3165.
[[email protected] bin]#

Any idea on how to solve this error message on PERL?

Thanks,
Michel Z.

Comments

Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.