On Tue, Nov 8, 2022 at 3:16 PM Mark Millard <mark...@yahoo.com> wrote:
> On Nov 7, 2022, at 22:50, Archimedes Gaviola <archimedes.gavi...@gmail.com> > wrote: > > > . . . > > > > > >> # sysctl -W vm.pfault_oom_attempts > >> vm.pfault_oom_attempts: -1 > >> > >> # sysctl -W vm.pfault_oom_wait > >> vm.pfault_oom_wait: 10 > > FYI: the -W just limits the command to writable cases. > If the text is not a writable, it will not get a line of output. > > > root@generic:~ # sysctl -T vm.pfault_oom_attempts > > vm.pfault_oom_attempts: -1 > > > > root@generic:~ # sysctl -T vm.pfault_oom_wait > > vm.pfault_oom_wait: 10 > > FYI: the -T just limits the command to loader tunable cases. > If the text is not loader tunable, it will not get a line of output. > > If both -T and -W list the output line, then it is both > loader-tunable and writable. The values will be the same. > > I use the -T and -W to discover/report the loader-tunable vs. > writable vs. both status (2 commands). Otherwise the -T and > -W are not necessary on the command lines. > This is well noted Mark, thanks for the detailed guide! > > > === > Mark Millard > marklmi at yahoo.com > >