Bug 230715 - sockstat does not aligns columns
Summary: sockstat does not aligns columns
Status: Closed Feedback Timeout
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.2-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-17 20:54 UTC by Slawomir Wojciech Wojtczak
Modified: 2020-10-28 19:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2018-08-17 20:54:38 UTC
Current output:

# sockstat -l4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
syncthing syncthing 4875  9  tcp4   10.0.0.100:22000      *:*
syncthing syncthing 4875  10 udp4   10.0.0.100:20347      *:*
syncthing syncthing 4875  11 udp4   10.0.0.100:21027      *:*
syncthing syncthing 4875  15 tcp4   10.0.0.100:8384       *:*
syncthing syncthing 4875  18 udp4   10.0.0.100:21820      *:*
syncthing syncthing 4875  19 udp4   10.0.0.100:16107      *:*
root     sendmail   96174 3  tcp4   10.0.0.100:25         *:*
root     syslogd    56080 6  udp4   10.0.0.100:514        *:*

How it should be:

# sockstat -l4
USER      COMMAND     PID FD PROTO LOCAL ADDRESS    FOREIGN ADDRESS      
syncthing syncthing  4875  9  tcp4 10.0.0.100:22000 *:*
syncthing syncthing  4875 10  udp4 10.0.0.100:20347 *:*
syncthing syncthing  4875 11  udp4 10.0.0.100:21027 *:*
syncthing syncthing  4875 15  tcp4 10.0.0.100:8384  *:*
syncthing syncthing  4875 18  udp4 10.0.0.100:21820 *:*
syncthing syncthing  4875 19  udp4 10.0.0.100:16107 *:*
root      sendmail  96174  3  tcp4 10.0.0.100:25    *:*
root      syslogd   56080  6  udp4 10.0.0.100:514   *:*