<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Someone should just make a python API that just abstracts all of
this<br>
<br>
<div class="moz-cite-prefix">On 20/04/2016 22:18, Jez Tucker wrote:<br>
</div>
<blockquote cite="mid:5717F224.2010100@pixitmedia.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
So mmlspool does in 4.1.1.3... perhaps my memory fails me.<br>
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.<br>
<br>
Perhaps in light of the mmbackup thread; "Will fix RFEs for
cookies?". Name your price ;-)<br>
<br>
Jez<br>
<br>
<div class="moz-cite-prefix">On 20/04/16 22:12, Jez Tucker wrote:<br>
</div>
<blockquote cite="mid:5717F0AA.8050901@pixitmedia.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Indeed.<br>
<br>
jtucker@elmo:~$ mmlsfs all -Y<br>
mmlsfs::HEADER:version:reserved:reserved:deviceName:fieldName:data:remarks:<br>
<br>
I must say I've not seen any headers increment above 0:1 since
... er .. 3.3(?), so they're pretty static.<br>
<br>
Now, if only mmlspool supported -Y ... or if _all_ commands
supported -Y, I might even FedEX beer.<br>
<br>
Jez<br>
<br>
<br>
<div class="moz-cite-prefix">On 20/04/16 21:46, Bryan Banister
wrote:<br>
</div>
<blockquote
cite="mid:21BC488F0AEA2245B2C3E83FC0B33DBB060A31FF@CHI-EXCHANGEW1.w2k.jumptrading.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">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!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I recommend
adding “-Y” option documentation to all supporting GPFS
commands for others to be informed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-Bryan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:gpfsug-discuss-bounces@spectrumscale.org">gpfsug-discuss-bounces@spectrumscale.org</a>
[<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="mailto:gpfsug-discuss-bounces@spectrumscale.org">mailto:gpfsug-discuss-bounces@spectrumscale.org</a>]
<b>On Behalf Of </b>Barry Evans<br>
<b>Sent:</b> Wednesday, April 20, 2016 3:39 PM<br>
<b>To:</b> <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:gpfsug-discuss@spectrumscale.org">gpfsug-discuss@spectrumscale.org</a><br>
<b>Subject:</b> Re: [gpfsug-discuss] Did you know
about "-Y" ?? I sure didn't... game changer<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<br>
<br>
Cheers,<br>
Barry<o:p></o:p></p>
<div>
<p class="MsoNormal">On 20/04/2016 20:02, Bryan Banister
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">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….<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">That’s right kids… no more parsing
obscure, often changed output columns with your favorite
bash/awk/python/magic.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Why IBM would not document this is
beyond me,<o:p></o:p></p>
<p class="MsoNormal">-B<o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><o:p> </o:p></span></p>
<div class="MsoNormal" style="text-align:center"
align="center"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif"">
<hr align="center" size="2" width="100%"> </span></div>
<p class="MsoNormal"><span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray"><br>
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.<br>
</span><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>gpfsug-discuss mailing list<o:p></o:p></pre>
<pre>gpfsug-discuss at spectrumscale.org<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:windowtext"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:windowtext"><img
moz-do-not-send="true" id="_x0000_i1026"
src="http://pixitmedia.com/sig/sig-cio.jpg"
border="0"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:windowtext">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.<o:p></o:p></span></p>
</div>
</div>
<br>
<hr> <font color="Gray" size="1" face="Arial"><br>
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.<br>
</font> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<div> <font color="#000000" face="arial"> Jez Tucker<br>
Head of Research & Development<br>
<font color="#FF0000">Pixit Media</font><br>
Mobile: +44 (0) 776 419 3820<br>
<a moz-do-not-send="true" href="http://www.pixitmedia.com">www.pixitmedia.com</a><br>
</font> </div>
</div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div> <font color="#000000" face="arial"> Jez Tucker<br>
Head of Research & Development<br>
<font color="#FF0000">Pixit Media</font><br>
Mobile: +44 (0) 776 419 3820<br>
<a moz-do-not-send="true" href="http://www.pixitmedia.com">www.pixitmedia.com</a><br>
</font> </div>
</div>
<br>
<div><img moz-do-not-send="true"
src="http://pixitmedia.com/sig/sig-cio.jpg"></div>
<div>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.</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
<a class="moz-txt-link-freetext" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<!-- HTML Codes by Quackit.com -->
<title>
</title>
<meta name="viewport" content="width=device-width,
initial-scale=1">
<style type="text/css">
body {background-color:ffffff;background-repeat:no-repeat;background-position:top left;background-attachment:fixed;}
h1{font-family:Cursive;color:000000;}
p {font-family:Arial;font-size:15px;font-style:normal;font-weight:normal;color:000000;}
</style>
<p>Barry Evans<br>
Technical Director & Co-Founder<br>
<font color="red">Pixit Media</font><br>
<br>
<a href="http://www.pixitmedia.com">http://www.pixitmedia.com</a></p>
</div>
</body>
</html>
<br>
<div><img src="http://pixitmedia.com/sig/sig-cio.jpg"></div><div>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.</div>