LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what does the directories under /proc do? (https://www.linuxquestions.org/questions/linux-newbie-8/what-does-the-directories-under-proc-do-136144/)

286 01-18-2004 06:28 PM

what does the directories under /proc do?
 
the directories under /proc directory are all named as numbers such like 1, 2,3, 1844, 1845 etc. what are these directories for? just want to know. thx

g-rod 01-18-2004 06:38 PM

The proc directory is you window into the running kernel. Those numbers are process numbers on the machine. Try cating some of the files
cat /proc/cpuinfo;
cat /proc/ide/hda/model;
You get the idea.

leonscape 01-18-2004 06:40 PM

proc is short for processes, these numbers are the pids of running processes. Theirs also info about the machine as well.

286 01-19-2004 03:30 PM

oooo.... got it........thanks!


All times are GMT -5. The time now is 01:51 AM.