Re: How can I get the PID for the current process running?
Thanks for your answer. It seems that your code returns the system_pid. This system_pid is present in the statistics table but not in the logs table. It's different from the field PID of these tables. However, if there isn't a better method to retrieve this PID, i can retrieve it with the system_pid and a join between the statistics table and the logs table.