Sample Header Ad - 728x90

If /etc/sysctl.conf doesn't exist, where is my sysctl storing configs?

6 votes
1 answer
17184 views
I want to change two values using sysctl. One is the
vm.swappiness=10
and the other,
kernel.sysrq=1
. However, when I run
-p
, it tells me
: cannot open "/etc/sysctl.conf": No such file or directory
, but
-a
returns this . So, I want to ask where is my system storing sysctl config?
Asked by Akshat Vats (489 rep)
Jun 25, 2020, 01:55 PM
Last activity: Jun 25, 2020, 03:54 PM