February 2018
Intermediate to advanced
340 pages
9h 43m
English
The function Getpid from the os package returns the PID of a process. The sample code shows how to get more information on the process from the operating system utility ps.
It could be useful to print the PID at the start of the application, so at the time of the crash, the cause could also be investigated by the retrieved PID.
Read now
Unlock full access