procps/ps
Jan Görig cdeb9a071a ps: fix cpu utilization sorting
The sniplet below resulted not to be sorted correctly.

for i in $(seq 1 50); do ls -R /usr &>/dev/null 2>&1 & done
    sleep 1; ps -e --sort=pcpu -o pcpu,comm=; pkill ls

Issue is present since older versions of procps (3.2.7/3.2.8).

Reference: http://www.freelists.org/post/procps/top-incorrect-sort,2
Reported-by: Jaromir Capik <jcapik@redhat.com>
Backported-by: Sami Kerola <kerolasa@iki.fi>
2012-04-25 09:34:06 +10:00
..
common.h ps: fix compiler warnings 2012-03-03 18:36:29 +11:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c ps: fix cpu utilization sorting 2012-04-25 09:34:06 +10:00
global.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
HACKING docs: remove old information from HACKING 2012-01-13 22:42:38 +01:00
help.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
Makefile.am all: check stdout and stderr status at exit 2012-03-23 15:57:53 +01:00
output.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
parser.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
ps.1 docs: fix manual page warnings 2012-04-16 12:55:53 +02:00
regression procps 010114 2002-02-01 22:47:29 +00:00
select.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
sortformat.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
stacktrace.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00