Why does the sysctl command no longer accept a group/parent as an argument on RHEL6?

Solution Unverified - Updated -

Issue

  • On RHEL5, the sysctl tool let you specify a group/parent as the argument and all items below that would be printed.  For example:

    [root@rhel5.6 ~]# sysctl net.core
    net.core.netdev_budget = 300
    net.core.somaxconn = 128
    net.core.xfrm_larval_drop = 0
    net.core.xfrm_acq_expires = 30
    ...
    
  • On RHEL6, this no longer works:

    [root@rhel6.0 ~]# sysctl net.core
    error: "Invalid argument" reading key "net.core"
    

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.