[Lazarus] Multi-threading support in IDE
Graeme Geldenhuys
graemeg at opensoft.homeip.net
Thu Aug 13 13:54:52 CEST 2009
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/
More information about the Lazarus
mailing list