Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ncp-diag')
-rwxr-xr-xbin/ncp-diag1
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 }' )"