Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 1999 01:35:56 +0100 (CET)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: kvm_getswapinfo() function added to libkvm.  top, pstat, systat updated
Message-ID:  <Pine.BSF.4.02A.9901230132160.24442-100000@korin.warman.org.pl>
In-Reply-To: <199901221110.DAA52243@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

--------------------   ++-------++  -------------------------------------
 <abial@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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9901230132160.24442-100000>