> Is there a way to capture all files hit by a process/user in unix (Sun
> Solaris 9, ksh)?  I am seeing an OCI file not found on my production box.
> I can't resovle it.
> So, I want to run the same process on my development box (where it works)
> and get a list of files that it is hitting (I can grep by username) for
> comparison in production.  Only I am definitely NOT the Unix guru and as
> this is for a prod issue, so my time is very limited.
> Thanks in advance,


    touch BEFORE;
    ...
    find $wherever -newer ./BEFORE;

will give you a list of files that have changed since the
BEFORE file. If you are sure that the files are being
created (vs. modified or accessed) by one specific userid
then:

    find / -newer BEFORE -user <id>

will work also.

If you are going to run the thing regularly then take a
look at "find2p", which will spit out a perl script to
match your find command. The perly code will give you
finer control and better sanity checks (e.g., comparing
to a list in memory of what has already been found to
avoid dup's) than find can.

enjoi.


--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 800 762 1582
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steven Lembark
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to