* Dag-Erling Smorgrav <[EMAIL PROTECTED]> escriurères > Juli Mallett <[EMAIL PROTECTED]> writes: > > ps(1)'s internals, however, didn't seem quite right to me, but after about > > 10 minutes reading kvm(3) manpages and recalling some tricks with recursive > > programming to produce an N-level tree with as many as N-1 elements, I had > > come up with a simple utility to print out a "process tree". > > Don't do anything in ps(1) that depends on libkvm. It has to be > doable with sysctl as well.
I believe I can get pid, ppid, username (or at least uid [yay user_from_uid]), etc., from sysctl(3) at least as easily as with kvm(3). -- Juli Mallett <[EMAIL PROTECTED]> FreeBSD: The Power To Serve Perception is prejudice / Don't classify me / Accept me as me / Not what you see To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message