- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Question from HP labs -- machine readable output
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
09-28-2004 04:52 AM
09-28-2004 04:52 AM
The Partition Management team would like your input regarding the machine readable output from command-line interfaces. The questions we have specifically address the parstatus and vparstatus commands such as the following two examples.
# /usr/sbin/parstatus -p 0 -M
partition:0 :Active :1 :1 :cab0,cell0:rex01
# /usr/sbin/vparstatus -A -M
6.13;1:6.0.1,6.0.2,6.0.3,6.0.4,6.0.12,6.0.14:0x0/64,0x10000000/448;512:N
Relating to the example commands shown, we would appreciate your feedback by answering the following questions.
1. Do you use the machine readable format? How important is this feature, a must have, important to have, nice to have, or don't care?
2. If you use the machine readable output, how what language do you use to parse the data? Shell, Perl, C/C++, Java, or something else.
3. What do you use the machine readable output for (e.g. to gather inventory information, nightly status, make automated configuration changes, etc.)?
4. Would you prefer an XML format over a character delimited format such as that shown in the examples?
5. If an XML format were provided for the status command associated with a new technology, would it be acceptable to not provide the traditional character delimited output?
Thanks in advance for your time,
The Partition Management Team
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 05:07 AM
09-28-2004 05:07 AM
Solution1. No. Don't care.
2. See number 1
3. See number 1
4. See number 1
5. See number 1
I wasn't even aware that such a thing existed and find it hard to imagine what it might be used for. It will be interesting to me to see what sort of responses you get.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 07:21 PM
09-28-2004 07:21 PM
Re: Question from HP labs -- machine readable output
1. Yes. Nice to have.
2. Perl.
3. Status.
4. Nice to have.
5. Nice to have.
Regards,
Sri Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 07:40 PM
09-28-2004 07:40 PM
Re: Question from HP labs -- machine readable output
2) Don't care
3) Status but, it could be useful to changes, changes to partitions would be once in a blue moon.
4) Don't care
5) Don't care
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 07:43 PM
09-28-2004 07:43 PM
Re: Question from HP labs -- machine readable output
Given the fact that I /might/ use it in the future on machines where vpar is applicable (we only have small machines ourselves, but some customers have large machines), parsing that kind of data is important for me. See also answer to 2.
2. I parse *all* data with perl. Always. And since perl is /the/ ultimate tool for parsing data, I don't care what the data looks like, I can parse it anyway :)
Fixed delimiters is prefered, since split then easily works
3. All of the above and more. Parsing data is a hobby.
4. Nooooooo! Why take away the fun and make things slow?
5. Nooooooo! XML output should be a (non-default) option. But of course, that's just /my/ opinion.
Enjoy, Have FUN! H.Merijn [ who is seeing HPUX::vpar on some horizon ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 08:08 PM
09-28-2004 08:08 PM
Re: Question from HP labs -- machine readable output
2. Perl.
3. Nightly status.
3. Nice to have
4. Nice to have.
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 08:09 PM
09-28-2004 08:09 PM
Re: Question from HP labs -- machine readable output
2. Shell
3. Depends on the command but can be all of the examples listed.
4. No, but XML would be nice as an option
5. Preferably have both as an option, maybe consider going fully over to XML if its found to work well, (and the community thinks its a good idea after using it!)
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 08:13 PM
09-28-2004 08:13 PM
Re: Question from HP labs -- machine readable output
2. Generally shell commands - formats which can easily be fed into awk/cut/perl are the best.
3. All of these - particularly automated config changes
4. Why not? as long as there are still character delimited options as well!
5. No as stated above - it should still be available with character delimited format.
Thanks, and again, good to see HP engineering teams canvassing opinions of us lowly sysadmins!
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 03:07 AM
09-29-2004 03:07 AM
Re: Question from HP labs -- machine readable output
2. shell
3. check status and use for inventory (documentation) purposes.
4. No - character delimited is better.
5. DON'T take away the character!
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 03:14 AM
09-29-2004 03:14 AM
Re: Question from HP labs -- machine readable output
1) yes
2) shell/perl
3) status
4) will we have the choice?
5) No
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 03:22 AM
09-29-2004 03:22 AM
Re: Question from HP labs -- machine readable output
2. Perl, shell
3. config backup, information
4. Will be great
5. Please still provide traditional charcter delimited outpur.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 06:52 AM
09-29-2004 06:52 AM
Re: Question from HP labs -- machine readable output
2) shell, awk
3) nightly status
4) no no no!
5) not acceptable, keep the character output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 09:51 AM
09-29-2004 09:51 AM
Re: Question from HP labs -- machine readable output
2. shell/awk/perl
3. inventory, status
4. no
5. no
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 01:41 PM
09-29-2004 01:41 PM
Re: Question from HP labs -- machine readable output
2. Shell
3. Inventory information
4. No, please!
5. No
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 07:59 PM
09-29-2004 07:59 PM
Re: Question from HP labs -- machine readable output
here is my opinion:
1. Yes nice to have
2. Shell/C/C++
3. Nightly stautus,depend on my system!
4. No! Not at all.
5. No!
Regard,
Jim