-->Script to get all the FCS cards WWN numbers from a client.
for i in $(lspath|awk '/fscsi/ {print $3}'|uniq|awk -Ffscsi '{print $NF}'); \
do wwn=$(lscfg -vl fcs$i | awk -F. '/Network Address/ {print $NF}'); echo fcs$i $wwn;done
fcs0 C05076038CFC0120
No comments:
Post a Comment