11

How can you make htop sort the list of processes by PID?

tony_sid
  • 14,001
  • 51
  • 139
  • 194

2 Answers2

16
htop --sort-key PID

appears to work. Found it via htop --help.

htop --sort-key help

shows a list of all the column keys.

BigChief
  • 541
  • 3
  • 8
13

Press F6 and select PID...

Daniel Beck
  • 109,300
  • 14
  • 287
  • 334