Reputation: 816
One can get information about a process according to its PID reading files in /proc/PID directory. Is there any library providing such information directly?
Upvotes: 3
Views: 562
Reputation: 3089
You may use libproc-dev
And here is a little example
Upvotes: 2