Date: Fri, 20 Jun 2025 15:48:13 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 287682] The sysctl(3) man page lacks doc of the KERN_PROC_INC_THREAD modifier flag Message-ID: <bug-287682-9@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287682 Bug ID: 287682 Summary: The sysctl(3) man page lacks doc of the KERN_PROC_INC_THREAD modifier flag Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: haraldei-freebsdbugz@anduin.net CC: doc@FreeBSD.org Passing KERN_PROC_PID|KERN_PROC_INC_THREAD as the third element of the mib to sysctl the call will return an array of kinfo_proc entries, one for each thread of the process with the given pid. This is documented in the manual for libprocstat using the procstat_getprocs function, but not for sysctl. It would make sense to have it mentioned there as well. See https://git.anduin.net/haraldei/bsd-thread-time-example for an example of this use. -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287682-9>
