Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2003 07:55:27 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Vlad GALU <vladg@vipnet.ro>
Cc:        freebsd-hackers@freebsd.org
Subject:   RE: kvm questions
Message-ID:  <XFMail.20030609075527.jhb@FreeBSD.org>
In-Reply-To: <20030608201656.5d8102d5.vladg@vipnet.ro>

next in thread | previous in thread | raw e-mail | index | archive | help

On 08-Jun-2003 Vlad GALU wrote:
> 
>       Hello. I am trying to write a monitoring program
> which makes use of the kvm interface. My problem here
> is that I couldn't find a detailed description of the
> kinfo_proc structure anywhere in the system sources or
> Google. I have special interests towards the kp_proc &
> kp_eproc members. I can't get the process names until
> I know what those structures look like. I also posted this
> message to freebsd-stable, because I understand that
> the kinfo_proc structure has changed a bit between
> -stable and -current. My platform is 4.8-STABLE.

Most of the fields in kinfo_proc() are copies of the same
fields in struct proc/thread/etc. declared in sys/proc.h.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030609075527.jhb>