How can you make htop sort the list of processes by PID?
2 Answers
htop --sort-key PID
appears to work. Found it via htop --help.
htop --sort-key help
shows a list of all the column keys.
Press F6
and select PID
...
-
2
-
11
-
-
1@OSX It works on my machine and is documented in htop's man page. It would work if you didn't have another issue.– Daniel Beck ♦Apr 27, 2011 at 5:48
-
I'm going to upvote you only because I think the OP is a little stingy here - there's nothing wrong with F6, and almost keyboard where it doesn't exist (with few exceptions). Apr 27, 2011 at 22:55