From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 9 11:18:24 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39B3537B401 for ; Mon, 9 Jun 2003 11:18:23 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FB6B43F75 for ; Mon, 9 Jun 2003 11:18:23 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfk7o.dialup.mindspring.com ([165.247.208.248] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19PRDn-00063s-00; Mon, 09 Jun 2003 11:18:19 -0700 Message-ID: <3EE4CD9C.12BFAB65@mindspring.com> Date: Mon, 09 Jun 2003 11:10:36 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Vlad GALU References: <20030608201656.5d8102d5.vladg@vipnet.ro> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a48516df04cee192dafde7b94c03ea1c41548b785378294e88350badd9bab72f9c350badd9bab72f9c cc: freebsd-hackers@freebsd.org Subject: Re: kvm questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 18:18:24 -0000 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. By the way, accessing this type of data directly from the kernel is evil. -- Terry