18c2ecf20Sopenharmony_ci=========================== 28c2ecf20Sopenharmony_ciDocumentation for /proc/sys 38c2ecf20Sopenharmony_ci=========================== 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciCopyright (c) 1998, 1999, Rik van Riel <riel@nl.linux.org> 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci------------------------------------------------------------------------------ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci'Why', I hear you ask, 'would anyone even _want_ documentation 108c2ecf20Sopenharmony_cifor them sysctl files? If anybody really needs it, it's all in 118c2ecf20Sopenharmony_cithe source...' 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciWell, this documentation is written because some people either 148c2ecf20Sopenharmony_cidon't know they need to tweak something, or because they don't 158c2ecf20Sopenharmony_cihave the time or knowledge to read the source code. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciFurthermore, the programmers who built sysctl have built it to 188c2ecf20Sopenharmony_cibe actually used, not just for the fun of programming it :-) 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci------------------------------------------------------------------------------ 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciLegal blurb: 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciAs usual, there are two main things to consider: 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci1. you get what you pay for 278c2ecf20Sopenharmony_ci2. it's free 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciThe consequences are that I won't guarantee the correctness of 308c2ecf20Sopenharmony_cithis document, and if you come to me complaining about how you 318c2ecf20Sopenharmony_ciscrewed up your system because of wrong documentation, I won't 328c2ecf20Sopenharmony_cifeel sorry for you. I might even laugh at you... 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciBut of course, if you _do_ manage to screw up your system using 358c2ecf20Sopenharmony_cionly the sysctl options used in this file, I'd like to hear of 368c2ecf20Sopenharmony_ciit. Not only to have a great laugh, but also to make sure that 378c2ecf20Sopenharmony_ciyou're the last RTFMing person to screw up. 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ciIn short, e-mail your suggestions, corrections and / or horror 408c2ecf20Sopenharmony_cistories to: <riel@nl.linux.org> 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ciRik van Riel. 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci-------------------------------------------------------------- 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ciIntroduction 478c2ecf20Sopenharmony_ci============ 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ciSysctl is a means of configuring certain aspects of the kernel 508c2ecf20Sopenharmony_ciat run-time, and the /proc/sys/ directory is there so that you 518c2ecf20Sopenharmony_cidon't even need special tools to do it! 528c2ecf20Sopenharmony_ciIn fact, there are only four things needed to use these config 538c2ecf20Sopenharmony_cifacilities: 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci- a running Linux system 568c2ecf20Sopenharmony_ci- root access 578c2ecf20Sopenharmony_ci- common sense (this is especially hard to come by these days) 588c2ecf20Sopenharmony_ci- knowledge of what all those values mean 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ciAs a quick 'ls /proc/sys' will show, the directory consists of 618c2ecf20Sopenharmony_ciseveral (arch-dependent?) subdirs. Each subdir is mainly about 628c2ecf20Sopenharmony_cione part of the kernel, so you can do configuration on a piece 638c2ecf20Sopenharmony_ciby piece basis, or just some 'thematic frobbing'. 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ciThis documentation is about: 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ci=============== =============================================================== 688c2ecf20Sopenharmony_ciabi/ execution domains & personalities 698c2ecf20Sopenharmony_cidebug/ <empty> 708c2ecf20Sopenharmony_cidev/ device specific information (eg dev/cdrom/info) 718c2ecf20Sopenharmony_cifs/ specific filesystems 728c2ecf20Sopenharmony_ci filehandle, inode, dentry and quota tuning 738c2ecf20Sopenharmony_ci binfmt_misc <Documentation/admin-guide/binfmt-misc.rst> 748c2ecf20Sopenharmony_cikernel/ global kernel info / tuning 758c2ecf20Sopenharmony_ci miscellaneous stuff 768c2ecf20Sopenharmony_cinet/ networking stuff, for documentation look in: 778c2ecf20Sopenharmony_ci <Documentation/networking/> 788c2ecf20Sopenharmony_ciproc/ <empty> 798c2ecf20Sopenharmony_cisunrpc/ SUN Remote Procedure Call (NFS) 808c2ecf20Sopenharmony_civm/ memory management tuning 818c2ecf20Sopenharmony_ci buffer and cache management 828c2ecf20Sopenharmony_ciuser/ Per user per user namespace limits 838c2ecf20Sopenharmony_ci=============== =============================================================== 848c2ecf20Sopenharmony_ci 858c2ecf20Sopenharmony_ciThese are the subdirs I have on my system. There might be more 868c2ecf20Sopenharmony_cior other subdirs in another setup. If you see another dir, I'd 878c2ecf20Sopenharmony_cireally like to hear about it :-) 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_ci.. toctree:: 908c2ecf20Sopenharmony_ci :maxdepth: 1 918c2ecf20Sopenharmony_ci 928c2ecf20Sopenharmony_ci abi 938c2ecf20Sopenharmony_ci fs 948c2ecf20Sopenharmony_ci kernel 958c2ecf20Sopenharmony_ci net 968c2ecf20Sopenharmony_ci sunrpc 978c2ecf20Sopenharmony_ci user 988c2ecf20Sopenharmony_ci vm 99