Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2000 15:40:08 +0300
From:      Igor Roboul <igor@raduga.dyndns.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Memory Caching
Message-ID:  <20001111154008.A5682@linux.rainbow>
In-Reply-To: <20001111131741.A3803@student.uu.se>; from ertr1013@student.uu.se on Sat, Nov 11, 2000 at 01:17:41PM %2B0100
References:  <003201c04c8a$9209fda0$8ded4518@kldt1.bc.wave.home.com> <20001111021530.M11449@fw.wintelcom.net> <20001111133249.D4773@linux.rainbow> <20001111131741.A3803@student.uu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001111154008.A5682>