Date: Wed, 9 Jul 2003 15:30:24 -0700 From: Sean Chittenden <sean@chittenden.org> To: questions@FreeBSD.org Subject: Disk cache size via sh? Message-ID: <20030709223024.GA94854@perrin.int.nxad.com>
next in thread | raw e-mail | index | archive | help
Is the following the correct way to figure out the disk cache size? echo $((`sysctl -n vm.stats.vm.v_page_count` - \ `sysctl -n vm.stats.vm.v_free_reserved` - \ `sysctl -n vm.stats.vm.v_free_target`)) I can't tell if there's a limit in kern/vfs_cache.c though I couldn't find anything worth while. -sc -- Sean Chittenden
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030709223024.GA94854>