Skip to content

Commit bd0f8cd

Browse files
authored
Merge pull request #16 from aliyun-node/fix-disk-issue
fix disk issue
2 parents 99e05f1 + 0b2d6ab commit bd0f8cd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

get_disk_usage

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/sh
22

3+
if [ $# != 0 ]; then
4+
df -P $@
5+
exit 0
6+
fi
7+
38
IsInContainer=false
49

510
CGROUP=/proc/1/cgroup

0 commit comments

Comments
 (0)