Jiawei Ye wrote: > leafy_at_chihiro:~$ sockstat > sockstat: sysctlbyname(): No such file or directory > > What have I missed here? You haven't missed anything, it's broken. In revision 1.11 of src/usr.bin/sockstat/sockstat.c code was added which uses the net.inet.divert.pcblist sysctl. Unfortunately, this might not exist, so sockstat(8) gets legitimately unhappy. I'd guess that the right solution would be to replace line 226 err(1, "sysctlbyname()"); with goto out; but I'm not sure; ru, could you tell me if this is correct and/or fix it yourself? Colin PercivalReceived on Mon Dec 06 2004 - 06:15:47 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:23 UTC