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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to