Perl removal - sockstat

Eirik Nygaard eirikn at kerneled.com
Tue Dec 30 05:49:56 PST 2003


I am working on removing most of the perl dependencie in userland, but are
having some with my sockstat[1] replacement.

When it loops through all the open files it don't see them all. In the
getfiles() function it collects the files from the kern.xfile[2] sysctl.

The main loop is in display on line 381.

The get_unix() function does not work yet so it is commented out.
Any feedback would be great.

1: http://eirikn.kerneled.com/dragonfly/sockstat.c
2: http://eirikn.kerneled.com/dragonfly/xfile.sysctl.diff

-- 
Eirik Nygaard
eirikn at xxxxxxxxxxxx
Attachment:
pgp00005.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00005.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20031230/278d75dd/attachment-0012.obj>


More information about the Submit mailing list