On Fri, Feb 17, 2023 at 09:20:34AM -0600, David Wright wrote:
> On Fri 17 Feb 2023 at 10:05:20 (+0300), Reco wrote:
> > So, to answer your question - currently the only way to restore the
> > behaviour you want is to patch procps and rebuild it.

Fabulous analysis.

> Or, depending on the context, you could of course restore
> the appearance of the output with sed:
> 
>   $ ps -eo '%p %C' | sed -e 's/\([^ ]\+\) /\1|/;'
>       PID|%CPU
>         1| 0.0
>         2| 0.0
>         3| 0.0
>         4| 0.0
>         6| 0.0
> [ … ]

Eww, GNUisms.  That aside, a workaround like this is ugly and should
not be needed.  This sounds like a bug in procps that should be reported,
if it hasn't already.

Reply via email to