[plug] Finding the UID of a process

Mike Holland myk at golden.wattle.id.au
Tue Jun 12 21:40:36 WST 2001


On Tue, 12 Jun 2001, Christian wrote:

> I've tried strace'ing ps and found that it gets all this info out of
> /proc but obviously systems that don't have /proc must do it some other
> way.

IIRC, old versions of ps would read the kernel memory. You can imagine
why /proc is considered an improvement. I've never seen a system call for
it.

-- 
Mike Holland  <mike at golden.wattle.id.au>
                          --==--




More information about the plug mailing list