HP Storage Essentials V5.00.01 CLI guide (T4283-96015, January 2006)

CLI Commands56
Sort Storage Systems by Number of Fabrics Connected
To sort the storage systems by the number of fabrics connected, enter the following at the command
prompt:
# appiqlist -fabric -all -storagesystem | grep "^StorageSystem:" | sort |
uniq -c | sort -rn
The software displays the following:
6 StorageSystem:1616:000183500570 (Symm48:3830)
4 StorageSystem:3536:HITACHI DISK-SUBSYSTEM 0118
2 StorageSystem:3527:DGC LUNZ 0099
2 StorageSystem:1618:LSI2400
2 StorageSystem:1019:LSI4600
The number after the first colon is the identifier for the element. The item after the second colon is the
name of the storage system.
Search Fabrics for Zone Sets with the Same Name
To obtain a list of fabrics with zone sets with the same name, enter the following at the command
prompt:
# appiqlist -fabric -all -zoneset | grep "^ZoneSet:" | cut -d':' -f3 | sort
| uniq -c | sort -rn
The software displays the following:
3 QAConfig01
3 DevConfig01
2 QAConfig03
2 QAConfig02
2 DevConfig03
1 test98798798
1 test650
1 test
The first item is the number of zone sets with the same name. The second item is the name of the
zone set.
Sort All Zones in All Fabrics by Zone Name
To sort all zones in all fabrics by zone name, enter the following at the command prompt:
# appiqlist -fabric -all -zone | grep "^Zone:" | cut -d':' -f3 | sort
The software displays the following:
BobsLP8000_FA13B
BobsLP8000_FA13B
Challenger_FA13A
Challenger_FA16A
The names of the zones are displayed.