adonis0147 commented on code in PR #25565:
URL: https://github.com/apache/doris/pull/25565#discussion_r1363286614
##########
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]