4 ms·
https://man.freebsd.org/cgi/man.cgi?query=kvm&sektion=3&n=1 https://man.freebsd.org/cgi/man.cgi?query=kvm&sektion=3&n=1 The aforementioned tools use these inte
by epcoa 3y ago
https://man.freebsd.org/cgi/man.cgi?query=kvm&sektion=3&n=1 https://man.freebsd.org/cgi/man.cgi?query=kvm&sektion=3&n=1
The aforementioned tools use these interfaces.
Emphasis on most of the sundry information for the live kernel now comes from sysctl, I note the (root only) mem/kmem interface for completeness and rare utilities (eg btsockstat) use it.
Going way back, this is how it all used to work, the more structured interfaces were a 90s thing.
https://github.com/v7unix/v7unix/blob/master/v7/usr/src/cmd/ps.c https://github.com/v7unix/v7unix/blob/master/v7/usr/src/cmd/...
Even early Linux used kmem for ps. Not ideal
https://cdn.kernel.org/pub/linux/kernel/Historic/old-versions/RELNOTES-0.97 https://cdn.kernel.org/pub/linux/kernel/Historic/old-version...
Also why the package is still called procps, for a while it coexisted with kmem-ps.