From owner-freebsd-hackers Thu Jul 15 11:23:41 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 6200E14E7A for ; Thu, 15 Jul 1999 11:23:34 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id LAA11926; Thu, 15 Jul 1999 11:23:12 -0700 (PDT) (envelope-from dillon) Date: Thu, 15 Jul 1999 11:23:12 -0700 (PDT) From: Matthew Dillon Message-Id: <199907151823.LAA11926@apollo.backplane.com> To: Noriyuki Soda Cc: freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org Subject: Re: Swap overcommit (was Re: Replacement for grep(1) (part 2)) References: <378D67B3.3E2A703C@newsguy.com> <199907151738.CAA10933@srapc342.sra.co.jp> <199907151809.LAA11823@apollo.backplane.com> <199907151819.DAA11342@srapc342.sra.co.jp> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :"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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message