On Sun, 12 Feb 2006 22:56:06 +0100, Martin v. Löwis <[EMAIL PROTECTED]> wrote: > Jorgen Grahn wrote: >> I was thinking mostly about /proc, /sys and related file systems. I have a >> feeling parts of them they change quite frequently under Linux, and of >> course under other Unices they may look completely different, or be absent. >> >> Like Mr Laird said elsewhere, the best thing might be to popen() netstat >> and parse its output. > > Hmm. And the netstat output cannot change, and is identical across all > systems?
I was going to mention that complication, but I didn't want to depress the original poster any more ... /Jorgen -- // Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu \X/ snipabacken.dyndns.org> R'lyeh wgah'nagl fhtagn! -- http://mail.python.org/mailman/listinfo/python-list