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


 
Thread Tools Search this Thread
Operating Systems Solaris How to find out the script which generates the file in solaris/unix ?
# 1  
Old 02-23-2012
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 Smilie"

Thanks in Advance

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

Help Pls...

Last edited by frintocf; 02-23-2012 at 05:14 AM.. Reason: Correction
# 2  
Old 02-23-2012
dtrace would be the best tool, have a look at opensnoop.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script that automatically generates HTML

hi I have a script with HTML code and am currently generating the html page everytime using genWebsite.sh > startPage.html Is it possible to have a loop at the begining of the script to run this command every minute so an updated HTML page is displayed or could someone suggest an alternative... (2 Replies)
Discussion started by: scriptnewbie
2 Replies

2. Shell Programming and Scripting

Sar -u generates multiple column headers in csv file

Hi All, The below sar -u command generates multiple column headers in csv file Expected output should print column headers only once in the csv file shell script: $cat sar_cpu_EBS.sh #!/bin/bash while ; do sar -u 15 1 | awk '/^/ {print $1,$2,$4,$6,$7}' | tr -s ' ' ',' >>... (6 Replies)
Discussion started by: a1_win
6 Replies

3. UNIX for Advanced & Expert Users

A Program Which Generates a Script Which Kills It

I have a C++ program, running on Fedora Linux, which has to be able to update itself to a new version, which it can obtain from a server. The way I do this is to have it create a shell script which kills it (the parent process), uninstalls it, downloads the new version (actually it does this... (1 Reply)
Discussion started by: BrandonShw
1 Replies

4. Shell Programming and Scripting

perl script for generates a report for backup times

Hi all, we do have daily oracle database backups and i need to generate report of each database start point and end point we are using netapp snapshot(filer level) for backups. all backups logs will be come in one directory /u01/app/oracle/backup/hostname/log/* here... (7 Replies)
Discussion started by: prakashdba2010
7 Replies

5. Solaris

Building cdrkit on Solaris 8 generates a linker problem

I'm trying to build cdrkit-1.1.9 but have the same problem with 1.1.6 as well. The reason I need cdrkit is that it has an extended Joilet that mkisofs doesn't have but if anyone has another program that can provide this that might be a work around I can use. The problem I'm having is when I... (1 Reply)
Discussion started by: dxk3355
1 Replies

6. Shell Programming and Scripting

Need to write a script in UNIX to find a file if another file exists

So I have a lot of Java applications on my servers all having their own folder from the applications subdirectory. Now, I need to do the following. Search all the applications subdirectories for message.jar. If the message.jar file exists, I need to search the application directory for... (1 Reply)
Discussion started by: mmdawg
1 Replies

7. Shell Programming and Scripting

unix script to check whether particular file exists and to find its size

I want to find the size of particular file exists in a particular directory and i wnt to zip it. In the below mentioned code it should check the MQ.log in the particular directory.Please correct my code so that it will check for particular MQ.log but i could not able to check whether the... (9 Replies)
Discussion started by: Balachandar
9 Replies

8. UNIX for Advanced & Expert Users

What one line unix talk combo generates the following....

What one line unix talk combo would generate 95% cpu load? Im talking like something below (1 Reply)
Discussion started by: frequency8
1 Replies

9. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

10. Shell Programming and Scripting

how to find a file in UNIX without find command?

given a start directory,a filename,how to find it? (3 Replies)
Discussion started by: bluo
3 Replies
Login or Register to Ask a Question