12

Which process has created a file ?

view full story
linux-howto

http://www.unix.com – Hi All, We have a multi-threaded application. During the course of action, each process creates some files. Is there any way to know which process has created a particular file ? Ex: Suppose we have 3 process running A, B and C in the application and some files FILE1 FILE2 FILE3 and FILE4 are generated when the application is ran, is there any way to map the peocess(es) [A, B, C] to the files [FILE1 FILE2 FILE3 FILE4] created by them ? Any help would be appreciable. Thanks & Regards, 14341 (HowTos)