Skip to content

Commit

Permalink
Merge pull request #535 from grooverdan/snap
Browse files Browse the repository at this point in the history
skip snap filesystems
  • Loading branch information
jmrenouard committed Jan 28, 2021
2 parents 22789d1 + 59ce37b commit 47ebbbc
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 @@ -1490,7 +1490,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 47ebbbc

Please sign in to comment.