From owner-freebsd-questions Sat Nov 11 4:41:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from srcso.globis.ru (globis.ru [212.248.80.7]) by hub.freebsd.org (Postfix) with ESMTP id BD32037B479 for ; Sat, 11 Nov 2000 04:41:16 -0800 (PST) Received: from raduga.dyndns.org (raduga.sochi.net [212.248.82.76]) by srcso.globis.ru (8.9.3/8.9.3) with ESMTP id QAA25737 for ; Sat, 11 Nov 2000 16:03:28 +0300 (MSK) (envelope-from igor@raduga.dyndns.org) Received: (from igor@localhost) by raduga.dyndns.org (8.10.1/8.10.0) id eABCe8Y05724 for freebsd-questions@FreeBSD.ORG; Sat, 11 Nov 2000 15:40:08 +0300 Date: Sat, 11 Nov 2000 15:40:08 +0300 From: Igor Roboul To: freebsd-questions@FreeBSD.ORG Subject: Re: Memory Caching Message-ID: <20001111154008.A5682@linux.rainbow> Reply-To: igorr@crosswinds.net Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <003201c04c8a$9209fda0$8ded4518@kldt1.bc.wave.home.com> <20001111021530.M11449@fw.wintelcom.net> <20001111133249.D4773@linux.rainbow> <20001111131741.A3803@student.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <20001111131741.A3803@student.uu.se>; from ertr1013@student.uu.se on Sat, Nov 11, 2000 at 01:17:41PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 11, 2000 at 01:17:41PM +0100, Erik Trulsson wrote: > Have you tried > man 8 sysctl > man 3 sysctl Of course :-) But this gives only names and readonly/readwrite state. Bellow is a little info from /usr/src/linux/Documentation/proc.txt, I have not try say that FreeBSD need /proc like this, but, FreeBSD need documentation like this: 3 Reading and modifying kernel parameters A very interesting part of /proc is the directory /proc/sys. This not only provides information, it also allows you to change parameters within the kernel. Be very careful when trying this. You can optimize .... 3.2 /proc/fs - File system data This subdirectory contains specific file system, file handle, inode, dentry and quota information. Currently, these files are in /proc/sys/fs: dentry-state Status of the directory cache. Since directory entries are dynamically allocated and deallocated, this file gives information about the current status. It holds six values, in which the last two are not used and are always zero. The other four mean: nr_dentry Seems to be zero all the time nr_unused Number of unused cache entries age_limit Age in seconds after the entry may be reclaimed, when memory is short want_pages internal ... and so on With FreeBSD "man 8 sysctl" gives kern.maxvnodes integer yes kern.maxproc integer no kern.maxprocperuid integer yes kern.maxfiles integer yes etc. By contrast most of FreeBSD documentation is better than GNU/Linux equivalents. But Linux, kernel :-), part of documentation is better on GNU/Linux, at least it is more searchable. -- Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message