-1

What's the difference between the two processes here, they both have similar files and dir inside them?

Two Different PID

pomsky
  • 68,507
  • 1
    Please 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
  • 1
    They 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 Answers1

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