How can i do a shell script that notify if command hangs???? example touch
Hello Community,
I do have a storage situation on my servers and sometimes filesystems hangs but still mounted... so, meanwhile i can replace my storage i wanna know when a filesystem hangs because it makes my services fail.
The test i manually do is a simple touch if the command hangs i know then my filesystem is frozen, i've been trying to make it on a script but no success...
Does anyone have an idea?
The typical scripts to know if a file is writable or readable don't detect that.
Regards, Hector