[Bug 206128] vmstat -z is truncated when stdout is not terminal

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 11 10:01:53 UTC 2016


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

            Bug ID: 206128
           Summary: vmstat -z is truncated when stdout is not terminal
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: rodrigc at FreeBSD.org

After base r291090 non-libxo output for -z option is unreliable.

$ vmstat -z | wc -l
     113

$ vmstat -z | tail -3
16384:                16384,      0,       6,       6,  368241,   0,   0
16384:                16384,      0,       1,       5,    1088,   0,   0
32768:         

$ script -q vmstat.out vmstat -z
[snipped]

$ wc -l vmstat.out
     326 vmstat.out

$ fgrep -m1 32768: vmstat.out
32768:                32768,      0,       0,       0,       0,   0,   0

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


More information about the freebsd-bugs mailing list