Processes and threads

From Alessandro's Wiki


Threads

  • top
    • -H Show threads as if they were processes
    • -L Show threads, possibly with LWP and NLWP columns
    • -T Show threads, possibly with SPID column
    • -m Show threads after processes
  • ps
ps uH p [PID] [| wc -l]