<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CLI comparing values in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430403#M39693</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From my point of view this query is simple if it were possible to compare the value of an attribute with the value of another attribute of the same volume.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 16:54:17 GMT</pubDate>
    <dc:creator>Guille</dc:creator>
    <dc:date>2021-12-22T16:54:17Z</dc:date>
    <item>
      <title>CLI comparing values</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430131#M39641</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;it is possible to list the volumes that it's -percent-used value is greater than -space-nearly-full-threshold-percent value?&lt;BR /&gt;As far as I know extended query will not be suitable to solve this question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This could we great, but is not working for me:&lt;BR /&gt;vol show -percent-used &amp;gt; -space-nearly-full-threshold-percent&lt;BR /&gt;Error: The expression is missing a value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you much,&lt;BR /&gt;Guille.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:07:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430131#M39641</guid>
      <dc:creator>Guille</dc:creator>
      <dc:date>2025-06-04T10:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: CLI comparing values</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430134#M39643</link>
      <description>&lt;P&gt;Not sure if your query is that straightforward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By, default &amp;lt;-space-nearly-full-threshold-percent&amp;gt; value is 95% for Flexvols in ONTAP. If you are interested to know which volumes are past this %?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This command will list the volumes&lt;BR /&gt;::&amp;gt; vol show -percent-used &amp;gt; 95&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you aren't sure what's thresholds are, you can view them:&lt;BR /&gt;::&amp;gt; volume show -volume * -fields space-nearly-full-threshold-percent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that what you were looking for?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 20:16:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430134#M39643</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2021-12-15T20:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: CLI comparing values</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430143#M39646</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;From my point of view this query is simple if it were possible to compare the value of an attribute with the value of another attribute of the same volume.&lt;BR /&gt;After reviewing the documentation related to the operators that can be used for this query, I deduce that this type of comparison is not possible with "ONTAP CLI"?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 21:09:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430143#M39646</guid>
      <dc:creator>Guille</dc:creator>
      <dc:date>2021-12-15T21:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: CLI comparing values</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430172#M39656</link>
      <description>&lt;P&gt;That particular query isn't possible, afaik. But you can sort by a field with the -sort-by flag (advanced mode)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This has some examples, along with some other tips:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://whyistheinternetbroken.wordpress.com/2015/02/16/techbecome-a-clustered-data-ontap-cli-ninja/" target="_blank"&gt;https://whyistheinternetbroken.wordpress.com/2015/02/16/techbecome-a-clustered-data-ontap-cli-ninja/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 14:23:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430172#M39656</guid>
      <dc:creator>parisi</dc:creator>
      <dc:date>2021-12-16T14:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: CLI comparing values</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430277#M39676</link>
      <description>&lt;P&gt;Of course, volumes has a default value for a lot its properties, right by default, but this is not the case.&lt;BR /&gt;The posted query is an example ot the main question, as you can read on the posted title, it is about comparing values using CLI.&lt;BR /&gt;It makes sense that if an object, in this case a volume, has two propertie, it should be possible to compare this two values.&lt;BR /&gt;Now at days this is done exporting to xls and formuling A1 &amp;gt; B1, easy, but not possible from CLI.&lt;BR /&gt;An enhancement for a later version of ONTAP.&lt;BR /&gt;Thank you for your time in replying.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 19:08:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430277#M39676</guid>
      <dc:creator>Guille</dc:creator>
      <dc:date>2021-12-19T19:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: CLI comparing values</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430403#M39693</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From my point of view this query is simple if it were possible to compare the value of an attribute with the value of another attribute of the same volume.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 16:54:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430403#M39693</guid>
      <dc:creator>Guille</dc:creator>
      <dc:date>2021-12-22T16:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: CLI comparing values</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430522#M39723</link>
      <description>&lt;P&gt;That is not the question of the post. The CLI queries have a limitation, they cannot compare the value of two attributes of the same volume. Maybe nesting two queries with powershell is possible.&lt;BR /&gt;Thank you all for your time.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 18:55:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CLI-comparing-values/m-p/430522#M39723</guid>
      <dc:creator>Guille</dc:creator>
      <dc:date>2021-12-29T18:55:26Z</dc:date>
    </item>
  </channel>
</rss>

