diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-01-10 16:31:55 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-01-10 16:31:55 +0300 |
commit | db322f2d095e14d501b34e82c6acd3ab0ece03e0 (patch) | |
tree | 1f0348c79f788f7f9506e1bbe536e1a78bacdcbf /bin/ncp-diag | |
parent | 0587ca339c26b6a865cbd2f42ff5b6e6cd5d0cbb (diff) |
nc-swapfile: improved, and take BTRFS into accountv0.44.12
Diffstat (limited to 'bin/ncp-diag')
-rwxr-xr-x | bin/ncp-diag | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp-diag b/bin/ncp-diag index 6289fb98..e58afe72 100755 --- a/bin/ncp-diag +++ b/bin/ncp-diag @@ -32,6 +32,7 @@ echo "datadir|$DATADIR$DIRINFO" echo "data disk usage|$( df -h "$DATADIR" | tail -1 | awk '{ print $3"/"$2 }')" } echo "rootfs usage|$( df -h / | tail -1 | awk '{ print $3"/"$2 }')" +echo "swapfile|$( swapon | tail -1 | awk '{ print $1 }' )" # Nextcloud VERSION="$( sudo -u www-data php /var/www/nextcloud/occ status | grep "version:" | awk '{ print $3 }' )" |