htop (CTID), atop

 

加入 CTID 的列

 

按 "S" 進入 Setup Mode, 之後如下圖操作

 


 

設定檔:

~/.htoprc

 


 

htop 常用 hotkey

 

hide

  • K: hide/show kernel threads
  • H: hide/show user threads

sort

  • P: sort by CPU%
  • M: sort by MEM%
  • T: sort by TIME
  • I: invert sort order
  • >: select sort column
  • F4: invert sort order

kill

  • F9 / k:   Kill

nice

  • F7 nice -
    F8 nice +

 


 

atop