I have a loop that I use to get this info, if I need it. Note, this is ksh, and our naming standard is to end all storage groups with '_SG', so I grep for that. Make sure to replace it with something that fits your standard.
for x in $(cat devs)
do
y=$(symaccess -sid -type storage list dev $x | grep _SG | tr -d '\n')
dynamox
11 Legend
•
20419 Posts
•
87439 Points
927
0
Posted September 26th, 2016 19:00
use findstr/grep/awk/sed ..