162306a36Sopenharmony_ci=========================== 262306a36Sopenharmony_ciDocumentation for /proc/sys 362306a36Sopenharmony_ci=========================== 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciCopyright (c) 1998, 1999, Rik van Riel <riel@nl.linux.org> 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci------------------------------------------------------------------------------ 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci'Why', I hear you ask, 'would anyone even _want_ documentation 1062306a36Sopenharmony_cifor them sysctl files? If anybody really needs it, it's all in 1162306a36Sopenharmony_cithe source...' 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciWell, this documentation is written because some people either 1462306a36Sopenharmony_cidon't know they need to tweak something, or because they don't 1562306a36Sopenharmony_cihave the time or knowledge to read the source code. 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciFurthermore, the programmers who built sysctl have built it to 1862306a36Sopenharmony_cibe actually used, not just for the fun of programming it :-) 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci------------------------------------------------------------------------------ 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ciLegal blurb: 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciAs usual, there are two main things to consider: 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci1. you get what you pay for 2762306a36Sopenharmony_ci2. it's free 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciThe consequences are that I won't guarantee the correctness of 3062306a36Sopenharmony_cithis document, and if you come to me complaining about how you 3162306a36Sopenharmony_ciscrewed up your system because of wrong documentation, I won't 3262306a36Sopenharmony_cifeel sorry for you. I might even laugh at you... 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciBut of course, if you _do_ manage to screw up your system using 3562306a36Sopenharmony_cionly the sysctl options used in this file, I'd like to hear of 3662306a36Sopenharmony_ciit. Not only to have a great laugh, but also to make sure that 3762306a36Sopenharmony_ciyou're the last RTFMing person to screw up. 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciIn short, e-mail your suggestions, corrections and / or horror 4062306a36Sopenharmony_cistories to: <riel@nl.linux.org> 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ciRik van Riel. 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ci-------------------------------------------------------------- 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ciIntroduction 4762306a36Sopenharmony_ci============ 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ciSysctl is a means of configuring certain aspects of the kernel 5062306a36Sopenharmony_ciat run-time, and the /proc/sys/ directory is there so that you 5162306a36Sopenharmony_cidon't even need special tools to do it! 5262306a36Sopenharmony_ciIn fact, there are only four things needed to use these config 5362306a36Sopenharmony_cifacilities: 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci- a running Linux system 5662306a36Sopenharmony_ci- root access 5762306a36Sopenharmony_ci- common sense (this is especially hard to come by these days) 5862306a36Sopenharmony_ci- knowledge of what all those values mean 5962306a36Sopenharmony_ci 6062306a36Sopenharmony_ciAs a quick 'ls /proc/sys' will show, the directory consists of 6162306a36Sopenharmony_ciseveral (arch-dependent?) subdirs. Each subdir is mainly about 6262306a36Sopenharmony_cione part of the kernel, so you can do configuration on a piece 6362306a36Sopenharmony_ciby piece basis, or just some 'thematic frobbing'. 6462306a36Sopenharmony_ci 6562306a36Sopenharmony_ciThis documentation is about: 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ci=============== =============================================================== 6862306a36Sopenharmony_ciabi/ execution domains & personalities 6962306a36Sopenharmony_cidebug/ <empty> 7062306a36Sopenharmony_cidev/ device specific information (eg dev/cdrom/info) 7162306a36Sopenharmony_cifs/ specific filesystems 7262306a36Sopenharmony_ci filehandle, inode, dentry and quota tuning 7362306a36Sopenharmony_ci binfmt_misc <Documentation/admin-guide/binfmt-misc.rst> 7462306a36Sopenharmony_cikernel/ global kernel info / tuning 7562306a36Sopenharmony_ci miscellaneous stuff 7662306a36Sopenharmony_cinet/ networking stuff, for documentation look in: 7762306a36Sopenharmony_ci <Documentation/networking/> 7862306a36Sopenharmony_ciproc/ <empty> 7962306a36Sopenharmony_cisunrpc/ SUN Remote Procedure Call (NFS) 8062306a36Sopenharmony_civm/ memory management tuning 8162306a36Sopenharmony_ci buffer and cache management 8262306a36Sopenharmony_ciuser/ Per user per user namespace limits 8362306a36Sopenharmony_ci=============== =============================================================== 8462306a36Sopenharmony_ci 8562306a36Sopenharmony_ciThese are the subdirs I have on my system. There might be more 8662306a36Sopenharmony_cior other subdirs in another setup. If you see another dir, I'd 8762306a36Sopenharmony_cireally like to hear about it :-) 8862306a36Sopenharmony_ci 8962306a36Sopenharmony_ci.. toctree:: 9062306a36Sopenharmony_ci :maxdepth: 1 9162306a36Sopenharmony_ci 9262306a36Sopenharmony_ci abi 9362306a36Sopenharmony_ci fs 9462306a36Sopenharmony_ci kernel 9562306a36Sopenharmony_ci net 9662306a36Sopenharmony_ci sunrpc 9762306a36Sopenharmony_ci user 9862306a36Sopenharmony_ci vm 99