<?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: get SWAP Space in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545474#M17633</link>
    <description>Also you can see how many memory is swapped from/in disk with "vmstat".</description>
    <pubDate>Mon, 16 May 2005 15:12:52 GMT</pubDate>
    <dc:creator>Alex Lavrov.</dc:creator>
    <dc:date>2005-05-16T15:12:52Z</dc:date>
    <item>
      <title>get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545471#M17630</link>
      <description>Red Hat Enterprise Linux 3.0&lt;BR /&gt;&lt;BR /&gt;How can I get the swap space of my system?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 16 May 2005 11:33:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545471#M17630</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2005-05-16T11:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545472#M17631</link>
      <description>I mean, how can I know the swap space of my server?</description>
      <pubDate>Mon, 16 May 2005 13:08:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545472#M17631</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2005-05-16T13:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545473#M17632</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You can use the command free to check the swap&lt;BR /&gt;To create swap you need to mkswap and to activate it you need to use swapon.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Mon, 16 May 2005 15:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545473#M17632</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2005-05-16T15:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545474#M17633</link>
      <description>Also you can see how many memory is swapped from/in disk with "vmstat".</description>
      <pubDate>Mon, 16 May 2005 15:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545474#M17633</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-05-16T15:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545475#M17634</link>
      <description>I am really newbie. Can you write the syntax of this commands to get the info requiered?</description>
      <pubDate>Mon, 16 May 2005 15:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545475#M17634</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2005-05-16T15:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545476#M17635</link>
      <description>It's just free ...&lt;BR /&gt;&lt;BR /&gt;You can do "free -m" to view the amounts in megabytes, at the bottom you'll see the swapsize.&lt;BR /&gt;&lt;BR /&gt;Also, you can look into /proc/meminfo, there at the bottom, you'll see the swap size too.</description>
      <pubDate>Mon, 16 May 2005 15:33:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545476#M17635</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-05-16T15:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545477#M17636</link>
      <description>If you just want to 'see' how much is available, you can use the 'top' command to get running info.&lt;BR /&gt;&lt;BR /&gt;If you wan't to script it in the future, it's easiest to grab it directly from '/proc/meminfo', using something like 'grep ^Swap: /proc/meminfo'.  These are the same numbers as shown in the 'top' output.  It shows the number of 'bytes' allocated as swap, how many are in use, as well as how many are currently free.&lt;BR /&gt;&lt;BR /&gt;To get a running idea of how swap is being used, you can use something like 'vmstat -ban 1', which takes a sample every second, and shows swap-in, and swap-out (si/so).&lt;BR /&gt;&lt;BR /&gt;If you want general overview over a longer period of time, install the 'sysstat' RPM and use 'sar -r' (and it's variants).</description>
      <pubDate>Mon, 16 May 2005 20:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545477#M17636</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-05-16T20:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545478#M17637</link>
      <description>&lt;BR /&gt;if you want to know available and used swap and RAM memory information run, free -m&lt;BR /&gt;&lt;BR /&gt;it will give information in Megabytes. if you want to continuously watch for system memory, cpu and process related information then use top command.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Tue, 17 May 2005 01:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545478#M17637</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-17T01:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545479#M17638</link>
      <description>&lt;BR /&gt;/usr/bin/free | /bin/grep Swap: | /bin/awk '{printf "Swap: %5d MB\n",$2/1024}'&lt;BR /&gt;</description>
      <pubDate>Tue, 17 May 2005 08:51:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545479#M17638</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2005-05-17T08:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: get SWAP Space</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545480#M17639</link>
      <description>And finally...&lt;BR /&gt;&lt;BR /&gt;If you want it by swap partition/file rather than all totalled up:&lt;BR /&gt;&lt;BR /&gt;  cat /proc/swaps&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Sun, 22 May 2005 12:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-swap-space/m-p/3545480#M17639</guid>
      <dc:creator>Mike Jagdis</dc:creator>
      <dc:date>2005-05-22T12:13:33Z</dc:date>
    </item>
  </channel>
</rss>

