🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.userlevel
Article #12

systat vm free units

#12
From: Emmanuel Dreyfus
Date: Fri, 16 Oct 2026 15:25
40 lines
3384 bytes
Hello

systat(1) called with the vm argument shows some VM statistics, 
including free memory. Here is the output:

Anon      2681436  33%   zero         
Exec       202860   2%   wired   88688
File      1402936  17%   inact  247712
Meta       146893    %   bufs    13519
 (kB)        real   swaponly      free
Active    3950772              3071716 

The man page says:
  Below this are statistics on memory utilization.  The first
  row of the table reports memory usage only among active pro-
  cesses, that is processes that have run in the previous
  twenty seconds.  The second row reports on memory usage of
  all processes.  The first column reports on the number of
  physical pages claimed by processes.  The second column
  reports the number of pages of memory and swap.  The third
  column gives the number of pages of free memory and swap.

That does not fit the display very well, it seems systat was
updated and the documentation was left behind. I assume 
3071716 is the unued memory, but it cannot be in pages:
hw.physmem64 = 8503410688
hw.pagesize = 4096

3071716 pages of 4096 bytes would not fit in 8503410688 bytes.
Most likely the numbers are in kB. 

Did I miss something or this man page needs an update?

-- 
Emmanuel Dreyfus
manu@netbsd.org

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <atJB2l1t5Bs3pVfQ@homeworld.netbsd.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Emmanuel Dreyfus <manu@netbsd.org>
Newsgroups: muc.lists.netbsd.tech.userlevel
Subject: systat vm free units
Date: Fri, 16 Oct 2026 15:25:14 +0000
Organization: Newsgate at muc.de e.V.
Sender: tech-userlevel-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <atJB2l1t5Bs3pVfQ@homeworld.netbsd.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="5615"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org;
	s=20240131; t=1792164317;
	bh=134QgHbQ9q2fYGpqH/m/R3NzdNr7uspPSJ5yS6lSKvM=;
	h=Date:From:To:Subject:List-Id:List-Unsubscribe;
	b=eKbAmk/Pb+nESKS2frwC4CEnSi2FuHeydCHlstoWa2AXWM9rDgLtLYvfw+YBuqLsY
	 T+SgJpy2zzqSNZWldsIUQIvOVs7+3mHdr0a1/N7pyl7F9HiYEOb3gDH3Zfc9YU2cvH
	 bKzmHTDfixDdLwKs1t/+146ASipVczKsqco5MAOs=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org;
	s=20240131; t=1792164314;
	bh=134QgHbQ9q2fYGpqH/m/R3NzdNr7uspPSJ5yS6lSKvM=;
	h=Date:From:To:Subject;
	b=o6fX1+xaSw5Drq+wWWmILJhk9jGA4y8wJzjTDdlrgwXmdKqmpL4KO9zpXWNYIpUyE
	 LJiFXzecsNHxEQL1iCdAdhxXXKW71pNkiWDc0pAoFquy71DiFHNfERfOBwi/mvB5TX
	 vk4DsYuCkhTF2iueZ/1o22np3ZDarbZZC3EBOsQM=
Content-Disposition: inline
X-Face: "G=jn*S]P-JmPX0[GAK;)7Yo0p?#U/0m{g!*j3XGvT80*#5pX0kPN$4+azk{O#@ZEZV9BS:4y;\9utXK@+?.mCT.k%G&Ix2XEj-`bBt{TituWYrQ5npZb+:ERfmRt-((lW:itQr$C|B~;vhJ:>2,{tA}#)P'g3h6eE8JT|Qfcm50pUoy{zb8=jvof2?lY}EYTEt4z=5*i%OJ136\?S8^g~^>,s&,jBb'=K|ryeVtUX5
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes