you will need to write some kind of script (perl/vb) to parse output from "symdg show
Is there a command to list the allocated capacity to an individual device group?  I need to get that for mf_dg and os_dg                            D E V I C E      G R O U P S                                                               Number of  Name               Type     Valid  Symmetrix ID       Devs        GKs       BCVs       VDEVs       TGTs   mf_dg              RDF1     Yes    000190104361       2703          0       2703           0                   0  os_dg              RDF1     Yes    000190104361        494          0        494           0                   0  tsm_dg             RDF1     Yes    000190104361          4          0          4           0                    0
List capacity for individual device groups