Re: How to get the thread number and every thread's ID of a running process?
Hi Matt, Got it! Thanks! Best Regards Nan Xiao On Wed, Jun 26, 2019 at 1:08 PM Matthew Dillon 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
Re: How to get the thread number and every thread's ID of a running process?
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
Re: How to get the thread number and every thread's ID of a running process?
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 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. > > >
Re: How to get the thread number and every thread's ID of a running process?
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.
How to get the thread number and every thread's ID of a running process?
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! Best Regards Nan Xiao