package com.alibaba.rocketmq.example.verify;

import com.alibaba.rocketmq.common.UtilAll;
import org.apache.commons.cli.*;

public class SelectPartition {
    public static void main(String[] args) throws ParseException {
        Options options = new Options();

        Option option = new Option("p", "path", true, "Paths in CSV");
        options.addOption(option);

        CommandLineParser parser = new DefaultParser();
        CommandLine commandLine = parser.parse(options, args);
        if (!commandLine.hasOption('p')) {
            HelpFormatter helpFormatter = new HelpFormatter();
            helpFormatter.printHelp("Select Partition", options);
            return;
        }

        String pathCSV = commandLine.getOptionValue("p");
        UtilAll.selectPath(pathCSV);

        UtilAll.getDiskPartitionSpaceUsedPercent(pathCSV);
    }
}

@@ -781,32 +781,47 @@
 thCSV);%0A%0A       
+ double ratio =
  UtilAll.getDisk
@@ -856,16 +856,51 @@
 thCSV);%0A
+        System.out.println(ratio);%0A
     %7D%0A%7D%0A

Add test to show disk usage ratio per partition.