With the above and slow log enabled in the config it will automatically work like this:
root@b:/etc/mysql# mysqldumpslow
Reading mysql slow query log from /var/log/mysql/mysql-slow.log Count: 1 Time=0.00s (0s) Lock=0.00s (0s) Rows=0.0 (0), 0users@0hosts
With the above and slow log enabled in the config it will automatically work like this:
root@b:/etc/mysql# mysqldumpslow
Reading mysql slow query log from /var/log/ mysql/mysql- slow.log
Count: 1 Time=0.00s (0s) Lock=0.00s (0s) Rows=0.0 (0), 0users@0hosts