0
votes
2answers
42 views

How do I get the number of processes that have been created since the last boot on a Linux machine

How do I get the number of processes that have been created since the last boot on a Linux machine? I want to get it from a C++ program. Which proc file stores it?
2
votes
1answer
320 views

Lifetime of the Symlinks from the File Descriptors in /proc/PID/fd/

How long do the symlinks form the File Descriptors in /proc/PID/fd/ are kept? During the complete life of the process? What about when this is a multi-threaded process? Do I have the guaranty that ...