p_[usi]ticks from userland without kvm and procfs?
Ryan Beasley
ryanb at goddamnbastard.org
Wed Jan 14 10:56:39 PST 2004
Hello, -hackers!
I'm poring over some code that uses the p_[usi]ticks counters inside
of struct proc. This is fine under 4.x where kinfo_proc includes
a copy of proc, but is broken under 5.x since a commit 3 years ago
that reorganized kinfo_proc.
So, outside of kvm and procfs, is there any user<->kernel interface
for getting to struct proc or just those counters? (getrusage is
kinda close except one can't lookup info about another process.
:|. )
Any info is welcome.
TIA!
--
ryan beasley <ryanb at goddamnbastard.org>
GPG ID: 0x16EFBD48
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040114/922c6577/attachment.bin
More information about the freebsd-hackers
mailing list