Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Marc PERTRON
Henry Vermaak a écrit : On 23/03/07, Graeme Geldenhuys <[EMAIL PROTECTED]> 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 Moni

Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Graeme Geldenhuys
Even easier, thanks. G. On 3/23/07, Henry Vermaak <[EMAIL PROTECTED]> wrote: ps -eLf gives you information about threads. the NLWP (number of threads) and LWP (thread ID) columns are added with the -L option. ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Henry Vermaak
On 23/03/07, Graeme Geldenhuys <[EMAIL PROTECTED]> 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 giv

Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Graeme Geldenhuys
Thank you! G. On 3/23/07, Jonas Maebe <[EMAIL PROTECTED]> wrote: Attach with gdb (gdb -p ) and type "info threads" Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Jonas Maebe
On 23 Mar 2007, at 09:11, Graeme Geldenhuys wrote: 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.. Attach with gdb (gdb -

[fpc-pascal] multi threading under Linux

2007-03-23 Thread Graeme Geldenhuys
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.. I wrote a program the executes multiple threads to calculate CRC32 value