Processes and threads

From Alessandro's Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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]