TSMAdmin
The Missing Links To The Resources You Need!
Pages
Home
TSM 5.5 SQL
TSM 6.x SQL
ADSM.org
IBM Sectrum Protect
About TSMAdmin
Resume
Tuesday, April 05, 2016
Find WWN's in AIX
So I use the following script to find WWN's in AIX. Does anyone have a better script they'd like to share?
#!/usr/bin/ksh
CSV=","
for FCSX in `lscfg | grep fcs | awk '{ print $2 }' | sort`
do
echo ${FCSX}${CSV}`lscfg -vl ${FCSX} | grep "Network Address" | sed -e "s/^.*\.//"`${CSV}`lscfg -l ${FCSX} | awk '{ print $2 }'`
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment