Subject: Re: Swap overcommit (was Re: Replacement for grep(1) (part 2))
To: None <freebsd-hackers@FreeBSD.ORG>
From: Noriyuki Soda <soda@sra.co.jp>
List: tech-userlevel
Date: 07/16/1999 03:19:30
>>>>> On Thu, 15 Jul 1999 11:09:01 -0700 (PDT),
	Matthew Dillon <dillon@apollo.backplane.com> said:

>     Umm... how are you getting the reserved numbers? 

"pstat -s" on SunOS4, and "swap -s" on SunOS5. From Solaris man page:

:    -s             Print summary information  about  total  swap
:                   space usage and availability:
:
:                      allocated   The total amount of swap space
:                                  (in      1024-byte     blocks)
:                                  currently allocated for use as
:                                  backing store.
:
:                      reserved    The total amount of swap space
:                                  (in   1024-bytes  blocks)  not
:                                  currently    allocated,    but
:                                  claimed by memory mappings for
:                                  possible future use.
:
:                      used        The total amount of swap space
:                                  (in  1024-byte blocks) that is
:                                  either allocated or reserved.
--
soda