How to get the thread number and every thread's ID of a running process?
Nan Xiao
xiaonan830818 at gmail.com
Tue Jun 25 21:20:20 PDT 2019
HI Pierre,
Got it! Thanks very much for your time and help!
Best Regards
Nan Xiao
On Wed, Jun 26, 2019 at 10:34 AM Pierre Abbat
<phma at leaf.dragonflybsd.org> wrote:
>
> On Tuesday, 25 June 2019 21.11.07 EDT Nan Xiao wrote:
> > Hi all,
> >
> > Greeting from me!
> >
> > I am a new user of DragonflyBSD, and want to know if there is some
> > method to get the thread number and every thread's ID of a running
> > process? I try to explore "/proc/$pid" directory, but can't find
> > related information. I also can't find out-of-box API to fulfill these
> > functions.
> >
> > Could anybody give some hints? Thanks very much in advance!
>
> If the process is on top, type "H" while running top.
>
> Type "ps aux -H". The output is wider than 80 characters, so hit the maximize
> button on your xterm first.
>
> Pierre
> --
> Jews use a lunisolar calendar; Muslims use a solely lunar calendar.
>
>
>
More information about the Users
mailing list