[Bug 156768] [patch] sockstat(1): missing spaces between long fields in output

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 4 10:22:22 UTC 2014


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

Dmitry Sivachenko <demon at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |demon at FreeBSD.org

--- Comment #3 from Dmitry Sivachenko <demon at FreeBSD.org> ---
Created attachment 145337
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145337&action=edit
Always print space after procname

I suggest at least the attached fix: limit username to 8 characters not to
break formatting for long usernames and (more important) to always print at
least one space after procname, otherwise for long procname sticks to PID and
this makes mahines parsing impossible:

transmission transmissi813 9 tcp4   *:9091                *:*

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


More information about the freebsd-bugs mailing list