Run this command:
pcmpath clear device `pcmpath query device | sort -n +2 | grep DEV | awk '{print $2}'| head -1` `pcmpath query device | sort -n +2 | grep DEV | awk '{print $2}'| tail -1` count error
Command can be executed by distributed shell on several hosts:
dsh -e path_to_script_with_command_above
No comments:
Post a Comment