:: Re: [DNG] issue with procps, any hi…
Forside
Slet denne besked
Besvar denne besked
Skribent: aitor
Dato:  
Til: dng
Emne: Re: [DNG] issue with procps, any hints?
Hi Tito,

On 20/12/22 14:58, tito via Dng wrote:
> $$ is the process ID (PID) of the script itself.


Yes, passing $$ to the program, the condition:

if( proc_info->tgid == atoi(argv[1]) )

is the same than:

if( proc_info->tgid == getpid() )

Cheers,

Aitor.