Skip to content

pfiles: include socket state in output #7

@gllghr

Description

@gllghr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions