adonis0147 commented on code in PR #25565:
URL: https://github.com/apache/doris/pull/25565#discussion_r1363297791


##########
fe/fe-common/src/main/java/org/apache/doris/common/io/DiskUtils.java:
##########
@@ -46,52 +44,83 @@ public static Df df(String dir) {
             return df;
         }
 
+
         Process process;
         try {
-            process = Runtime.getRuntime().exec("df " + dir);
+            process = Runtime.getRuntime().exec("df -k " + dir);

Review Comment:
   What about using `df -h`?
   ```suggestion
               process = Runtime.getRuntime().exec("df -h " + dir);
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to