[Bug 251291] sockstat(1) - use -w option to also make COMMAND column wider

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 21 15:15:07 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251291

            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 at FreeBSD.org
          Reporter: vermaden at interia.pl

Just an idea.

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

% sockstat -l -4   
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
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.

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


More information about the freebsd-bugs mailing list