On Mon, Apr 10, 2023 at 01:08:42PM +0200, Daniel Lange wrote:
> Am 10.04.23 um 13:00 schrieb ael:
> > 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.
> 
> Can you delete / move away your ~/.config/htoprc (which htop is not running)
> and try again?

I should have thought of looking there..
It included 
.tree_sort_key=PERCENT_MEM
which was not being respected.

I have now deleted it, and htop seems to be sorting properly again.
So this seems to have fixed things for now at least.

Thanks.

ael

Reply via email to