Re: How to display process priority ?, One more thing ...

Pierre-Marc Fournier <[email protected]> Fri, 31 Aug 2007 17:24:02 -0400
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
On Wed, Aug 29, 2007 at 04:22:40PM +0200, CASTOR, Mikael wrote:
> Hye,
> 
> I've got one more question, about TGID meanning. Can you explain the
> meanning please ? (if it's for target PID I don't understand about
> what it is campared to PID).
> 
> Thanks.
> 

Here PID and TGID have the same meaning as in the kernel. PID is an
identifier unique to each thread on the system (ps calls this an LWP). A
TGID (thread group ID) is an identifier shared among threads of a same
thread group (ps and POSIX call this a PID).

pmf