F
F
fokin_nikolay19892022-01-19 21:02:05
linux
fokin_nikolay1989, 2022-01-19 21:02:05

How to setup sysctl?

Good evening!
Tell me how to set 3 values ​​in the sysctl parameter
Example
vm.lowmem_reserve_ratio = 256 256 0 0
Via sysctl -w

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2022-01-20
@karabanov

Arguments must be enclosed in parentheses:

sudo sysctl -w vm.lowmem_reserve_ratio="256 256     32      0       0"
vm.lowmem_reserve_ratio = 256	256	32	0	0

There must be no spaces before and after the "=" sign.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question