Chapter 19. Sharing More with Sysctl

Let’s start with man sysctl instead of saving it for the last, as we usually do. Why? Because I just used sysctl for the first time today and I’m not exactly what you would call an expert on the subject. Man tells us that by using sysctl we can “configure kernel parameters at runtime.”

That’s really cool, because I had need to do that recently. I was installing an application, I got errors that told me it couldn’t find sufficient shared memory.

The application gave me an out. I could change the default configuration and reduce the number of buffers used to store video images, and that would reduce the amount of shared memory required. Naturally, I took the easy way out and did it through the application rather ...

Get CLI for Noobies: A Primer on the Linux Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.