LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /proc/ (https://www.linuxquestions.org/questions/linux-general-1/proc-814250/)

jone kim 06-15-2010 07:32 AM

/proc/
 
Under the /proc/ many files are named using numbers like 1,10,1099,.......Why is it so?

rayfordj 06-15-2010 07:47 AM

Because they are PIDs.

example:
Code:

$ ls -l /proc/$(pgrep firefox)/exe
lrwxrwxrwx. 1 user group 0 2010-06-15 07:44 /proc/5633/exe -> /usr/lib64/firefox-3.5/firefox


syg00 06-15-2010 08:01 AM

"man proc"


All times are GMT -5. The time now is 09:57 AM.