Merge pull request #1430 from SkynetLabs/fil/disk-usage-root-dirs
Fil/disk usage root dirs
This commit is contained in:
commit
c77e793360
|
@ -23,11 +23,21 @@ dump () {
|
||||||
echo
|
echo
|
||||||
df -h /home/user
|
df -h /home/user
|
||||||
|
|
||||||
|
# Root dirs
|
||||||
|
echo
|
||||||
|
echo "Root dirs:"
|
||||||
|
docker run -v /:/host-root alpine:3.15.0 sh -c 'du -hs /host-root/*' | sed 's#/host-root##'
|
||||||
|
|
||||||
# Home dirs
|
# Home dirs
|
||||||
echo
|
echo
|
||||||
echo "Home dirs:"
|
echo "Home dirs:"
|
||||||
docker run -v /home/user:/home/user alpine:3.15.0 du -hs /home/user/*
|
docker run -v /home/user:/home/user alpine:3.15.0 du -hs /home/user/*
|
||||||
|
|
||||||
|
# Skynet webportal dirs
|
||||||
|
echo
|
||||||
|
echo "skynet-webportal dirs:"
|
||||||
|
docker run -v /home/user:/home/user alpine:3.15.0 du -hs /home/user/skynet-webportal/*
|
||||||
|
|
||||||
# Docker data dirs
|
# Docker data dirs
|
||||||
echo
|
echo
|
||||||
echo "Docker data dirs:"
|
echo "Docker data dirs:"
|
||||||
|
|
Reference in New Issue