<?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: Free V SAR in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/free-v-sar/m-p/4757079#M43719</link>
    <description>keep in mind that the first line of free command includes the allocated cache.&lt;BR /&gt;&lt;BR /&gt;linux will use all available mem for cache and give back as needed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;look at the -/+ buffers/cache line for the real numbers.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Feb 2011 17:24:26 GMT</pubDate>
    <dc:creator>Tim Nelson</dc:creator>
    <dc:date>2011-02-23T17:24:26Z</dc:date>
    <item>
      <title>Free V SAR</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-v-sar/m-p/4757078#M43718</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I had a server that experienced a crash last night and when I looked at the SAR report it showed that the "%memused" was 98%. On comparing this today with the memory info displayed from the "free" command, there appears to be a considerable difference (See below). Can anybody explain what the difference is between the two and what is the true reflection of what memory the box is using?&lt;BR /&gt;&lt;BR /&gt;# sar -r -f /var/log/sa/sa23 (shows "memused" @ 79%:&lt;BR /&gt;&lt;BR /&gt;03:35:01 PM kbmemfree kbmemused  %memused kbbuffers  kbcached kbswpfree kbswpused  %swpused  kbswpcad&lt;BR /&gt;03:40:01 PM   9198600  56784520     86.06    630044  21133808  65535992         0      0.00         0&lt;BR /&gt;03:45:01 PM   9195232  56787888     86.06    630292  21134048  65535992         0      0.00         0&lt;BR /&gt;03:50:01 PM   9170532  56812588     86.10    630584  21133872  65535992         0      0.00         0&lt;BR /&gt;03:55:01 PM   9149868  56833252     86.13    630856  21134152  65535992         0      0.00         0&lt;BR /&gt;Average:     13659699  52323421     79.30    554684  19173568  65535992         0      0.00         0&lt;BR /&gt;&lt;BR /&gt;However free only suggests that the box is using 53%:&lt;BR /&gt;&lt;BR /&gt;[root@fworksdb2 ~]# free -b|grep ^-|awk '{ print (($3/($3+$4))*100) "% Used" }'&lt;BR /&gt;53.1834% Used&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;D.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2011 16:08:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-v-sar/m-p/4757078#M43718</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2011-02-23T16:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Free V SAR</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-v-sar/m-p/4757079#M43719</link>
      <description>keep in mind that the first line of free command includes the allocated cache.&lt;BR /&gt;&lt;BR /&gt;linux will use all available mem for cache and give back as needed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;look at the -/+ buffers/cache line for the real numbers.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2011 17:24:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-v-sar/m-p/4757079#M43719</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2011-02-23T17:24:26Z</dc:date>
    </item>
  </channel>
</rss>

