• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How To Check Current Values for Kernel Tuning Parameters in CentOS/RHEL

by admin

Question: How to check to current values for these kernel parameters?

  • net.core.netdev_max_backlog
  • fs.file-max
  • net.ipv4.tcp_max_syn_backlog
  • net.core.somaxconn

The linux system could not support to method for directly check these values but we can check to using by below commands :

# netstat -an | grep -c SYN_RECV
# netstat -s

Also, those parameter can be checked from below paths:

net.core.netdev_max_backlog ----> /proc/sys/net/core/netdev_max_backlog
net.ipv4.tcp_max_syn_backlog ----> /proc/sys/net/ipv4/tcp_max_syn_backlog
net.core.somaxconn ----> /proc/sys/net/core/somaxconn

These commands help to calculate receiving packet in server.

file-max check:

# cat /proc/sys/fs/file-nr
672 0 175158
-- -- ------
| | +------ Max
| +------------ Available
+---------------- Current allocated

Filed Under: CentOS/RHEL, Linux

Some more articles you might also be interested in …

  1. adig Command Examples in Linux
  2. CentOS / RHEL : How to change password hashing algorithm
  3. CentOS / RHEL : How to collect sosreport
  4. How To Configure 802.1q VLAN On NIC On CentOS/RHEL 7 and 8
  5. CentOS/RHEL: How to find the package with a missing file using YUM
  6. CentOS / RHEL 7 : How to install kernel from rescue mode
  7. Command line parameters in shell scripts
  8. pidstat Command Examples in Linux
  9. 12 RPM (Red Hat Package Manager) Command Examples
  10. Installation Steps of jEdit on Ubuntu Linux

You May Also Like

Primary Sidebar

Recent Posts

  • fprintd-delete Command Examples in Linux
  • fprintd-delete: command not found
  • foreman: command not found
  • foreman Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright