Comment 4 for bug 1716113

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Running without the redirect I realized that sysstat now has colored output.
So I assumed that this might be a misdetection of the capabilities of the output.

a) pidstat -> colored
b) sudo pidstat -> non colored
c) pidstat to file -> special chars

Yet OTOH I'd not see the special chars in b), so the detection might be ok, but the non colorized output could be broken.

But then the color chars would need some actual content.
As I sniffed yesterday the extra chars are just always "00" bytes.
And I now found that ALL of them are.
All 00 is no color code, but maybe a failed effect of the colorizing code changes.

I checked changes since 11.5.7 on https://github.com/sysstat/sysstat but there is no fix to that issue. Debugging the code that prints this now ...