HP Storage Essentials V5.1 CLI Guide First Edition (T4283-96029, August 2006)

CLI Commands60
The software displays the following:
2 Host:3563:Host_3563
2 Host:1622:ufo
2 Host:1620:challenger
2 Host:1608:YAMATO
2 Host:1607:TIRPITZ
1 Host:3597:Host_3597
1 Host:3594:Host_3594
1 Host:3591:Host_3591
1 Host:3588:Host_3588
The number after the first colon is the identifier for the element. The item after the second colon is
the name of the host.
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.