<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Script to trouble shoot. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770488#M74508</link>
    <description>Hi:&lt;BR /&gt;Thanks. so this should work and also print out the files that were read...&lt;BR /&gt;&lt;BR /&gt;touch file1 &lt;BR /&gt;echo please wait.... &lt;BR /&gt;sleep 15 (you can change this depending on the timeframe you require) &lt;BR /&gt;touch file2 &lt;BR /&gt;find / -anewer file1 ! -anewer file2 &lt;BR /&gt;echo completed &lt;BR /&gt;&lt;BR /&gt;is this correct?&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.</description>
    <pubDate>Wed, 24 Jul 2002 14:15:07 GMT</pubDate>
    <dc:creator>brian_31</dc:creator>
    <dc:date>2002-07-24T14:15:07Z</dc:date>
    <item>
      <title>Script to trouble shoot.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770483#M74503</link>
      <description>Hi Team:&lt;BR /&gt;&lt;BR /&gt;  Trying to put up a small script which would help in trouble shooting. Say a particular application launches itself fine on one box but not on the other.I need to find all the files it touches upon before it comes up on one box and it may not touch up that file on the other. Here is something i thought..&lt;BR /&gt;&lt;BR /&gt;touch file1&lt;BR /&gt;echo please wait....&lt;BR /&gt;sleep 15 (you can change this depending on the timeframe you require)&lt;BR /&gt;touch file2&lt;BR /&gt;find / -newer file1 ! -newer file2&lt;BR /&gt;echo completed&lt;BR /&gt;&lt;BR /&gt;Can someone think better please..&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.</description>
      <pubDate>Tue, 23 Jul 2002 15:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770483#M74503</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-07-23T15:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Script to trouble shoot.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770484#M74504</link>
      <description>Trying to find files used by an application is a challenge-&lt;BR /&gt;&lt;BR /&gt;Using "find / -newer ..." is good to see what files have been modified, but doesn't show those files that were only read. The use of file2 shouldn't be needed if you execute the find right after the application terminates.&lt;BR /&gt;&lt;BR /&gt;Two products that can follow a process as files are opened are "glance" and "lsof". Unfortunatelly these are only snapshot views as the process runs.&lt;BR /&gt;&lt;BR /&gt;Another possibility is if you have already configured your system as a "trusted system", their are tools to track all file access events. If you are not a "trusted system", don't jump into it lightly. Their are other ramifications that I consider negative to going to a trusted system.&lt;BR /&gt;&lt;BR /&gt;Hope this helps...&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Tue, 23 Jul 2002 15:58:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770484#M74504</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-07-23T15:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Script to trouble shoot.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770485#M74505</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt; True. It track only the files that have been modified, but is there a way that we could track the files that have been read also?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.</description>
      <pubDate>Tue, 23 Jul 2002 16:07:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770485#M74505</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-07-23T16:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Script to trouble shoot.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770486#M74506</link>
      <description>Should work,&lt;BR /&gt;&lt;BR /&gt;try "-anewer"  a=accessed&lt;BR /&gt;&lt;BR /&gt;Volker&lt;BR /&gt;&lt;BR /&gt;Ref: &lt;A href="http://www.nsa.gov/selinux/doc/man/find.1.html" target="_blank"&gt;http://www.nsa.gov/selinux/doc/man/find.1.html&lt;/A&gt;</description>
      <pubDate>Tue, 23 Jul 2002 18:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770486#M74506</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2002-07-23T18:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Script to trouble shoot.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770487#M74507</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;convert your system to "trusted" and then "audit" the file access for everybody (or only some users).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 18:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770487#M74507</guid>
      <dc:creator>Wodisch_1</dc:creator>
      <dc:date>2002-07-23T18:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Script to trouble shoot.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770488#M74508</link>
      <description>Hi:&lt;BR /&gt;Thanks. so this should work and also print out the files that were read...&lt;BR /&gt;&lt;BR /&gt;touch file1 &lt;BR /&gt;echo please wait.... &lt;BR /&gt;sleep 15 (you can change this depending on the timeframe you require) &lt;BR /&gt;touch file2 &lt;BR /&gt;find / -anewer file1 ! -anewer file2 &lt;BR /&gt;echo completed &lt;BR /&gt;&lt;BR /&gt;is this correct?&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.</description>
      <pubDate>Wed, 24 Jul 2002 14:15:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770488#M74508</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-07-24T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Script to trouble shoot.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770489#M74509</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;i would do the following find command:&lt;BR /&gt;&lt;BR /&gt;find / -anewer file1 -a ! -anewer file2&lt;BR /&gt;&lt;BR /&gt;the -a option is the logical operator for a "and" operation.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Wed, 24 Jul 2002 14:21:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-trouble-shoot/m-p/2770489#M74509</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-07-24T14:21:18Z</dc:date>
    </item>
  </channel>
</rss>

