1*57043247SMauro Carvalho Chehab=========================== 2*57043247SMauro Carvalho ChehabDocumentation for /proc/sys 3*57043247SMauro Carvalho Chehab=========================== 4*57043247SMauro Carvalho Chehab 5*57043247SMauro Carvalho ChehabCopyright (c) 1998, 1999, Rik van Riel <riel@nl.linux.org> 6*57043247SMauro Carvalho Chehab 7*57043247SMauro Carvalho Chehab------------------------------------------------------------------------------ 8*57043247SMauro Carvalho Chehab 9*57043247SMauro Carvalho Chehab'Why', I hear you ask, 'would anyone even _want_ documentation 10*57043247SMauro Carvalho Chehabfor them sysctl files? If anybody really needs it, it's all in 11*57043247SMauro Carvalho Chehabthe source...' 12*57043247SMauro Carvalho Chehab 13*57043247SMauro Carvalho ChehabWell, this documentation is written because some people either 14*57043247SMauro Carvalho Chehabdon't know they need to tweak something, or because they don't 15*57043247SMauro Carvalho Chehabhave the time or knowledge to read the source code. 16*57043247SMauro Carvalho Chehab 17*57043247SMauro Carvalho ChehabFurthermore, the programmers who built sysctl have built it to 18*57043247SMauro Carvalho Chehabbe actually used, not just for the fun of programming it :-) 19*57043247SMauro Carvalho Chehab 20*57043247SMauro Carvalho Chehab------------------------------------------------------------------------------ 21*57043247SMauro Carvalho Chehab 22*57043247SMauro Carvalho ChehabLegal blurb: 23*57043247SMauro Carvalho Chehab 24*57043247SMauro Carvalho ChehabAs usual, there are two main things to consider: 25*57043247SMauro Carvalho Chehab 26*57043247SMauro Carvalho Chehab1. you get what you pay for 27*57043247SMauro Carvalho Chehab2. it's free 28*57043247SMauro Carvalho Chehab 29*57043247SMauro Carvalho ChehabThe consequences are that I won't guarantee the correctness of 30*57043247SMauro Carvalho Chehabthis document, and if you come to me complaining about how you 31*57043247SMauro Carvalho Chehabscrewed up your system because of wrong documentation, I won't 32*57043247SMauro Carvalho Chehabfeel sorry for you. I might even laugh at you... 33*57043247SMauro Carvalho Chehab 34*57043247SMauro Carvalho ChehabBut of course, if you _do_ manage to screw up your system using 35*57043247SMauro Carvalho Chehabonly the sysctl options used in this file, I'd like to hear of 36*57043247SMauro Carvalho Chehabit. Not only to have a great laugh, but also to make sure that 37*57043247SMauro Carvalho Chehabyou're the last RTFMing person to screw up. 38*57043247SMauro Carvalho Chehab 39*57043247SMauro Carvalho ChehabIn short, e-mail your suggestions, corrections and / or horror 40*57043247SMauro Carvalho Chehabstories to: <riel@nl.linux.org> 41*57043247SMauro Carvalho Chehab 42*57043247SMauro Carvalho ChehabRik van Riel. 43*57043247SMauro Carvalho Chehab 44*57043247SMauro Carvalho Chehab-------------------------------------------------------------- 45*57043247SMauro Carvalho Chehab 46*57043247SMauro Carvalho ChehabIntroduction 47*57043247SMauro Carvalho Chehab============ 48*57043247SMauro Carvalho Chehab 49*57043247SMauro Carvalho ChehabSysctl is a means of configuring certain aspects of the kernel 50*57043247SMauro Carvalho Chehabat run-time, and the /proc/sys/ directory is there so that you 51*57043247SMauro Carvalho Chehabdon't even need special tools to do it! 52*57043247SMauro Carvalho ChehabIn fact, there are only four things needed to use these config 53*57043247SMauro Carvalho Chehabfacilities: 54*57043247SMauro Carvalho Chehab 55*57043247SMauro Carvalho Chehab- a running Linux system 56*57043247SMauro Carvalho Chehab- root access 57*57043247SMauro Carvalho Chehab- common sense (this is especially hard to come by these days) 58*57043247SMauro Carvalho Chehab- knowledge of what all those values mean 59*57043247SMauro Carvalho Chehab 60*57043247SMauro Carvalho ChehabAs a quick 'ls /proc/sys' will show, the directory consists of 61*57043247SMauro Carvalho Chehabseveral (arch-dependent?) subdirs. Each subdir is mainly about 62*57043247SMauro Carvalho Chehabone part of the kernel, so you can do configuration on a piece 63*57043247SMauro Carvalho Chehabby piece basis, or just some 'thematic frobbing'. 64*57043247SMauro Carvalho Chehab 65*57043247SMauro Carvalho ChehabThis documentation is about: 66*57043247SMauro Carvalho Chehab 67*57043247SMauro Carvalho Chehab=============== =============================================================== 68*57043247SMauro Carvalho Chehababi/ execution domains & personalities 69*57043247SMauro Carvalho Chehabdebug/ <empty> 70*57043247SMauro Carvalho Chehabdev/ device specific information (eg dev/cdrom/info) 71*57043247SMauro Carvalho Chehabfs/ specific filesystems 72*57043247SMauro Carvalho Chehab filehandle, inode, dentry and quota tuning 73*57043247SMauro Carvalho Chehab binfmt_misc <Documentation/admin-guide/binfmt-misc.rst> 74*57043247SMauro Carvalho Chehabkernel/ global kernel info / tuning 75*57043247SMauro Carvalho Chehab miscellaneous stuff 76*57043247SMauro Carvalho Chehabnet/ networking stuff, for documentation look in: 77*57043247SMauro Carvalho Chehab <Documentation/networking/> 78*57043247SMauro Carvalho Chehabproc/ <empty> 79*57043247SMauro Carvalho Chehabsunrpc/ SUN Remote Procedure Call (NFS) 80*57043247SMauro Carvalho Chehabvm/ memory management tuning 81*57043247SMauro Carvalho Chehab buffer and cache management 82*57043247SMauro Carvalho Chehabuser/ Per user per user namespace limits 83*57043247SMauro Carvalho Chehab=============== =============================================================== 84*57043247SMauro Carvalho Chehab 85*57043247SMauro Carvalho ChehabThese are the subdirs I have on my system. There might be more 86*57043247SMauro Carvalho Chehabor other subdirs in another setup. If you see another dir, I'd 87*57043247SMauro Carvalho Chehabreally like to hear about it :-) 88*57043247SMauro Carvalho Chehab 89*57043247SMauro Carvalho Chehab.. toctree:: 90*57043247SMauro Carvalho Chehab :maxdepth: 1 91*57043247SMauro Carvalho Chehab 92*57043247SMauro Carvalho Chehab abi 93*57043247SMauro Carvalho Chehab fs 94*57043247SMauro Carvalho Chehab kernel 95*57043247SMauro Carvalho Chehab net 96*57043247SMauro Carvalho Chehab sunrpc 97*57043247SMauro Carvalho Chehab user 98*57043247SMauro Carvalho Chehab vm 99