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
|
||||
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
|
||||
echo
|
||||
echo "Home dirs:"
|
||||
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
|
||||
echo
|
||||
echo "Docker data dirs:"
|
||||
|
|
Reference in New Issue