- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE 3PAR StoreServ Storage
- >
- 3.1.3 MU1 -csvtable
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
08-29-2014 08:06 AM
08-29-2014 08:06 AM
I can't get output in CSV for any command.
For example, when I run the showvv -csvtable command in HP 3PAR CLI it shows me help and csvtable flag is not listed there.
Can someone point me to what I am doing wrong? I will be parsing output in script and figured CSV is the easiest way.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-29-2014 05:41 PM - edited 08-29-2014 05:43 PM
08-29-2014 05:41 PM - edited 08-29-2014 05:43 PM
Solution-csvtable is a CLI option and must be entered on the CLI command line and not after you get in.
If you want to change the value after you enter:
setclienv csvtable 1
If you want to parse the showvv output, you can use -listcols and then -showcols to customize exactly which columns are displayed. And you can suppress headers and totals with -nohdtot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-06-2014 10:51 AM
09-06-2014 10:51 AM
Re: 3.1.3 MU1 -csvtable not working once in CLI
The command line does understand having the option on the command itself: "showvv -csvtable".
You said you are using the CLI - Did you mean the command line in general, or the Windows CLI installation?
The Windows CLI package is an interesting bundle. An executable, CLI.EXE, and a zillion stub batch files that all look like
"CLI <command> <command line options>".
They are handy to talk to the array, especially if you have the TPD variables set. However if you are writing a command file, you may get better results if you bypass the stubs and call the CLI directly:
"cli showvv -csvtable".
The Un*x CLI package is similar. Once again, you may get better results if you copy your public key to the array and use SSH:
"ssh 3paradm@10.1.2.3 showvv -csvtable".
The other thing to watch out for, is if you are using a word processor instead of a text editor to write your command lines. For some reason, the people that create word processors seem to think that when you type an ASCII hyphen, what you really wanted was an "EM-dash" and will change it automatically.
Make sure you are sending "-csvtable" and not "—csvtable". :)
Note: While I work for HP, all of my comments (whether noted or not), are my own and are not any official representation of the company.
----------
If my post was useful, click on my KUDOS! "White Star" !
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-12-2014 07:34 AM - edited 09-15-2014 08:43 AM
09-12-2014 07:34 AM - edited 09-15-2014 08:43 AM
Re: 3.1.3 MU1 -csvtable
Thank you. I was confused and thought every 3par command takes this argument. I didn't realize it was part of 3par cli and not Inform OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-12-2014 07:29 PM - edited 10-05-2014 02:18 PM
09-12-2014 07:29 PM - edited 10-05-2014 02:18 PM
Re: 3.1.3 MU1 -csvtable
>Thank you. ... I didn't realize it was part of 3PAR CLI and not Inform OS.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP