Date: Sun, 2 Dec 2007 10:10:27 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c kern_proc.c src/sys/sys sysctl.h user.h Message-ID: <200712021010.lB2AAROI031906@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2007-12-02 10:10:27 UTC
FreeBSD src repository
Modified files:
sys/kern kern_descrip.c kern_proc.c
sys/sys sysctl.h user.h
Log:
Add two new sysctls in support of the forthcoming procstat(1) to support
its -f and -v arguments:
kern.proc.filedesc - dump file descriptor information for a process, if
debugging is permitted, including socket addresses, open flags, file
offsets, file paths, etc.
kern.proc.vmmap - dump virtual memory mapping information for a process,
if debugging is permitted, including layout and information on
underlying objects, such as the type of object and path.
These provide a superset of the information historically available
through the now-deprecated procfs(4), and are intended to be exported
in an ABI-robust form.
Revision Changes Path
1.314 +180 -1 src/sys/kern/kern_descrip.c
1.256 +159 -1 src/sys/kern/kern_proc.c
1.153 +3 -0 src/sys/sys/sysctl.h
1.71 +92 -1 src/sys/sys/user.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712021010.lB2AAROI031906>
