- Community Home
- >
- Storage
- >
- Legacy
- >
- Storage Software
- >
- SSSU Help
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2010 02:20 AM - last edited on 02-16-2014 11:26 PM by Maiko-I
05-02-2010 02:20 AM - last edited on 02-16-2014 11:26 PM by Maiko-I
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2010 02:48 AM
05-02-2010 02:48 AM
Re: SSSU Help
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2010 06:44 PM
05-02-2010 06:44 PM
Re: SSSU Help
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