On Fri, 22 Jan 1999, Matthew Dillon wrote:

>     A new function, kvm_getswapinfo(), has been added to libkvm.
> 
>     pstat, systat, and top have been updated to use the new function.

Have you considered using sysctl(3) for this instead? If yes, could you
explain why the libkvm seemed better to you?

(I'm asking because with libkvm you need to use /dev/kmem _and_ you need
to access symbol table - this doesn't work with stripped kernels).

Andrzej Bialecki

--------------------   ++-------++  -------------------------------------
 <ab...@nask.pl>       ||PicoBSD||   FreeBSD in your pocket? Go and see:
 Research & Academic   |+-------+|       "Small & Embedded FreeBSD"
 Network in Poland     | |TT~~~| |    http://www.freebsd.org/~picobsd/
--------------------   ~-+==---+-+  -------------------------------------


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to