Did you know about "-Y" ?? I sure didn't... game changer
Apparently, though not documented in man pages or any of the GPFS docs that I've read (at least that I recall), there is a "-Y" option to many/most GPFS commands that provides output in machine readable fashion.... That's right kids... no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic. Why IBM would not document this is beyond me, -B ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
It’s there for sending data to support, primarily. But we do make use of it for report generation. -- Jonathan Fosburgh Principal Application Systems Analyst Storage Team IT Operations jfosburg@mdanderson.org<mailto:jfosburg@mdanderson.org> (713) 745-9346 From: <gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org>> on behalf of Bryan Banister <bbanister@jumptrading.com<mailto:bbanister@jumptrading.com>> Reply-To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Date: Wednesday, April 20, 2016 at 2:02 PM To: "gpfsug main discussion list (gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>)" <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion…. That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic. Why IBM would not document this is beyond me, -B ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.
On 20 April 2016 at 20:02, Bryan Banister <bbanister@jumptrading.com> wrote:
Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion….
That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic.
This is really useful, thanks for sharing! :) -- Dan Foster | Senior Storage Systems Administrator Advanced Computing Research Centre, University of Bristol
If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time. Cheers, Barry On 20/04/2016 20:02, Bryan Banister wrote:
Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion….
That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic.
Why IBM would not document this is beyond me,
-B
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
What's nice is that the "-Y" output provides a HEADER so that you can still programmatically determine fields of interest... this is the best! I recommend adding "-Y" option documentation to all supporting GPFS commands for others to be informed. -Bryan From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 3:39 PM To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time. Cheers, Barry On 20/04/2016 20:02, Bryan Banister wrote: Apparently, though not documented in man pages or any of the GPFS docs that I've read (at least that I recall), there is a "-Y" option to many/most GPFS commands that provides output in machine readable fashion.... That's right kids... no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic. Why IBM would not document this is beyond me, -B ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
Indeed. jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks: I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static. Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer. Jez On 20/04/16 21:46, Bryan Banister wrote:
What’s nice is that the “-Y” output provides a HEADER so that you can still programmatically determine fields of interest… this is the best!
I recommend adding “-Y” option documentation to all supporting GPFS commands for others to be informed.
-Bryan
*From:*gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Barry Evans *Sent:* Wednesday, April 20, 2016 3:39 PM *To:* gpfsug-discuss@spectrumscale.org *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time.
Cheers, Barry
On 20/04/2016 20:02, Bryan Banister wrote:
Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion….
That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic.
Why IBM would not document this is beyond me,
-B
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com> -- This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
So mmlspool does in 4.1.1.3... perhaps my memory fails me. I'm pretty certain Yuri told me that mmlspool was completely unsupported and didn't have -Y a couple of years ago when we did the original GPFS UG RFEs prior to 4.x. I figure that earns cookies. Perhaps in light of the mmbackup thread; "Will fix RFEs for cookies?". Name your price ;-) Jez On 20/04/16 22:12, Jez Tucker wrote:
Indeed.
jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks:
I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static.
Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer.
Jez
On 20/04/16 21:46, Bryan Banister wrote:
What’s nice is that the “-Y” output provides a HEADER so that you can still programmatically determine fields of interest… this is the best!
I recommend adding “-Y” option documentation to all supporting GPFS commands for others to be informed.
-Bryan
*From:*gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Barry Evans *Sent:* Wednesday, April 20, 2016 3:39 PM *To:* gpfsug-discuss@spectrumscale.org *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time.
Cheers, Barry
On 20/04/2016 20:02, Bryan Banister wrote:
Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion….
That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic.
Why IBM would not document this is beyond me,
-B
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com>
-- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com> -- This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
Someone should just make a python API that just abstracts all of this On 20/04/2016 22:18, Jez Tucker wrote:
So mmlspool does in 4.1.1.3... perhaps my memory fails me. I'm pretty certain Yuri told me that mmlspool was completely unsupported and didn't have -Y a couple of years ago when we did the original GPFS UG RFEs prior to 4.x. I figure that earns cookies.
Perhaps in light of the mmbackup thread; "Will fix RFEs for cookies?". Name your price ;-)
Jez
On 20/04/16 22:12, Jez Tucker wrote:
Indeed.
jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks:
I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static.
Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer.
Jez
On 20/04/16 21:46, Bryan Banister wrote:
What’s nice is that the “-Y” output provides a HEADER so that you can still programmatically determine fields of interest… this is the best!
I recommend adding “-Y” option documentation to all supporting GPFS commands for others to be informed.
-Bryan
*From:*gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Barry Evans *Sent:* Wednesday, April 20, 2016 3:39 PM *To:* gpfsug-discuss@spectrumscale.org *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time.
Cheers, Barry
On 20/04/2016 20:02, Bryan Banister wrote:
Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion….
That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic.
Why IBM would not document this is beyond me,
-B
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com>
-- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com>
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Barry Evans Technical Director & Co-Founder Pixit Media http://www.pixitmedia.com -- This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
That's a separate topic from having GPFS CLI commands output machine readable format, -B From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 4:58 PM To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer Someone should just make a python API that just abstracts all of this On 20/04/2016 22:18, Jez Tucker wrote: So mmlspool does in 4.1.1.3... perhaps my memory fails me. I'm pretty certain Yuri told me that mmlspool was completely unsupported and didn't have -Y a couple of years ago when we did the original GPFS UG RFEs prior to 4.x. I figure that earns cookies. Perhaps in light of the mmbackup thread; "Will fix RFEs for cookies?". Name your price ;-) Jez On 20/04/16 22:12, Jez Tucker wrote: Indeed. jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks: I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static. Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer. Jez On 20/04/16 21:46, Bryan Banister wrote: What's nice is that the "-Y" output provides a HEADER so that you can still programmatically determine fields of interest... this is the best! I recommend adding "-Y" option documentation to all supporting GPFS commands for others to be informed. -Bryan From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 3:39 PM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time. Cheers, Barry On 20/04/2016 20:02, Bryan Banister wrote: Apparently, though not documented in man pages or any of the GPFS docs that I've read (at least that I recall), there is a "-Y" option to many/most GPFS commands that provides output in machine readable fashion.... That's right kids... no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic. Why IBM would not document this is beyond me, -B ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com<http://www.pixitmedia.com> -- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com<http://www.pixitmedia.com> [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Barry Evans Technical Director & Co-Founder Pixit Media http://www.pixitmedia.com [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
+1 to a real python API. We have written our own, albeit incomplete, library to expose most of what we need. We would be happy to share some general ideas on what should be included, but a real IBM implementation wouldn't have to do what we did. (Think lots of subprocess.Popen + subprocess.communicate and shredding the output of mm commands. And yes, we wrote a parser which could shred the output of either -Y or tabular format.) Thx Paul From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 5:58 PM To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer Someone should just make a python API that just abstracts all of this On 20/04/2016 22:18, Jez Tucker wrote: So mmlspool does in 4.1.1.3... perhaps my memory fails me. I'm pretty certain Yuri told me that mmlspool was completely unsupported and didn't have -Y a couple of years ago when we did the original GPFS UG RFEs prior to 4.x. I figure that earns cookies. Perhaps in light of the mmbackup thread; "Will fix RFEs for cookies?". Name your price ;-) Jez On 20/04/16 22:12, Jez Tucker wrote: Indeed. jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks: I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static. Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer. Jez On 20/04/16 21:46, Bryan Banister wrote: What's nice is that the "-Y" output provides a HEADER so that you can still programmatically determine fields of interest... this is the best! I recommend adding "-Y" option documentation to all supporting GPFS commands for others to be informed. -Bryan From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 3:39 PM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time. Cheers, Barry On 20/04/2016 20:02, Bryan Banister wrote: Apparently, though not documented in man pages or any of the GPFS docs that I've read (at least that I recall), there is a "-Y" option to many/most GPFS commands that provides output in machine readable fashion.... That's right kids... no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic. Why IBM would not document this is beyond me, -B ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com<http://www.pixitmedia.com> -- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com<http://www.pixitmedia.com> [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Barry Evans Technical Director & Co-Founder Pixit Media http://www.pixitmedia.com [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
Sounds like a candidate for the GPFS UG Git Hub!! https://github.com/gpfsug/gpfsug-tools -B From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Sanchez, Paul Sent: Wednesday, April 20, 2016 5:06 PM To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer +1 to a real python API. We have written our own, albeit incomplete, library to expose most of what we need. We would be happy to share some general ideas on what should be included, but a real IBM implementation wouldn't have to do what we did. (Think lots of subprocess.Popen + subprocess.communicate and shredding the output of mm commands. And yes, we wrote a parser which could shred the output of either -Y or tabular format.) Thx Paul From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 5:58 PM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer Someone should just make a python API that just abstracts all of this On 20/04/2016 22:18, Jez Tucker wrote: So mmlspool does in 4.1.1.3... perhaps my memory fails me. I'm pretty certain Yuri told me that mmlspool was completely unsupported and didn't have -Y a couple of years ago when we did the original GPFS UG RFEs prior to 4.x. I figure that earns cookies. Perhaps in light of the mmbackup thread; "Will fix RFEs for cookies?". Name your price ;-) Jez On 20/04/16 22:12, Jez Tucker wrote: Indeed. jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks: I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static. Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer. Jez On 20/04/16 21:46, Bryan Banister wrote: What's nice is that the "-Y" output provides a HEADER so that you can still programmatically determine fields of interest... this is the best! I recommend adding "-Y" option documentation to all supporting GPFS commands for others to be informed. -Bryan From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 3:39 PM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time. Cheers, Barry On 20/04/2016 20:02, Bryan Banister wrote: Apparently, though not documented in man pages or any of the GPFS docs that I've read (at least that I recall), there is a "-Y" option to many/most GPFS commands that provides output in machine readable fashion.... That's right kids... no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic. Why IBM would not document this is beyond me, -B ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com<http://www.pixitmedia.com> -- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com<http://www.pixitmedia.com> [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Barry Evans Technical Director & Co-Founder Pixit Media http://www.pixitmedia.com [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
I'd suggest you attend the UK UG in May then ... ref Agenda: http://www.gpfsug.org/may-2016-uk-user-group/ On 20/04/16 23:08, Bryan Banister wrote:
Sounds like a candidate for the GPFS UG Git Hub!!
https://github.com/gpfsug/gpfsug-tools
-B
*From:*gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Sanchez, Paul *Sent:* Wednesday, April 20, 2016 5:06 PM *To:* gpfsug main discussion list *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
+1 to a real python API.
We have written our own, albeit incomplete, library to expose most of what we need. We would be happy to share some general ideas on what should be included, but a real IBM implementation wouldn’t have to do what we did. (Think lots of subprocess.Popen + subprocess.communicate and shredding the output of mm commands. And yes, we wrote a parser which could shred the output of either –Y or tabular format.)
Thx
Paul
*From:*gpfsug-discuss-bounces@spectrumscale.org <mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Barry Evans *Sent:* Wednesday, April 20, 2016 5:58 PM *To:* gpfsug-discuss@spectrumscale.org <mailto:gpfsug-discuss@spectrumscale.org> *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
Someone should just make a python API that just abstracts all of this
On 20/04/2016 22:18, Jez Tucker wrote:
So mmlspool does in 4.1.1.3... perhaps my memory fails me. I'm pretty certain Yuri told me that mmlspool was completely unsupported and didn't have -Y a couple of years ago when we did the original GPFS UG RFEs prior to 4.x. I figure that earns cookies.
Perhaps in light of the mmbackup thread; "Will fix RFEs for cookies?". Name your price ;-)
Jez
On 20/04/16 22:12, Jez Tucker wrote:
Indeed.
jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks:
I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static.
Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer.
Jez
On 20/04/16 21:46, Bryan Banister wrote:
What’s nice is that the “-Y” output provides a HEADER so that you can still programmatically determine fields of interest… this is the best!
I recommend adding “-Y” option documentation to all supporting GPFS commands for others to be informed.
-Bryan
*From:*gpfsug-discuss-bounces@spectrumscale.org <mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Barry Evans *Sent:* Wednesday, April 20, 2016 3:39 PM *To:* gpfsug-discuss@spectrumscale.org <mailto:gpfsug-discuss@spectrumscale.org> *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time.
Cheers, Barry
On 20/04/2016 20:02, Bryan Banister wrote:
Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion….
That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic.
Why IBM would not document this is beyond me,
-B
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
--
Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com>
--
Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com>
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
--
Barry Evans Technical Director & Co-Founder Pixit Media
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com> -- This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
Btw. If anyone wants to add anything to the UG github, just send a pull request. Jez On 20/04/16 23:08, Bryan Banister wrote:
Sounds like a candidate for the GPFS UG Git Hub!!
https://github.com/gpfsug/gpfsug-tools
-B
*From:*gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Sanchez, Paul *Sent:* Wednesday, April 20, 2016 5:06 PM *To:* gpfsug main discussion list *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
+1 to a real python API.
We have written our own, albeit incomplete, library to expose most of what we need. We would be happy to share some general ideas on what should be included, but a real IBM implementation wouldn’t have to do what we did. (Think lots of subprocess.Popen + subprocess.communicate and shredding the output of mm commands. And yes, we wrote a parser which could shred the output of either –Y or tabular format.)
Thx
Paul
*From:*gpfsug-discuss-bounces@spectrumscale.org <mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Barry Evans *Sent:* Wednesday, April 20, 2016 5:58 PM *To:* gpfsug-discuss@spectrumscale.org <mailto:gpfsug-discuss@spectrumscale.org> *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
Someone should just make a python API that just abstracts all of this
On 20/04/2016 22:18, Jez Tucker wrote:
So mmlspool does in 4.1.1.3... perhaps my memory fails me. I'm pretty certain Yuri told me that mmlspool was completely unsupported and didn't have -Y a couple of years ago when we did the original GPFS UG RFEs prior to 4.x. I figure that earns cookies.
Perhaps in light of the mmbackup thread; "Will fix RFEs for cookies?". Name your price ;-)
Jez
On 20/04/16 22:12, Jez Tucker wrote:
Indeed.
jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks:
I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static.
Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer.
Jez
On 20/04/16 21:46, Bryan Banister wrote:
What’s nice is that the “-Y” output provides a HEADER so that you can still programmatically determine fields of interest… this is the best!
I recommend adding “-Y” option documentation to all supporting GPFS commands for others to be informed.
-Bryan
*From:*gpfsug-discuss-bounces@spectrumscale.org <mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Barry Evans *Sent:* Wednesday, April 20, 2016 3:39 PM *To:* gpfsug-discuss@spectrumscale.org <mailto:gpfsug-discuss@spectrumscale.org> *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time.
Cheers, Barry
On 20/04/2016 20:02, Bryan Banister wrote:
Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion….
That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic.
Why IBM would not document this is beyond me,
-B
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
--
Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com>
--
Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com>
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
--
Barry Evans Technical Director & Co-Founder Pixit Media
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
we have a parser, but not an actual API, in case someone is interested. https://github.com/hpcugent/vsc-filesystems/blob/master/lib/vsc/filesystem/g... anyway, from my experience, the best man page for the mm* commands is reading the bash scripts themself, they often contain other useful but undocumented options ;) stijn On 04/21/2016 02:10 AM, Jez Tucker wrote:
Btw. If anyone wants to add anything to the UG github, just send a pull request.
Jez
On 20/04/16 23:08, Bryan Banister wrote:
Sounds like a candidate for the GPFS UG Git Hub!!
https://github.com/gpfsug/gpfsug-tools
-B
*From:*gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Sanchez, Paul *Sent:* Wednesday, April 20, 2016 5:06 PM *To:* gpfsug main discussion list *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
+1 to a real python API.
We have written our own, albeit incomplete, library to expose most of what we need. We would be happy to share some general ideas on what should be included, but a real IBM implementation wouldn’t have to do what we did. (Think lots of subprocess.Popen + subprocess.communicate and shredding the output of mm commands. And yes, we wrote a parser which could shred the output of either –Y or tabular format.)
Thx
Paul
*From:*gpfsug-discuss-bounces@spectrumscale.org <mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Barry Evans *Sent:* Wednesday, April 20, 2016 5:58 PM *To:* gpfsug-discuss@spectrumscale.org <mailto:gpfsug-discuss@spectrumscale.org> *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
Someone should just make a python API that just abstracts all of this
On 20/04/2016 22:18, Jez Tucker wrote:
So mmlspool does in 4.1.1.3... perhaps my memory fails me. I'm pretty certain Yuri told me that mmlspool was completely unsupported and didn't have -Y a couple of years ago when we did the original GPFS UG RFEs prior to 4.x. I figure that earns cookies.
Perhaps in light of the mmbackup thread; "Will fix RFEs for cookies?". Name your price ;-)
Jez
On 20/04/16 22:12, Jez Tucker wrote:
Indeed.
jtucker@elmo:~$ mmlsfs all -Y
mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks:
I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static.
Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer.
Jez
On 20/04/16 21:46, Bryan Banister wrote:
What’s nice is that the “-Y” output provides a HEADER so that you can still programmatically determine fields of interest… this is the best!
I recommend adding “-Y” option documentation to all supporting GPFS commands for others to be informed.
-Bryan
*From:*gpfsug-discuss-bounces@spectrumscale.org <mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] *On Behalf Of *Barry Evans *Sent:* Wednesday, April 20, 2016 3:39 PM *To:* gpfsug-discuss@spectrumscale.org <mailto:gpfsug-discuss@spectrumscale.org> *Subject:* Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer
If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time.
Cheers, Barry
On 20/04/2016 20:02, Bryan Banister wrote:
Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion….
That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic.
Why IBM would not document this is beyond me,
-B
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com>
-- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com <http://www.pixitmedia.com>
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
--
Barry Evans Technical Director & Co-Founder Pixit Media
This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
------------------------------------------------------------------------
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Last year I wrote a python package to plot the I/O volume our clusters were generating. In order to do that I ended up reverse-engineering the mmsdrfs file format so that I could determine which NSDs were in which filesystems and served by which NSD servers - basic cluster topology. Everything I was able to figure out is in this python module: https://bitbucket.org/rrs42/iographer/src/6d410073fc39b448a4742da7bb1a9ecf25... And if anyone is interested in the package the repository is hosted here: https://bitbucket.org/rrs42/iographer -- Russell Steffen HPC Systems Analyst/Systems Administrator, N63 Fleet Numerical Meteorology and Oceanograph Center russell.steffen1@navy.mil, Phone 831-656-4218 ________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Sanchez, Paul [Paul.Sanchez@deshaw.com] Sent: Wednesday, April 20, 2016 3:06 PM To: gpfsug main discussion list Subject: [Non-DoD Source] Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer +1 to a real python API. We have written our own, albeit incomplete, library to expose most of what we need. We would be happy to share some general ideas on what should be included, but a real IBM implementation wouldn’t have to do what we did. (Think lots of subprocess.Popen + subprocess.communicate and shredding the output of mm commands. And yes, we wrote a parser which could shred the output of either –Y or tabular format.) Thx Paul From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 5:58 PM To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer Someone should just make a python API that just abstracts all of this On 20/04/2016 22:18, Jez Tucker wrote: So mmlspool does in 4.1.1.3... perhaps my memory fails me. I'm pretty certain Yuri told me that mmlspool was completely unsupported and didn't have -Y a couple of years ago when we did the original GPFS UG RFEs prior to 4.x. I figure that earns cookies. Perhaps in light of the mmbackup thread; "Will fix RFEs for cookies?". Name your price ;-) Jez On 20/04/16 22:12, Jez Tucker wrote: Indeed. jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks: I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static. Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer. Jez On 20/04/16 21:46, Bryan Banister wrote: What’s nice is that the “-Y” output provides a HEADER so that you can still programmatically determine fields of interest… this is the best! I recommend adding “-Y” option documentation to all supporting GPFS commands for others to be informed. -Bryan From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 3:39 PM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time. Cheers, Barry On 20/04/2016 20:02, Bryan Banister wrote: Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion…. That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic. Why IBM would not document this is beyond me, -B ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss [X] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com<http://www.pixitmedia.com> -- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com<http://www.pixitmedia.com> [X] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Barry Evans Technical Director & Co-Founder Pixit Media http://www.pixitmedia.com [X] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.
All, Does the unit of measure for *all* fields default to the same as if you ran the command without “-Y”? For example: mmlsquota:user:HEADER:version:reserved:reserved:filesystemName:quotaType:id:name:blockUsage:blockQuota:blockLimit:blockInDoubt:blockGrace:filesUsage:filesQuota:filesLimit:filesInDoubt:filesGrace:remarks:fid:filesetname: blockUsage, blockLimit, and blockInDoubt are in KB, which makes sense, since that’s the default. But what about blockGrace if a user is over quota? Will it also contain output in varying units of measure (“6 days” or “2 hours” or “expired”) just like without the “-Y”? I think this points to Bryan being right “-Y” should be documented somewhere / somehow. Thanks… Kevin On Apr 20, 2016, at 4:12 PM, Jez Tucker <jtucker@pixitmedia.com<mailto:jtucker@pixitmedia.com>> wrote: Indeed. jtucker@elmo:~$ mmlsfs all -Y mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks: I must say I've not seen any headers increment above 0:1 since ... er .. 3.3(?), so they're pretty static. Now, if only mmlspool supported -Y ... or if _all_ commands supported -Y, I might even FedEX beer. Jez On 20/04/16 21:46, Bryan Banister wrote: What’s nice is that the “-Y” output provides a HEADER so that you can still programmatically determine fields of interest… this is the best! I recommend adding “-Y” option documentation to all supporting GPFS commands for others to be informed. -Bryan From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Barry Evans Sent: Wednesday, April 20, 2016 3:39 PM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Did you know about "-Y" ?? I sure didn't... game changer If you build a monitoring pipeline using -Y output, make sure you test between revisions before upgrading. The columns do have a tendency to change from time to time. Cheers, Barry On 20/04/2016 20:02, Bryan Banister wrote: Apparently, though not documented in man pages or any of the GPFS docs that I’ve read (at least that I recall), there is a “-Y” option to many/most GPFS commands that provides output in machine readable fashion…. That’s right kids… no more parsing obscure, often changed output columns with your favorite bash/awk/python/magic. Why IBM would not document this is beyond me, -B ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss -- Jez Tucker Head of Research & Development Pixit Media Mobile: +44 (0) 776 419 3820 www.pixitmedia.com<http://www.pixitmedia.com/> [http://pixitmedia.com/sig/sig-cio.jpg] This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633
participants (10)
-
Barry Evans -
Bryan Banister -
Buterbaugh, Kevin L -
Dan Foster -
Fosburgh,Jonathan -
Jez Tucker -
Jez Tucker -
Sanchez, Paul -
Steffen, Russell CIV FNMOC, N63 -
Stijn De Weirdt
