Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
33
rated 0 times [  33] [ 0]  / answers: 1 / hits: 29905  / 1 Year ago, wed, february 15, 2023, 5:57:58

Can I somehow modify htop's default view to display processes sorted by CPU usage? I want htop to "remember" my view/sort method.



If it's relevant, I'm currently on Xubuntu 13.10.


More From » htop

 Answers
2

Run htop, press F6, select CPU%.



Quit by using F10



If it doesn't remember your settings check your ~/.config/htop/htoprc file if it is writable by your user. You might make it writable like this:



chown $USER ~/.config/htop/htoprc


Or you can try removing it and let htop generate a new one, maybe the old one is corrupted somehow.



rm ~/.config/htop/htoprc

[#27648] Thursday, February 16, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ardtry

Total Points: 254
Total Questions: 99
Total Answers: 114

Location: Finland
Member since Fri, Oct 21, 2022
2 Years ago
ardtry questions
;