Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

2203

December 13th, 2011 15:00

SYMCLI - command to extract information about ALL the hosts, into one file.

I am currently on v7.1.0.6. I was hoing some has a command to export/extract information from my VMAX (onto a file) regarding ALL of the information (eg. FBA front/back-end paths, devices, initiators, ports, SG, etc. Information I would like extracted are the Hosts only. Is there acommand for this request?

Thank you.

62 Posts

December 13th, 2011 16:00

Even you can include those hosts that are not logged in but accessed the array earlier .Just check the syntax with sed '/No/d'...where i have deleted all the 'Not logged in Host".Just omit that syntax

I think you can install windows Unix Utility and can run this commands in Windows.But always its better in Unix.

62 Posts

December 13th, 2011 15:00

Try with this --

symaccess -sid 1850 list logins | awk '{print $3}' | sed '/:/d' | sed '/On/d' |

sed '/Node/d' | sed '/----/d' | sed '/^$/d' | sed '/No/d' | sed '/NULL/d' >/tmp/

hosts_list

then sort it to get the unique host name--

sort /tmp/hosts_list | uniq

5 Posts

December 13th, 2011 16:00

I forgot to mention that I'm on Windows Server box. (not UNIX). But you are in the right direction. Thanks.

5 Posts

December 13th, 2011 16:00

Thank you, Arifur.

5 Posts

December 13th, 2011 16:00

What about information that is not "login"?

No Events found!

Top