<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/vmstat, branch release/8.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-11-06T20:33:40Z</updated>
<entry>
<title>MFC 198620:</title>
<updated>2009-11-06T20:33:40Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-11-06T20:33:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8da42c8a89590e5fac7c8a5b2e8a675649cf4c75'/>
<id>urn:sha1:8da42c8a89590e5fac7c8a5b2e8a675649cf4c75</id>
<content type='text'>
When fetching sum stats (vmstat -s) from a crash dump, fetch per-CPU counts
and sum them to form the total counts.
</content>
</entry>
<entry>
<title>Utilize calloc() instead of bzero'ing manually.</title>
<updated>2009-02-21T03:43:20Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2009-02-21T03:43:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=61613f19123cd431e20f4c70b7ccdd66c1f1cca4'/>
<id>urn:sha1:61613f19123cd431e20f4c70b7ccdd66c1f1cca4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix comment typo that managed to sneak in when I copy pasted some</title>
<updated>2008-11-04T18:20:54Z</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2008-11-04T18:20:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9d8f84b73e2103546cfff512d08b986056405dd'/>
<id>urn:sha1:e9d8f84b73e2103546cfff512d08b986056405dd</id>
<content type='text'>
comments &amp; code from iostat.
</content>
</entry>
<entry>
<title>Repeat vmstat header after window.rows instead of a hardcoded 20.</title>
<updated>2008-11-04T18:02:35Z</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2008-11-04T18:02:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4fb6032f1919e05c1df62564213cf979637fef62'/>
<id>urn:sha1:4fb6032f1919e05c1df62564213cf979637fef62</id>
<content type='text'>
Use ioctl() to get the window size in vmstat(8), and force a new
header to be prepended to the output every time the current window
size changes.  Change the number of lines before each header to the
current lines of the terminal when the terminal is resized, so that
the full terminal length can be used for output lines.

Inspired by:	svn change 175562 (same feature for iostat)
Reviewed by:	ru (who fixed some of my bugs too)
MFC after:	1 week
</content>
</entry>
<entry>
<title>Use kvm_getcptime(3) to fetch the global CPU time stats from a crashdump</title>
<updated>2008-08-19T21:33:09Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-08-19T21:33:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32c9e3bd01d5569d30620e53b7d02a4ad57f0e75'/>
<id>urn:sha1:32c9e3bd01d5569d30620e53b7d02a4ad57f0e75</id>
<content type='text'>
since the 'cp_time' symbol doesn't exist in recent kernels.  This fixes
iostat and vmstat on crash dumps.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Add forgotten -H, -h, and -P to usage().</title>
<updated>2008-04-10T09:56:57Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2008-04-10T09:56:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e83412c9cacf4aafdb1299e7450845a1ea0a1e07'/>
<id>urn:sha1:e83412c9cacf4aafdb1299e7450845a1ea0a1e07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix some boolean logic errors.  &amp;&amp; vs &amp; and other sillyness.  *blush*</title>
<updated>2008-01-18T22:09:44Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2008-01-18T22:09:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=248e52ada83f3f9cd13be73ac204eb87ff0eea9a'/>
<id>urn:sha1:248e52ada83f3f9cd13be73ac204eb87ff0eea9a</id>
<content type='text'>
This would prevent it from skipping non-present cpus in -P output.

Submitted by:  Pieter de Goeje &lt;pieter@degoeje.nl&gt;
</content>
</entry>
<entry>
<title>Add the -H, -h and -P flags to vmstat.  -P causes per-cpu output of</title>
<updated>2007-12-13T02:36:11Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2007-12-13T02:36:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4adb5266e80426b35ff75ce0edfb903db9d4f2f4'/>
<id>urn:sha1:4adb5266e80426b35ff75ce0edfb903db9d4f2f4</id>
<content type='text'>
user/system/idle stats.  -h feeds the memory column through
humanize_number() to reduce the amount of column overflowing.  -H turns
this off.  -h is turned on by default if stdout is a tty.
</content>
</entry>
<entry>
<title>Add a counter for the total number of pages cached and support for</title>
<updated>2007-07-27T20:01:22Z</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>2007-07-27T20:01:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eaa29f1ce4e26f3a763bffb0f4866246e5894b9f'/>
<id>urn:sha1:eaa29f1ce4e26f3a763bffb0f4866246e5894b9f</id>
<content type='text'>
reporting the value of this counter in the program "vmstat".

Approved by:	re (rwatson)
</content>
</entry>
<entry>
<title>- Revert signedness type changes to "struct vmtotal"; by making</title>
<updated>2006-11-28T12:46:02Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-11-28T12:46:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bad4d172b4512bf80adc9f64dbb4bde74cc6bd98'/>
<id>urn:sha1:bad4d172b4512bf80adc9f64dbb4bde74cc6bd98</id>
<content type='text'>
  them unsigned I made the possible overflows hard to detect,
  and it only saved 1 bit which isn't principal, even less now
  that the underlying issue with the total of virtual memory has
  been fixed.  (For the record, it will overflow with &gt;=2T of
  VM total, with 32-bit ints used to keep counters in pages.)

- While here, fix printing of other "struct vmtotal" members
  such as t_rq, t_dw, t_pw, and t_sw as they are also signed.

Reviewed by:	bde
MFC after:	3 days
</content>
</entry>
</feed>
