[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KVM (kernel memory interface)



stan said on Thu, Jul 22, 2004 at 04:45:12PM -0400:
> On Wed, Jul 21, 2004 at 05:43:36PM -0400, Stewart Flood wrote:
> > I'm starting a project to port a very large application from FreeBSD to
> > Debian.  I've gotten past some of the initial porting issues, but I'm stuck
> > on this one:  under FreeBSD we used the kernel memory interface (KVM), but
> > Debian doesn't seem to have kvm.h and I can't find a man page on it.
> > 
> > Is there a package that I need to install?  If not, what do I use to get the
> > functionality of KVM?
> > 
> I don't know the answer to this, but I might be able to jog someones
> memory.
> 
> The kvm interface in the BSD's is used to collect things like process
> information etc.
> 
> How is that done in Linux?
> 
> I'm talking about the kind of info that top shows.

You read values out of the /proc filesystem.

I don't believe there is a KVM interface to the Linux /proc information,
though; you'll need to provide your own layer.

M

Attachment: pgpJKpmLeNHjV.pgp
Description: PGP signature


Reply to: