Vinay Kumar Reddy Karri

Useful KCMODULE Commands

Blog Post created by Vinay Kumar Reddy Karri Employee on May 30, 2016

1. To display detailed information about a kernel module :

# kcmodule -v autofs

 

2. To load a module :

# kcmodule autofs=best

 

3. To unload a module :

# kcmodule autofs=unused

 

4. To view the values of tunables :

# kctune acctresume

 

5. To view the values of tunables with description :

# kctune -d acctresume

 

6. To view the values of tunables with detailed information :

# kctune -v acctresume

 

7. To change a tunable's value to the default :

# kctune nproc=Default

 

8. To change the value of a tunable :

  # kctune nproc=3500

 

9. To view the list of module changes  for next boot :

# kcmodule -D

 

10. To view the list of tunable changes  for next boot :

# kctune -D

 

11. To view the list of module and tunable changes  for next boot :

# kconfig -D

 

12. To view the list of module settings that are set to non-default :

# kcmodule -S

 

13. To view the list of tunable settings that are set to non-default :

# kctune -S

 

14. To view the list of module and tunable settings that are set to non-default :

# kconfig -S

 

15. To unhold all the module and tunable settings being held for next boot :

# kconfig -H

Outcomes