[fpc-pascal] multi threading under Linux

Henry Vermaak henry.vermaak at gmail.com
Fri Mar 23 12:12:32 CET 2007


On 23/03/07, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> Hi,
>
> Anybody know how I can see the amount of threads running in a process
> under Linux?  I don't mean programmatically in Free Pascal, I mean an
> external tool.  Something like 'top' or 'ps aux' or Gnome System
> Monitor, etc..
>

ps -eLf gives you information about threads.  the NLWP (number of
threads) and LWP (thread ID) columns are added with the -L option.

henry



More information about the fpc-pascal mailing list