Graeme Geldenhuys wrote:


How can I see the thread-count per process / application under Linux?

To answer my own question...

  $ watch -n.1 'ps -C thunderbird-bin -L -o pid,tid,pcpu,state'

This will execute the ps command every second showing a "live" update of the threads for the 'thunderbird-bin' process. Pretty cool! :)

For more such handy command line functions have a look at:
  http://www.pixelbeat.org/cmdline.html#monitor



Regards,
  - Graeme -

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to