Search:  
Gentoo Wiki

Gentoo:/proc/self

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


About

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.

Links

Retrieved from "http://www.gentoo-wiki.info/Gentoo:/proc/self"

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