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.
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.
Run
htop
, press F6, selectCPU%
.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:Or you can try removing it and let
htop
generate a new one, maybe the old one is corrupted somehow.I noticed I had to actually quit properly using F10 and not Ctrl + C for htop to save the sort by column.
Other solutions are better, but if all else fails, you can make an alias for
htop -s PERCENT_CPU
.