ltrace - A library call tracer. it is used to intercept and record dynamic calls to shared libraries on the system
To trace a program in creating somefiles using touch command $ ltrace touch a.txt b.txt c.txt
To trace program by its process id $ ltrace -p <pid_of_process>
regards, T.Dhanasekar