[Bug 272438] vmstat: "in" column overflows its width

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 09 Jul 2023 21:55:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272438

            Bug ID: 272438
           Summary: vmstat: "in" column overflows its width
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jfc@mit.edu

The "in" column of vmstat output is not made to fit within its 4 character
width.

# vmstat 1
 procs    memory    page                      disks     faults       cpu
 r  b  w  avm  fre  flt  re  pi  po   fr   sr ad0 da0   in   sy   cs us sy id
 1  0  1 523M 233M 7.7K   9   6   1 8.4K  530   0   0 4214 6.4K 3.0K 52  9 39
 2  0  1 523M 233M    0   0   0   0    0    5   0 115 16441  32K  24K 23 42 35
 2  0  1 523M 233M    0   0   0   0    0    5   0  27 9921  24K  13K 21 54 25
 2  0  1 523M 233M    0   0   0   0    0    5   0 139 17027  25K  24K 23 45 32
 2  0  1 523M 233M    0   0   0   0    0    5   0  31 11108  26K  15K 18 55 27

The five digit numbers should be reduced with K suffixes, 16441 -> 16K, 17027
-> 17K, 11108 -> 11K.

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