#!/usr/bin/env bash while read _ _ mount _; do read -t1 < <(stat -t "$mount") || echo "$(date) ${mount} timeout $(lsof -b 2>/dev/null | grep "${mount}")"; done < <(mount -t nfs) >> /var/log/nfs.err