Tags: pending thankyou On Wed, Aug 05, 2015 at 02:18:22AM +0200, Francois Lafont wrote: > The ps command doesn't sort correctly when I use the "etimes" > specifier, but it works well with "etime" (without the "s" at > the end). For instances, with "k -etimes" and "k +etimes", I > have the same order: I have in the upstream git aliased the etimes sort with etime sort. As both columns are displaying the same thing in a different format, it now sorts correctly.
$ ps/pscommand -o etimes,etime,pid k +etimes ELAPSED ELAPSED PID 0 00:00 16895 110 01:50 16748 110 01:50 16749 1992 33:12 16258 3674 01:01:14 13425 3697 01:01:37 13336 3748 01:02:28 13231 3750 01:02:30 13216 606404 7-00:26:44 11882 2090807 24-04:46:47 26079 2090808 24-04:46:48 26071 2090809 24-04:46:49 26063 The relevant commit is at https://gitlab.com/procps-ng/procps/commit/313f9367397e2f1275186f5384371c9a5e24a8b0 -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org