Package: procps
Version: 2:3.3.16-5
Severity: normal

When sorting long running programs by time top does not sort correct:

 PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 20   0 4708800   2,7g   5792 S 100,0   4,4 424:09.85 xxx
 20   0 4706756   2,9g   8172 S 100,0   4,6 393:36.30 xxx
 20   0 8369084   5,2g   6976 S 100,0   8,3 462:48.93 xxx
 20   0 6618068   2,3g   3684 S 100,0   3,7 542:20.74 xxx
 20   0   54760  47836   4984 R  99,3   0,1   1010:20 yyy

yyy should be the leading column
seems that leading blanks are included into the comparison


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-4-amd64 (SMP w/8 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages procps depends on:
ii  init-system-helpers  1.60
ii  libc6                2.31-5
ii  libncurses6          6.2+20201114-1
ii  libncursesw6         6.2+20201114-1
ii  libprocps8           2:3.3.16-5
ii  libtinfo6            6.2+20201114-1
ii  lsb-base             11.1.0

Versions of packages procps recommends:
ii  psmisc  23.3-1

procps suggests no packages.

-- Configuration Files:
/etc/sysctl.conf changed [not included]

-- no debconf information

Reply via email to