Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-18-2004, 07:28 PM   #1
Registered: Nov 2003
Location: London
Distribution: SuSE
Posts: 130

Rep: Reputation: 15
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
Old 01-18-2004, 07:38 PM   #2
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
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.
Old 01-18-2004, 07:40 PM   #3
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
proc is short for processes, these numbers are the pids of running processes. Theirs also info about the machine as well.
Old 01-19-2004, 04:30 PM   #4
Registered: Nov 2003
Location: London
Distribution: SuSE
Posts: 130

Original Poster
Rep: Reputation: 15
oooo.... got it........thanks!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Correlation between /proc/devices and /proc/modules ColinLadyka Linux - General 1 02-13-2006 06:25 PM
Information about /proc and /sys directories spinner_0 Linux - General 3 12-01-2005 11:39 AM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 01:23 PM
Can't create directories in /proc keripukki Linux - Software 3 09-03-2004 02:26 PM
What /proc proc file do I need? GoboFraggle Programming 1 02-05-2003 12:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration