<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:33:30 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-17205] Prefix each lctl get_param output line with -H</title>
                <link>https://jira.whamcloud.com/browse/LU-17205</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Add a new &apos;-H&apos; option to &apos;&lt;tt&gt;lctl get_param&lt;/tt&gt;&apos; that will prefix each output line with the parameter name instead of only the first line by default.&lt;br/&gt;
&#160; &#160;&#160;&lt;br/&gt;
That makes grepping &lt;tt&gt;lctl get_param&lt;/tt&gt; with wildcards much easier as you can now easily now which parameter returns which value:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;$ lctl get_param -H osc.*.state | grep current
osc.lustre-OST0000-osc-ff1148c0.state=current_state: FULL
osc.lustre-OST0001-osc-ff1248c0.state=current_state: DISCONN
osc.lustre-OST0002-osc-ff1348c0.state=current_state: FULL
osc.lustre-OST0003-osc-ff1448c0.state=current_state: FULL
osc.lustre-OST0004-osc-ff1548c0.state=current_state: FULL&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It could be combined with clubak from ClusterShell by example, to compare connection tunings, ie:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# lctl get_param -H osc.*.srpc_info | grep -v id: | clubak -bS=
---------------
osc.lustre-OST[0002-0009]-osc-ff1348a7.srpc_info (8)
---------------
rpc flavor: &#160; &#160; krb5n
bulk flavor: &#160; &#160;krb5n
flags: &#160; &#160; &#160; &#160; &#160;rootonly,bulk,
refcount: &#160; &#160; &#160; 3
nctx: &#160; 1
gc internal &#160; &#160; 3600
gc next 3459
---------------
osc.lustre-OST[0000-0001]-osc-ff1348a7.srpc_info (2)
---------------
rpc flavor: &#160; &#160; null
bulk flavor: &#160; &#160;null
flags: &#160; &#160; &#160; &#160; &#160;-,
refcount: &#160; &#160; &#160; 416
nctx: &#160; 1
gc internal &#160; &#160; 0
gc next 0&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;It could also be useful even with 1 line of output as it does not force a line feed if the value is larger than 80 chars.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;It also prints an output line even for empty values. That also makes life easier for admins.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Open to use another option name if you prefer.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="78443">LU-17205</key>
            <summary>Prefix each lctl get_param output line with -H</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="adegremont_nvda">Aurelien Degremont</assignee>
                                    <reporter username="adegremont_nvda">Aurelien Degremont</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Oct 2023 14:11:59 +0000</created>
                <updated>Fri, 17 Nov 2023 00:48:43 +0000</updated>
                            <resolved>Fri, 10 Nov 2023 21:26:32 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="389609" author="gerrit" created="Tue, 17 Oct 2023 14:13:33 +0000"  >&lt;p&gt;&quot;Aurelien Degremont &amp;lt;adegremont@nvidia.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52730&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52730&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17205&quot; title=&quot;Prefix each lctl get_param output line with -H&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17205&quot;&gt;&lt;del&gt;LU-17205&lt;/del&gt;&lt;/a&gt; utils: add lctl get_param -H option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8cb8c8efeddc072b85d4ea8052381275f4104b03&lt;/p&gt;</comment>
                            <comment id="392316" author="gerrit" created="Wed, 8 Nov 2023 22:05:41 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52730/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52730/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17205&quot; title=&quot;Prefix each lctl get_param output line with -H&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17205&quot;&gt;&lt;del&gt;LU-17205&lt;/del&gt;&lt;/a&gt; utils: add lctl get_param -H option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a12c352a3dd8d424b1da09efc6884530c60d105b&lt;/p&gt;</comment>
                            <comment id="392768" author="pjones" created="Fri, 10 Nov 2023 21:26:32 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i03yo7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>