<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Vmstat</id>
	<title>Vmstat - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Vmstat"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Vmstat&amp;action=history"/>
	<updated>2026-06-02T06:50:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Vmstat&amp;diff=204&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;Add notes: https://www.linode.com/docs/guides/use-vmstat-to-monitor-system-performance/  Add, by default it shows in &lt;b&gt;Kilobytes&lt;/b&gt;!!!  &lt;b&gt;vmstat&lt;/b&gt; - Report virtual memory statistics.    $ vmstat  procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----   r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st   0  0      0 272904      0 235736    0    0     1     3   12   22  0  0 100  0  0    $ vmstat 1 5  procs -----...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Vmstat&amp;diff=204&amp;oldid=prev"/>
		<updated>2024-09-11T14:36:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Add notes: https://www.linode.com/docs/guides/use-vmstat-to-monitor-system-performance/  Add, by default it shows in &amp;lt;b&amp;gt;Kilobytes&amp;lt;/b&amp;gt;!!!  &amp;lt;b&amp;gt;vmstat&amp;lt;/b&amp;gt; - Report virtual memory statistics.    $ vmstat  procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----   r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st   0  0      0 272904      0 235736    0    0     1     3   12   22  0  0 100  0  0    $ vmstat 1 5  procs -----...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Add notes: https://www.linode.com/docs/guides/use-vmstat-to-monitor-system-performance/&lt;br /&gt;
&lt;br /&gt;
Add, by default it shows in &amp;lt;b&amp;gt;Kilobytes&amp;lt;/b&amp;gt;!!!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;vmstat&amp;lt;/b&amp;gt; - Report virtual memory statistics.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ vmstat&lt;br /&gt;
 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----&lt;br /&gt;
  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st&lt;br /&gt;
  0  0      0 272904      0 235736    0    0     1     3   12   22  0  0 100  0  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ vmstat 1 5&lt;br /&gt;
 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----&lt;br /&gt;
  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st&lt;br /&gt;
  0  0      0 388256   2088 319304    0    0  9550    34  192  220  4  0 87  8  0&lt;br /&gt;
  0  0      0 388248   2088 319304    0    0     0     0   55  120  0  0 100  0  0&lt;br /&gt;
  0  0      0 388248   2088 319304    0    0     0     0   62  128  0  0 100  0  0&lt;br /&gt;
  0  0      0 388248   2088 319304    0    0     0     0   70  135  0  0 100  0  0&lt;br /&gt;
  0  0      0 388248   2088 319304    0    0     0     0   68  128  0  0 100  0  0&lt;br /&gt;
* Print 5 times, every 1 second&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ vmstat -S M&lt;br /&gt;
 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----&lt;br /&gt;
  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st&lt;br /&gt;
  0  0      0    378      2    311    0    0  9475    34  191  219  4  0 87  8  0&lt;br /&gt;
* -S = requires k, K, m or M (default is KiB)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to run vmstat continuously====&lt;br /&gt;
----&lt;br /&gt;
This is good if you want to monitor free memory continuously. &lt;br /&gt;
 $ vmstat -S M 2 -t&lt;br /&gt;
 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- -----timestamp-----&lt;br /&gt;
  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st                 UTC&lt;br /&gt;
  0  0      0    542      1    317    0    0   842  5892  649 1104 18  5 69  3  5 2023-08-28 16:30:04&lt;br /&gt;
  0  0      0    542      1    317    0    0     0     0   30   49  0  0 100  0  0 2023-08-28 16:30:06&lt;br /&gt;
  0  0      0    542      1    317    0    0     0     0   27   48  0  0 100  0  0 2023-08-28 16:30:08&lt;br /&gt;
  0  0      0    542      1    317    0    0     0     0   27   47  0  0 100  0  0 2023-08-28 16:30:10&lt;br /&gt;
  0  0      0    542      1    317    0    0     0     0   27   48  0  0 100  0  0 2023-08-28 16:30:12&lt;br /&gt;
  0  0      0    542      1    317    0    0     0     6   32   52  0  0 100  0  0 2023-08-28 16:30:14&lt;br /&gt;
* -S = Size is in MB&lt;br /&gt;
* 2 = print every 2 sec&lt;br /&gt;
* -t = include timestamp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;/b&amp;gt;[+] https://www.cyberciti.biz/faq/linux-check-memory-usage/&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>