[88] in netbsd-help mailing list archive
Re: checking free memory?
daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Feb 25 22:19:33 1995
To: ericding@MIT.EDU
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Sat, 25 Feb 1995 21:45:22 EST."
<199502260245.VAA02631@hesed.MIT.EDU>
Date: Sat, 25 Feb 1995 22:19:18 EST
From: Greg Hudson <ghudson@MIT.EDU>
Try "pstat -s". You should get something like:
Device 512-blocks Used Avail Capacity Type
/dev/sd0b 67584 48264 19320 71% Interleaved
This doesn't tell you quite the same things that "free" does under
Linux in terms of how much memory is being used vs. swap, but I'm not
sure how to get that information. (You can look at the sysctl man
page, but I didn't find anything very useful there.)