ps: enable sort by etimes

ps has two columns showing the same data which is elapsed time, just
the format is changed:
 etimes - elapsed time in seconds
 etime  - elapsed time in DD-hh:mm:ss

ps used to only sort by etime but not etimes, by making etimes
and alias of etime for sorting both flags work.

References:
 https://bugs.debian.org/794619

Signed-off-by: Craig Small <csmall@enc.com.au>
This commit is contained in:
Craig Small
2015-08-06 22:08:13 +10:00
parent 3da298c1d6
commit 313f936739
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -3,6 +3,7 @@ procps-ng-NEXT
* pgrep: don't crash with -a -w flags. Merge 33, Debian #768190
* skill: command line with signal number interpreted correctly
* pmap: print process name even if smaps is unreadable Debian #775624
* ps: sort by etimes column, uses etime Debian #794619
procps-ng-3.3.10
----------------