Skip to content

Commit

Permalink
skip snap filesystems
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Jan 28, 2021
1 parent 2999446 commit 59ce37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ sub get_fs_info {
$v;
} @sinfo;
foreach my $info (@sinfo) {
next if $info =~ m{(\d+)\t/(run|dev|sys|proc)($|/)};
next if $info =~ m{(\d+)\t/(run|dev|sys|proc|snap)($|/)};
if ( $info =~ /(\d+)\t(.*)/ ) {
if ( $1 > 85 ) {
badprint "mount point $2 is using $1 % total space";
Expand Down

0 comments on commit 59ce37b

Please sign in to comment.