Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am making changes to a file in the /etc/sysctl.d directory (Ubuntu 12.04).

I know that sysctl -p reloads from /etc/sysctl.conf but it doesn't seem to work for anything under the /etc/sysctl.d/ directory. A reboot works, but I'd like to do it without a reboot.

Any suggestions?

share|improve this question

2 Answers 2

As documented:

sysctl --system
sysctl -p /etc/sysctl.d/whatever.conf
for file in /etc/sysctl.d/*.conf; do
    sysctl -p $file
share|improve this answer

The README file in /etc/sysctl.d/ on an Ubuntu 12.04 system with procps 1:3.2.8-11ubuntu6.3 says to run:

service procps start

Which ends up running (via /etc/init/procps.conf) this:

cat /etc/sysctl.d/*.conf /etc/sysctl.conf | sysctl -e -p -
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.