<?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 vmstat - Getting application memory &amp;amp; CPU usage in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/vmstat-getting-application-memory-amp-cpu-usage/m-p/3610504#M19291</link>
    <description>Hi,&lt;BR /&gt;I'm attempting to get the amount of memory and CPU used for a particular application by running vmstat(see attached file for output).&lt;BR /&gt;&lt;BR /&gt;I would like to obtain the amount of active memory used when running vmstat, by specifying the -a option(amt of active and inactive memory&lt;BR /&gt;bash-2.03$ vmstat -a 10 10&lt;BR /&gt;Usage: vmstat [-cipsS] [disk ...] [interval [count]]&lt;BR /&gt;bash-2.03$ vmstat -a 10 10&lt;BR /&gt;&lt;BR /&gt;I would like to know if getting the active memory usage would represent the amount of memory used in MB for a particular application?&lt;BR /&gt;&lt;BR /&gt;Also, if I wish to see the CPU utilization from vmstat, may I know if I should refer to the "usr" or "sys" columns under the heading cpu? &lt;BR /&gt;&lt;BR /&gt;Could anyone help me out?&lt;BR /&gt;&lt;BR /&gt;Thanks  &lt;BR /&gt;</description>
    <pubDate>Wed, 24 Aug 2005 07:00:32 GMT</pubDate>
    <dc:creator>Danny Fang</dc:creator>
    <dc:date>2005-08-24T07:00:32Z</dc:date>
    <item>
      <title>vmstat - Getting application memory &amp; CPU usage</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vmstat-getting-application-memory-amp-cpu-usage/m-p/3610504#M19291</link>
      <description>Hi,&lt;BR /&gt;I'm attempting to get the amount of memory and CPU used for a particular application by running vmstat(see attached file for output).&lt;BR /&gt;&lt;BR /&gt;I would like to obtain the amount of active memory used when running vmstat, by specifying the -a option(amt of active and inactive memory&lt;BR /&gt;bash-2.03$ vmstat -a 10 10&lt;BR /&gt;Usage: vmstat [-cipsS] [disk ...] [interval [count]]&lt;BR /&gt;bash-2.03$ vmstat -a 10 10&lt;BR /&gt;&lt;BR /&gt;I would like to know if getting the active memory usage would represent the amount of memory used in MB for a particular application?&lt;BR /&gt;&lt;BR /&gt;Also, if I wish to see the CPU utilization from vmstat, may I know if I should refer to the "usr" or "sys" columns under the heading cpu? &lt;BR /&gt;&lt;BR /&gt;Could anyone help me out?&lt;BR /&gt;&lt;BR /&gt;Thanks  &lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 07:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vmstat-getting-application-memory-amp-cpu-usage/m-p/3610504#M19291</guid>
      <dc:creator>Danny Fang</dc:creator>
      <dc:date>2005-08-24T07:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat - Getting application memory &amp; CPU usage</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vmstat-getting-application-memory-amp-cpu-usage/m-p/3610505#M19292</link>
      <description>AFAIK, you cannot "to get the amount of memory and CPU used for a particular application" with vmstat, but only using ps or top utilities.</description>
      <pubDate>Wed, 24 Aug 2005 09:16:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vmstat-getting-application-memory-amp-cpu-usage/m-p/3610505#M19292</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2005-08-24T09:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat - Getting application memory &amp; CPU usage</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vmstat-getting-application-memory-amp-cpu-usage/m-p/3610506#M19293</link>
      <description>Hi Danny , &lt;BR /&gt;&lt;BR /&gt;The answer is in this thread ,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=950872" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=950872&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and its same..&lt;BR /&gt;&lt;BR /&gt;Cheers ,&lt;BR /&gt;Raj.</description>
      <pubDate>Wed, 24 Aug 2005 09:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vmstat-getting-application-memory-amp-cpu-usage/m-p/3610506#M19293</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-24T09:30:46Z</dc:date>
    </item>
  </channel>
</rss>

