diff --git a/Ceph/Script/cephUsage.pl b/Ceph/Script/cephUsage.pl index cb94238f83893fce61728a5afad966c3f33274fc..b9fe3d5bad2fe732257481a736bf33626c360b12 100755 --- a/Ceph/Script/cephUsage.pl +++ b/Ceph/Script/cephUsage.pl @@ -142,7 +142,7 @@ if (defined $opt_filter) { } # Fetch the data and put it in an array -my @_data = `$cephCmd df detail`; +my @_data = `$cephCmd df`; chomp @_data; my %poolHash; @@ -155,10 +155,6 @@ foreach my $_line (@_data) $skipNext = 0; next; } - if ($_line =~ m/^\w+/) { - $skipNext = 1; - next; - } $_line =~ s/^\s+//; my @fields = split(/\s+/, $_line); if ($_line =~ m/TOTAL/) {