Skip to content

Commit 59ce37b

Browse files
committed
skip snap filesystems
1 parent 2999446 commit 59ce37b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysqltuner.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ sub get_fs_info {
14871487
$v;
14881488
} @sinfo;
14891489
foreach my $info (@sinfo) {
1490-
next if $info =~ m{(\d+)\t/(run|dev|sys|proc)($|/)};
1490+
next if $info =~ m{(\d+)\t/(run|dev|sys|proc|snap)($|/)};
14911491
if ( $info =~ /(\d+)\t(.*)/ ) {
14921492
if ( $1 > 85 ) {
14931493
badprint "mount point $2 is using $1 % total space";

0 commit comments

Comments
 (0)