Re: reading kernel tunables from userland ?

From: pluknet <pluknet_at_gmail.com>
Date: Wed, 23 Apr 2008 14:14:02 +0400
Hello,

2008/4/23 Luigi Rizzo <rizzo_at_iet.unipi.it>:
> sorry for the possibly naive question, but is there
>  a way other than sysctl to read the value of kernel 'tunable'
>  variables ?
>
>  E.g. in if_nfe.c i see
>
>  TUNABLE_INT("hw.nfe.msi_disable", &msi_disable);
>  TUNABLE_INT("hw.nfe.msix_disable", &msix_disable);
>  TUNABLE_INT("hw.nfe.jumbo_disable", &jumbo_disable);
>
>  but sysctl is reporting none of them.
>
>  I seem to remember that there was a separate command to access
>  kernel tunables,
>  but cannot remember which one, and neither 'man -k tunable'
>  nor a google search return any useful answer...

Perhaps are you about kenv ?

wbr,
pluknet
Received on Wed Apr 23 2008 - 08:42:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:30 UTC