How to get the thread number and every thread's ID of a running process?

Nan Xiao xiaonan830818 at gmail.com
Tue Jun 25 23:34:29 PDT 2019


Hi Matt,

Got it! Thanks!

Best Regards
Nan Xiao

On Wed, Jun 26, 2019 at 1:08 PM Matthew Dillon <dillon at backplane.com> wrote:
>
> My favorite is:   ps axlRH
>
> That not only gives you the threads, it gives you all the parent/child relationships in nicely indented output.   Use a wide xterm.  Or do it without the 'l' (ps axRH) to make more room.
>
> -Matt



More information about the Users mailing list