Oracle Solaris System Administration (MOSC)

MOSC Banner

How can i do a shell script that notify if command hangs???? example touch

edited Jun 30, 2015 10:07AM in Oracle Solaris System Administration (MOSC) 1 commentAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center