It would be useful to include the state (ESTABLISHED, LISTEN, FIN_WAIT1, etc) for each tcp socket found by pfiles. This information can be found as in integer in /proc/net/tcp, and translated to a state using the enum in include/net/tcp_states.h in the kernel.
It would be useful to include the state (
ESTABLISHED,LISTEN,FIN_WAIT1, etc) for each tcp socket found bypfiles. This information can be found as in integer in/proc/net/tcp, and translated to a state using the enum ininclude/net/tcp_states.hin the kernel.