Why is procfs deprecated in favor of procstat?

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Tue Feb 22 19:22:06 UTC 2011


On Tue, 22 Feb 2011, John Baldwin wrote:
>
> Actually, the replacement for procfs is not sysctl, but ptrace(2), and there

I have been following this discussion with my jaw agape.  It seems 
that the many men standing around this elephant are all perceiving 
completely different things based on their own interests and 
experiences.

My own software is using procfs to efficiently determine the path to 
the currently running executable.  I am sure that other software does 
the same since Linux procfs (and probably OS X) supports the same 
mechanism.  It is difficult to imagine how this would be done via 
ptrace(2).

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


More information about the freebsd-fs mailing list