What's the difference between the two processes here, they both have similar files and dir inside them?
Asked
Active
Viewed 182 times
-1
-
1Please don't post screenshots of text. Copy the text here and apply code formatting. https://askubuntu.com/editing-help#code – muru Jan 15 '18 at 07:05
-
1They have a different number... so they are different processes. Does not mean they can not have the same files. So I do not understand the question. – Rinzwind Jan 15 '18 at 08:43
-
My point being, if all the files are same then how are the processes different. Isn't it the same copy of process ?- @Rinzwind – Anshul Choudhary Jan 15 '18 at 19:35
1 Answers
0
The /proc
filesystem is used for "housekeeping" of the processes, containing meta-information about each process. Read more details here:
http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html
If you're looking for the files opened by each process you should use the lsof
command.

Murphy
- 1,677