Unsolved
This post is more than 5 years old
52 Posts
1
4366
symcli output getting truncated in dos
Is there a way to get symcli output from DOS with out truncating..
Storage Groups (430)
{
-----------------------------------------------
P FAST SG Max SG
FAST r Usage Demand
SG Name Policy i Log (GB) Log (GB)
------------ ------------- - -------- --------
SG_ms212rda* SSD_FC1 2 0 200
SG_ms212rda* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ps212idm* SSD_FC1 2 0 64
SG_ps212idm* SSD_FC1 2 14 435
SG_ps212pas* SSD_FC1 2 9 17
SG_ps212pas* SSD_FC1 2 51 251
SG_ps212pas* SSD_FC1 2 0 1
SG_ps212pas* SSD_FC1 2 1 64
SG_ps212pas* SSD_FC1 2 1 64
SG_ps212pas* SSD_FC1 2 0 64
Look at the ouput, storage group names are completely truncated..
Plz suggest a way to get untruncated output in dos
Harshak
52 Posts
0
April 3rd, 2014 03:00
The output is for
symfast -sid xx list -tech EFD -demand -vp -v
sauravrohilla
859 Posts
1
April 3rd, 2014 03:00
its working as designed due to number of character limitation. One workaround is to use -v with your output. Could you please write the entire command which gives you this output? we may tweak commands with scripts.
e.g:
C:\Users\srohilla.ICI>
C:\Users\srohilla.ICI>symaccess list -type storage -sid 09 -v | findstr /C:_SG
Storage Group Name : Bronze_SG
Storage Group Name : FRA-B2GCUS01_SG
Storage Group Name : fra-pc-b23101_SG
Storage Group Name : fra-pc-b23102_SG
Storage Group Name : fra-pc-b23103_SG
Storage Group Name : fra-pc-b23104_SG
Storage Group Name : fra-pc-b23105_SG
Storage Group Name : fra-pc-b23106_SG
Storage Group Name : fra-pc-b23107_SG
Storage Group Name : fra-pc-b23108_SG
Storage Group Name : Gold_SG
Storage Group Name : Silver_SG
Storage Group Name : VBLOCK_AMP_CLUSTER_SG
seancummins
226 Posts
1
April 3rd, 2014 05:00
Koppuru,
You should be able to see the full names if you use the XML output... just add the "-output xml_e" flag to the command.
You can then try to either read the XML manually, parse it programmatically, or import it into Exel.
Thanks,
- Sean
Harshak
52 Posts
0
April 3rd, 2014 06:00
Is there a way to get this output directly to csv file..Though the output in xml file is coming exactly but it is not user friendly output..
Below is the output of xml file
-
EFD
6604
69
6535
6533
6538
79042
-72504
1
-
VP_R53_EFD
TIER_ASSOC_FP
RAID-5(3+1)
6604
69
6535
6533
6538
M_Salem
213 Posts
0
April 3rd, 2014 06:00
Unfortunately No, however, you can open the XML with MS excel or openoffice and save the output as other formats--> CSV.
Do not open the XML with a text editor or a browser.
Hope it helps
Mohammed Salem @yankoora
Harshak
52 Posts
0
April 3rd, 2014 07:00
is there a way to get untruncated output in dos itself ?
M_Salem
213 Posts
0
April 3rd, 2014 10:00
Nope, Just add -v at the end of the command as koppuru mentioned above.
bhalilov1
114 Posts
3
April 4th, 2014 07:00
use
H:\>set SYMCLI_FULL_NAME=1
H:\>symsg list
..
Flags Number Child
Storage Group Name FMSL Devices SGs
-------------------------------------------
s_VMWARE01 .XP. 87 3
s_VMWARE_GOLD XXC. 87 0
s_VMWARE_PLATINUM .XC. 0 0
s_VMWARE_SILVER .XC. 0 0
verylooooooongnameeeeeee .... 0 0
This will give you full names output for SG, IG, MV, DG, CG etc. Much better than grepping the -v or xml outputs
bhalilov1
114 Posts
0
April 4th, 2014 08:00
Yep you're right, this is a good candidate for feature enhancement
Harshak
52 Posts
0
April 4th, 2014 08:00
Thanks bhalilov for the reply....
Even after setting SYMCLI_FULL_NAME=1 we are not able to get full name of the storage group for the below command..
symfast -sid xx list -tech EFD -demand -vp
cincystorage
2 Intern
2 Intern
•
467 Posts
0
April 4th, 2014 23:00
SYMCLI_FULL_NAME is only supposed in the list command output for symsg, symdg, and symcg.