Compile static binary of netstat and copy it to the jail may solve your problem. Sami
בתאריך יום ה׳, 31 בינו׳ 2019, 20:09, מאת Christer Edwards < christer.edwa...@gmail.com>: > On Thu, Jan 31, 2019 at 9:29 AM Michael W. Lucas < > mwlu...@michaelwlucas.com> > wrote: > > > > > 12.0 jail on -current host: > > > > root@loghost:~ # sockstat -4 > > sockstat: struct xinpgen size mismatch > > root@loghost:~ # netstat -na -f inet > > netstat: kvm not available: /dev/mem: No such file or directory > > Some tcp sockets may have been deleted. > > Some udp sockets may have been deleted. > > > I have seen this happen anytime I have run a jail where the version does > not exactly match the host. sockstat always fails with 'sockstat: struct > xinpgen size mismatch' > > Very interested in a solution / patch / workaround myself. > > Christer > _______________________________________________ > freebsd-jail@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org" > _______________________________________________ freebsd-jail@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"