Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2016 10:01:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206128] vmstat -z is truncated when stdout is not terminal
Message-ID:  <bug-206128-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206128

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: rodrigc@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:=20=20=20=20=20=20=20=20=20

$ 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206128-8>