Subject: Re: Swap overcommit (was Re: Replacement for grep(1) (part 2))
To: Noriyuki Soda <soda@sra.co.jp>
From: Matthew Dillon <dillon@apollo.backplane.com>
List: tech-userlevel
Date: 07/15/1999 11:23:12
:"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

    Yah, that's what I thought.  A solaris expert could tell us
    for sure but I am pretty sure those are simply cached swap
    blocks after-the-fact, not actual reservations on potentially
    swappable space.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>