From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040422
Description of problem:
In previous releases of "ps" you could display processes with the CPU
that they were running on by using the --format=cpu command.
That ability seems to have been intentionally removed by the procps
folks as it is no longer in the --help or the "man" page for ps.
It was in the 2.x versions of procps, so it has been removed
intentionally for some reason.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run ps --format=cpu
Actual Results: all processes listed with a "-" instead of the number
of the CPU that they are running on:
[sean@homebox sean]$ ps -ef --format=cpu
Warning: bad syntax, perhaps a bogus '-'? See
Expected Results: It should list the CPU that it is running on, this
works in the 2.x versions of procps.
I am putting this in as a Feature Request as it is a loss of
functionality not a bug per se.
I hope to get the procps folks to put this back into their program as
it is a very useful tool for troubleshooting thread performance issues.
I asked the procps folks for their assistance on this one. There is
an alternative --format option "psr" that works just as well and
solves this item.
Go ahead and close this!