Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sysctl.conf(5) [plan9 man page]

SYSCTL.CONF(5)                                                     File Formats                                                     SYSCTL.CONF(5)

NAME
sysctl.conf - sysctl preload/configuration file DESCRIPTION
sysctl.conf is a simple file containing sysctl values to be read in and set by sysctl. The syntax is simply as follows: # comment ; comment token = value Note that blank lines are ignored, and whitespace before and after a token or value is ignored, although a value can contain whitespace within. Lines which begin with a # or ; are considered comments and ignored. EXAMPLE
# sysctl.conf sample # kernel.domainname = example.com ; this one has a space which will be written to the sysctl! kernel.modprobe = /sbin/mod probe FILES
/run/sysctl.d/*.conf /etc/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc/sysctl.conf The paths where sysctl preload files usually exist. See also sysctl option --system. SEE ALSO
sysctl(8) AUTHOR
George Staikos <staikos@0wned.org> REPORTING BUGS
Please send bug reports to <procps@freelists.org> procps-ng January 2012 SYSCTL.CONF(5)

Check Out this Related Man Page

SYSCTL.CONF(5)						      BSD File Formats Manual						    SYSCTL.CONF(5)

NAME
sysctl.conf -- kernel state defaults DESCRIPTION
The /etc/sysctl.conf file is read in when the system goes into multi-user mode to set default settings for the kernel. The /etc/sysctl.conf is in the format of the sysctl(8) command, i.e. sysctl_mib=value Comments are denoted by a ``#'' at the beginning of a line. Comments can also exist at the end of a line, as seen in the EXAMPLES section, below. FILES
/etc/sysctl.conf Initial settings for sysctl(8). EXAMPLES
To turn off logging of programs that exit due to fatal signals you may use a configuration like # Configure logging. kern.logsigexit=0 # Do not log fatal signal exits (e.g. sig 11) SEE ALSO
rc.conf(5), rc(8), sysctl(8) HISTORY
The sysctl.conf file appeared in FreeBSD 4.0. BUGS
If loadable kernel modules are used to introduce additional kernel functionality and sysctls to manage that functionality, sysctl.conf may be processed too early in the boot process to set those sysctls. For example, sysctls to manage the linux emulator cannot be set in sysctl.conf if the linux emulator is loaded as a module rather than compiled into the kernel. BSD
December 30, 1999 BSD
Man Page

9 More Discussions You Might Find Interesting

1. IP Networking

Any knowledge for sysctl?

HI folks. I am developing a protocol and I need to bind to an IP address that is not configured to my machine. The problem is with bind(). The sysctl system call seamed to overcome the problem of bind if you set the proc/sys/net/ipv4/ip_nonlocal_bind flag. Although I tryed to set the flag either... (7 Replies)
Discussion started by: developer
7 Replies

2. UNIX for Advanced & Expert Users

Boot loop errors caused by RC.CONF

Hello all! I am praying someone can help me. I have been trying to install dual nics on my FreeBSD box. In my attempts I edited my RC.CONF file. I must have editing something wrong, because during the boot sequence, my machine gets through bringing up most of the services then it stops and gets... (5 Replies)
Discussion started by: ezekiel61
5 Replies

3. Red Hat

SD.conf and LPFC.conf

What would be Redhat RHEL 4.0 equivalent for Solaris sd.conf and lpfc.conf? What are the files called and where are the files located? (1 Reply)
Discussion started by: soupbone38
1 Replies

4. UNIX for Advanced & Expert Users

linux system recovery after overriding connect() by "ld.so.preload"

dear fellows; i have used ld.so.preload file to override connect() function, dynamic library overriding, it did worked really fine ...... but i went on to struck in a situation ... within the overrided connect() i have used printf once to see IP and Port to whom the connect request is being... (1 Reply)
Discussion started by: mzeeshan
1 Replies

5. UNIX for Dummies Questions & Answers

sysctl help needed.(Server Hardening).

As per Hardening guide for the server. ICMP Broadcast Response: The kernel parameter icmp_echo_ignore_broadcasts must match to 1 However when i check the value of icmp_echo_ignore_broadcasts it thrown an error as unkonwn key. # sysctl icmp_echo_ignore_broadcasts error:... (2 Replies)
Discussion started by: pinga123
2 Replies

6. HP-UX

HP-UX 10.20 mk_kernel failure

PH-UX newbie here, so please go slowly, step by step. I've just tried to install XSW700GR1020 patch set (December 2001 CD) to my preloaded HP-UX 10.20 system. After running for ages and installing pretty much most of the patches, when the mk_kernel step was run it failed with an unresolved... (7 Replies)
Discussion started by: perdrix
7 Replies

7. UNIX for Advanced & Expert Users

dhcpd6.conf Invalid ip address

Hi I am trying to setup a very basic dhcp dual stack configuration, so I have 2 dhcpd.conf file dhcpd4.conf and dhcpd6.conf # cat /usr/local/etc/dhcpd4.conf Subnet 10.45.192.0 netmask 255.255.248.0 { option subnet-mask 255.255.248.0; option routers 10.45.192.1; }# cat... (0 Replies)
Discussion started by: eeisken
0 Replies

8. UNIX for Dummies Questions & Answers

kernel option errors

I typed in sysctl -A | grep na result: error: "Success" reading key "dev.parport.parport0.autoprobe" error: permission denied on key 'net.ipv4.route.flush' what about these errors? (9 Replies)
Discussion started by: daWonderer
9 Replies

9. Shell Programming and Scripting

Preview of a bash conf file

(solved,sry) Heyas I'd like to give a little preview of an existing conf file, but not showing comments or empty lines. Sadly, either the output style is wrong, or not all values are printed. My current issue is, that the first variable read (var) contains both, the first and the second... (2 Replies)
Discussion started by: sea
2 Replies