Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sysctl.conf(5) [freebsd 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

Check Out this Related Man Page

SYSCTL(8)																 SYSCTL(8)

NAME
sysctl - configure kernel parameters at runtime SYNOPSIS
sysctl [-n] [-e] variable ... sysctl [-n] [-e] -w variable=value ... sysctl [-n] [-e] -p <filename> (default /etc/sysctl.conf) sysctl [-n] [-e] -a sysctl [-n] [-e] -A DESCRIPTION
sysctl is used to modify kernel parameters at runtime. The parameters available are those listed under /proc/sys/. Procfs is required for sysctl(8) support in Linux. You can use sysctl(8) to both read and write sysctl data. PARAMETERS
variable The name of a key to read from. An example is kernel.ostype. The '/' separator is also accepted in place of a '.'. variable=value To set a key, use the form variable=value, where variable is the key and value is the value to set it to. If the value contains quotes or characters which are parsed by the shell, you may need to enclose the value in double quotes. This requires the -w param- eter to use. -n Use this option to disable printing of the key name when printing values. -e Use this option to ignore errors about unknown keys. -w Use this option when you want to change a sysctl setting. -p Load in sysctl settings from the file specified or /etc/sysctl.conf if none given. -a Display all values currently available. -A Display all values currently available in table form. EXAMPLES
/sbin/sysctl -a /sbin/sysctl -n kernel.hostname /sbin/sysctl -w kernel.domainname="example.com" /sbin/sysctl -p /etc/sysctl.conf FILES
/proc/sys /etc/sysctl.conf SEE ALSO
sysctl.conf(5) BUGS
The -A parameter behaves just as -a does. AUTHOR
George Staikos, <staikos@0wned.org> 21 Sep 1999 SYSCTL(8)

15 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. Linux

Reading files on different platforms

How can I read a file that is created in linux wordprocessor on a winxp platform and vice versa without losing the original format fo the document. Do I need an emulator of some sort to be able to do this? Secondly, Im trying to do a screen shot or a screen dump in linux wordprocessor but I cant... (2 Replies)
Discussion started by: BigTool4u2
2 Replies

3. SCO

Problem with dinosaur's kernel - Xenix 386 2.3.4

After booting from the N1 floppy I see: kernel: WARNING: No floating point emulator found in /etc/emulator (0 Replies)
Discussion started by: eugrus
0 Replies

4. UNIX for Dummies Questions & Answers

new linux on old kernel

is it possible to run REDHAT 7 (asplinux 7.2) on kernel 1.XXXX ? wil be FIRST_NEED programs work ? (0 Replies)
Discussion started by: MR.Z
0 Replies

5. Red Hat

Linux not logging into GUI

hi, Can someone help in trouble shooting why my RedHat linux 8.0 in not logging into the KDE screen. Thanks (1 Reply)
Discussion started by: kayode
1 Replies

6. Linux

Linux

Is linux multi-threaded or multi-processed kernel? (1 Reply)
Discussion started by: areef4u
1 Replies

7. HP-UX

Equivalent Kernel parameter in HP-UX

Hi, May I pls. know what would be the equivalent kernel parameter in HP-UX for the below Linux kernel parameter. sysctl kern.ps_showallprocs - This setting in Linux would let users see their own processes in "ps". Thanks, Narasimha (1 Reply)
Discussion started by: vnarsim
1 Replies

8. UNIX for Dummies Questions & Answers

Custom kernel compiling, won't boot, and errors.

First of all, I'd like to preface this post by relaying that I have considerable experience with FreeBSD but I'm a Linux newb. I've been attempting to compile linux-2.6.29.3 from source and I'm having some problems and have a few newb questions... a) First of all, my kernel won't boot, it fails... (0 Replies)
Discussion started by: urbanriot
0 Replies

9. Linux

kernel_config va menuconfig

I have come accross kernel_config a number of times.I cant understand how it is different frm menuconfig.The latter configures (enables/disables) modules for kernel. I have read that kernel_config goes to kernel source and does a make menuconfig. If that is so,then what exactly is the... (2 Replies)
Discussion started by: akaash1087
2 Replies

10. BSD

BSD kernel

Hi. I am thinking to create an OS. I don't want to use linux kernel. I want to use BSD Kernel and this also means that because will be on UFS, I cannot use Gparted. This are my 2 questions. 1) Where can I download BSD Kernel. 2) Witch is the tool to create the partitions. (I think is gpart but I... (1 Reply)
Discussion started by: snuffell
1 Replies

11. Linux

Linux kernel compilation

I have complied the kernel with a default settings... now if I load this kernel , it'll load perfectly but the INTERNET is not workink... I think in the default settings The network modules are not included.. Can anybody help me out with the selection of the network module when i give "make... (1 Reply)
Discussion started by: naresh046
1 Replies

12. Programming

Assembly 8085

Hi eneryone, Im trying to learn about assemply 8085 in order to make a project i have. First of all which emulator to use? I work in linux and I currently istalled GNUSim8085. Also, maybe somewhere I can find some simple examples? The project is about making an array saved in specific... (8 Replies)
Discussion started by: giampoul
8 Replies

13. Emergency UNIX and Linux Support

Rootvg in read only state

I have Oracle Linux 5.7. It was hanged, so I rebooted it and now it came into maintenance mode and asking for root password. After password, it is at (Repair filesystem) 10 # I am not sure, where to go from here. All file-systems are in vg. Non-root is coming from EMC storage and root is from... (15 Replies)
Discussion started by: solaris_1977
15 Replies

14. Red Hat

Which is the effective ephemeral port range in Linux 2.6 for this set up?

In my Linux system ephemeral port range is showing different ranges as follows $ cat /proc/sys/net/ipv4/ip_local_port_range 32768 61000  cat /etc/sysctl.conf | grep net.ipv4.ip_local_port_range net.ipv4.ip_local_port_range = 9000 65500 Which will be the effective ephemeral port... (5 Replies)
Discussion started by: steephen
5 Replies

15. UNIX for Beginners Questions & Answers

Missing Modules After Compiling Kernel

I'm a little embarrassed after all these years I've never really successfully compiled my own kernel. I used this guide to make the following files: linux-headers-5.1.9_5.1.9-1_amd64.deb linux-image-5.1.9_5.1.9-1_amd64.deb linux-libc-dev_5.1.9-1_amd64.deb When I first booted into this... (4 Replies)
Discussion started by: Azrael
4 Replies

Featured Tech Videos