Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ GNU Linux system variables (sysctl configuration commands) integrated use     - Oracle Automatic Diagnostic Repository (Automatic Diagnostic Repository, ADR) (Database)

- Getting the Linux shell flow control statements (Programming)

- How to install Unbound and DNSCrypt in Archlinux (Server)

- MySQL composite partition (Database)

- Set up MySQL master and slave servers under Ubuntu 14.04 (Server)

- Detailed usage history command (Linux)

- Java Timer (regular calling, to achieve a fixed time to perform) (Programming)

- Based kubernetes Construction Docker Cluster Management Comments (Server)

- Linux environment variable configuration (Linux)

- Android realize RippleEffect water (Programming)

- Linux character device - a simple character device model (Linux)

- Android media library of analysis: MediaProvider (Programming)

- Graphics of Java Tools (Programming)

- Ubuntu 12.04 installation NVIDIA GTX750 graphics driver (Linux)

- Embedded Linux to solve the problem in the time zone (Linux)

- Oracle index visible and hidden (visible / invisible) (Database)

- iOS in the event delivery and the responder chain (Programming)

- Python uses multi-process pool (Programming)

- Puppet centralized configuration management system (Server)

- CentOS 7 How to connect to a wireless network (Linux)

  GNU Linux system variables (sysctl configuration commands) integrated use
  Add Date : 2016-11-04      
  GNU Linux system variables (sysctl configuration commands) integrated use

See all values of kernel variables
sysctl -a

How to check the value of a system variable
1), cat / proc / sys / net / ipv4 / ip_local_port_range

2), sysctl -a | grep ip_local_port_range
net.ipv4.ip_local_port_range = 32768 61000

Modification method:
1), echo "1024 65535"> / proc / sys / net / ipv4 / ip_local_port_range
2), make the following settings in /etc/sysctl.conf in:
net.ipv4.ip_local_port_range = 1024 65535
Then execute: sysctl -p these settings to take effect;

3), use the command directly to optimize the system variables
sysctl -w net.ipv4.ip_local_port_range = 1024 65535

In the above second method, many people might like to respect net.ipv4.ip_local_port_range. Separated variable does not know how to, in fact, this wording is a system variable path in / proc / sys / directory the hierarchical representation; the full path, such as cat / proc / sys / net / ipv4 / ip_local_port_range view system variables when this method is the direct use for viewing values;
- Openfire Hazelcast cluster Detailed (Server)
- How to use jgit to manage Git submodule (Linux)
- Unix system security configuration (Linux)
- Hadoop + Zookeeper NameNode achieve high availability (Server)
- How to display a dialog Bash Shell script (Programming)
- Deploy Apache Spark cluster environment in Ubuntu (Server)
- Monitor traffic Linux Shell Edition (Programming)
- Xshell key authentication mechanism using a remote login Linux (Linux)
- Linux maximum number of threads and limit the number of queries the current thread (Linux)
- MySQL Tutorial: About checkpoint mechanism (Database)
- Python context managers (Programming)
- Snapshot DataGuard (Database)
- To install Spotify in Ubuntu / Mint (Linux)
- Create a DLL using MinGW and Attention (Programming)
- How to manage the time and date at systemd Linux systems (Linux)
- OpenCV cvFindCornerSubPix () to find sub-pixel Corner (Programming)
- About Linux operating system security (Linux)
- Tsunami-udp accelerated network transmission (Linux)
- Storm basic framework for analysis (Programming)
- CoreOS Linux introduces Kubernetes kubelet (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.