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
...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716113

Title:
  pidstat outputs to log with invalid characters

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysstat/+bug/1716113/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to