Friday, March 31, 2006

WWN HPUX

#HP-UX FC WWN port/node name extractor

for tach in `ls /dev/td*`
do
echo $tach
fcmsutil $tach|egrep 'Driver state|World Wide Name'
done