Storage Software
1827331 Members
6214 Online
109963 Solutions
New Discussion

SSSU Help

 
Acxiom Unix Team
Frequent Advisor

SSSU Help

Hi,

When using SSSU is there a way of pulling out particular data from a report. For example if i run the command LS DISK FULL all i am interested in is the Disk Firmware Version.

I am sure i once read somewhere about you could grep for certain fields but i could well be wrong.

So can i run LS DISK FULL and grep for a the firmwareversion? Or do i have to send the output to a text file and then sort it out afterwards?

FYI. Running CV9.1 and i am running SSSU on a WIndows server.

 

 

P.S. This thread has been moevd from Disk array to HP Storage System Scripting Utility (SSSU). - Hp Forum MOderator

Where is my beer...??
2 REPLIES 2
P Muralidhar Kini
Honored Contributor

Re: SSSU Help

Hi Andrew,

Yes. You can execute the SSSU commands and redirect its output to the file. You could then parse it using perl or any other scripting language to search for the required string.

Check this out -
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1247567

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
susanta_dutta
Trusted Contributor

Re: SSSU Help

Hi Andrew,

Command View 9.0 onward, you can use operator | along with grep keyword to filter the output.

An Example:


EVA> ls disk full | grep firmwareversion

\Disk Groups\22\Disk 001 information:
firmwareversion ......................: HP02

\Disk Groups\22\Disk 002 information:
firmwareversion ......................: HP01

\Disk Groups\22\Disk 003 information:
firmwareversion ......................: HP02

\Disk Groups\22\Disk 004 information:
firmwareversion ......................: HP01

\Disk Groups\22\Disk 005 information:
firmwareversion ......................: HP01

EVA>

You can also redirect output to a file using following command:

EVA> ls disk full | grep firmwareversion > c:\data.txt

For more details, refer "Filtering output" section in document titled "HP StorageWorks Storage System Scripting Utility reference guide" available at http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02010693/c02010693.pdf

Regards
Susanta