Date: Wed, 3 Apr 2013 22:05:33 +0300 From: Mikolaj Golub <trociny@FreeBSD.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: Stanislav Sedov <stas@freebsd.org>, Attilio Rao <attilio@freebsd.org>, "Robert N. M. Watson" <rwatson@freebsd.org>, freebsd-hackers@freebsd.org Subject: Re: libprocstat(3): retrieve process command line args and environment Message-ID: <20130403190532.GA4184@gmail.com> In-Reply-To: <20130331172301.GO3794@kib.kiev.ua> References: <20130317063033.GL3794@kib.kiev.ua> <20130317091930.GA2833@gmail.com> <20130324155426.GA87022@gmail.com> <20130328105134.GO3794@kib.kiev.ua> <20130328211820.GA6657@gmail.com> <20130329092245.GU3794@kib.kiev.ua> <20130329123155.GA94024@gmail.com> <20130331134047.GN3794@kib.kiev.ua> <20130331155259.GA9867@gmail.com> <20130331172301.GO3794@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
The updated patch set: http://people.freebsd.org/~trociny/procstat_core.4.patch It includes changes discussed with Kostik. New NT_PROCSTAT_PSSTRINGS and NT_PROCSTAT_AUXV notes are added. libprocstat(3) is extended with functions to retrieve env, args and auxv (so the patch that started this thread a couple of months ago has been merged to this patch set too). procstat(1) is fully converted to work only via libprocstat(3), all its options are supported for core dumps, except kernel stacks, which are not useful in this case. It looks for me to be in a good shape now and I am planning to start committing things in a week or two, after some additional testing, if there is no objections or other suggestions. -- Mikolaj Golub
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130403190532.GA4184>