Stop broken NFS mounts from locking a directory using df command

16

The trick is to use the command timeout

So the ideal way is timeout 2 df -kh , here 2 is the timeout in seconds.

 

Source stackexchange
Comments