[Bug 282978] sockstat doesn't use a wide enough field for the inp_gencnt column

2024-12-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282978

Mark Johnston  changed:

   What|Removed |Added

 Status|Open|In Progress
   Assignee|b...@freebsd.org|ma...@freebsd.org

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


[Bug 282978] sockstat doesn't use a wide enough field for the inp_gencnt column

2024-12-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282978

--- Comment #2 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=fbd3448614fbd7bd92e7d34c3bfd2592a07391e3

commit fbd3448614fbd7bd92e7d34c3bfd2592a07391e3
Author: Mark Johnston 
AuthorDate: 2024-12-04 01:12:39 +
Commit: Mark Johnston 
CommitDate: 2024-12-04 16:22:50 +

sockstat: Ensure that there is always a space between columns

PR: 282978
Reviewed by:asomers
MFC after:  2 weeks
Differential Revision:  https://reviews.freebsd.org/D47840

 usr.bin/sockstat/sockstat.c | 56 ++---
 1 file changed, 33 insertions(+), 23 deletions(-)

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


[Bug 282978] sockstat doesn't use a wide enough field for the inp_gencnt column

2024-11-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282978

Mark Johnston  changed:

   What|Removed |Added

 Status|New |Open
 CC||ma...@freebsd.org

--- Comment #1 from Mark Johnston  ---
https://reviews.freebsd.org/D47840

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


[Bug 282978] sockstat doesn't use a wide enough field for the inp_gencnt column

2024-11-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282978

Bug ID: 282978
   Summary: sockstat doesn't use a wide enough field for the
inp_gencnt column
   Product: Base System
   Version: 14.1-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: asom...@freebsd.org

If inp_gencnt is very large, then it can abut the CC column with no space.  For
example:

$ sockstat -4 -cC -i -P tcp -q | head -n1
root PROGNAME   94282 12  tcp4   10.2.172.93:11000 XX.XXX.XXX.XXX:14704
 367447121cubic

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