Gentoo Wiki


This link is part of the Gentoo Structure index.
Parent Directory Linked to /proc/PID Related Links


A link to the currently running process. Points to an PID directory in /proc.

You can use it to find out interesting information about a job as it runs. For example, (using C++ syntax):

std::ifstream proc("/proc/self/status");

Will allow you to find out how much memory your current C++ program is taking up.


Retrieved from ""

Last modified: Tue, 01 Jul 2008 04:25:00 +0000 Hits: 365