Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2020 15:15:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251291] sockstat(1) - use -w option to also make COMMAND column wider
Message-ID:  <bug-251291-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251291

            Bug ID: 251291
           Summary: sockstat(1) - use -w option to also make COMMAND
                    column wider
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: vermaden@interia.pl

Just an idea.

As -w option for sockstat(1) provides wider field size for displaying addre=
sses
it can also be used to increase the width of COMMAND column as process names
are often cut.

% sockstat -l -4=20=20=20
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS=
=20=20=20=20=20=20
unbound  local-unbo 26332 5  udp4   127.0.0.1:53          *:*
unbound  local-unbo 26332 6  tcp4   127.0.0.1:53          *:*
root     wpa_suppli 42380 4  udp4   *:*                   *:*

Regards.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251291-227>