From 182d77f0f50c1811de6ceae0dec38b090bc99baa Mon Sep 17 00:00:00 2001 From: Poil Date: Tue, 23 Apr 2024 10:51:03 +0200 Subject: [PATCH] Exclude NFS/CIFS This is to avoid the server stuck when SSHing it when remote share is unavailable --- scripts/00-basic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/00-basic b/scripts/00-basic index 3a8cafc..ac6d117 100755 --- a/scripts/00-basic +++ b/scripts/00-basic @@ -61,6 +61,6 @@ while read line; do # print usage line & bar echo "${line}" | awk '{ printf("%-31s%+3s used out of %+4s\n", $1, $2, $3); }' | sed -e 's/^/ /' echo -e "${bar}" | sed -e 's/^/ /' -done < <(df -H -x zfs -x squashfs -x tmpfs -x devtmpfs -x overlay --output=target,pcent,size | tail -n+2) +done < <(df -H -x zfs -x squashfs -x tmpfs -x devtmpfs -x overlay -x nfs -x nfs4 -x cifs --output=target,pcent,size | tail -n+2) printf "\n"