Package: htop
Version: 3.2.2-2
Severity: normal

I have noticed for some time now that htop does not seem to sort
properly.

Using F6/sort option, I find that the list is usually sorted by PID
regardless of whetehr I have chooseb other choices. I usually want a
sort by CP usage or Memory.

This seems to be a problem with the user interface: ncurses?. Using the -s 
option
as in
$ htop -s PERCENT_CPU
it sorts as expected.

----------------------------------------------------------------

-- System Information:
Debian Release: 12.0
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages htop depends on:
ii  libc6             2.36-8
ii  libncursesw6      6.4-2
ii  libnl-3-200       3.7.0-0.2+b1
ii  libnl-genl-3-200  3.7.0-0.2+b1
ii  libtinfo6         6.4-2

htop recommends no packages.

Versions of packages htop suggests:
ii  lm-sensors  1:3.6.0-7.1
ii  lsof        4.95.0-1
ii  strace      6.1-0.1

-- no debconf information

Reply via email to