How to find out the script which generates the file in solaris/unix ?

Hi

A file is generated/created/modified during installation (or) execution of a script.

vice versa..How to find out which script is responsible for creating/modifying a file.

Example:- ....An existing file ( hosts.ulcm ), this file is created or modified by running a script ( may be during installation of the machine ). How to find out the script which generates host.ulcm.

Also, any one could explain "what is .ulcm file :confused:"

Thanks in Advance

---------- Post updated at 07:04 AM ---------- Previous update was at 04:13 AM ----------

Help Pls...

dtrace would be the best tool, have a look at opensnoop.