<?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: define all process work under specific directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395959#M476767</link>
    <description>&lt;P&gt;&amp;gt;find: bad option -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oops, I had some missing spaces and "-" above.&amp;nbsp; Please try the edited commands again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;# lsof&amp;nbsp; /var/tmp/oradiag_elink/diag&lt;/P&gt;&lt;P&gt;&amp;gt;but&amp;nbsp; nothing output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may have to specify a specific file.&amp;nbsp; I.e. /var/tmp/oradiag_elink/diag/sqlnet.log.&lt;/P&gt;&lt;P&gt;For my test case, the directory only showed up if it was "cwd".&amp;nbsp; Otherwise I had to list the file that was opened.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2011 08:36:28 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-11-22T08:36:28Z</dc:date>
    <item>
      <title>define all process work under specific directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395401#M476751</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i know all process work under specific directory Ex. /var/tmp/oradiag_elink/diag ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i using&amp;nbsp; fuser but it's give me under all /var&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# fuser -cu /var/tmp/oradiag_elink/diag&lt;BR /&gt;/var/tmp/oradiag_elink/diag: fuser: could not find file system mounted at /var/tmp/oradiag_elink/diag.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2011 11:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395401#M476751</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2011-11-20T11:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: define all process work under specific directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395541#M476753</link>
      <description>&lt;P&gt;&amp;gt;how can I know all process work under specific directory Ex. /var/tmp/oradiag_elink/diag?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried lsof?&lt;/P&gt;&lt;P&gt;Any processes using files there may have them closed.&amp;nbsp; Are there any recent accesses or modifications there?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2011 21:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395541#M476753</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-11-20T21:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: define all process work under specific directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395735#M476756</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried lsof?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, What are the available options to be used with this command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any processes using files there may have them closed. Are there any recent accesses or modifications there?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for both how do it that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 06:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395735#M476756</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2011-11-21T06:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: define all process work under specific directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395835#M476758</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to identify the process creating that files "sqlnet.log" under this directory "&amp;nbsp;/var/tmp/oradiag_elink/diag"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the /var it grows abnormally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 08:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395835#M476758</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2011-11-21T08:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: define all process work under specific directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395885#M476761</link>
      <description>&lt;P&gt;The filename "sqlnet.log" suggests this is very likely an Oracle client log file. The directory name would suggest it might be related to application "elink".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The configuration parameter LOG_DIRECTORY_CLIENT in a sqlnet.ora file will determine where the sqlnet.log files will be written.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should talk to the people responsible for the "elink" application and see if the log belongs to them and if&amp;nbsp; they really need the log. If the log is required, you should together estimate the required disk space based on their requirements and the growth rate you've seen. Then you should make the necessary arrangements for getting a suitable location and amount of disk space for the logs (e.g. referring them to an appropriate manager, if necessary for getting the permission to order more disks/LUNs).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It also might be caused by a temporary diagnostic logging that has accidentally been left on for too long. If that is the case, the application people will most likely say something like "oops, sorry, we will disable it right away."&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 09:10:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395885#M476761</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-11-21T09:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: define all process work under specific directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395919#M476765</link>
      <description>&lt;P&gt;&amp;gt;No, what are the available options to be used with this command.&lt;/P&gt;&lt;P&gt;&amp;gt;I want to identify the process creating that files "sqlnet.log" under this directory "&amp;nbsp;/var/tmp/oradiag_elink/diag"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lsof should be able to tell you who has&amp;nbsp; /var/tmp/oradiag_elink/diag/sqlnet.log open.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;for both how do it that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;find&amp;nbsp; /var/tmp/oradiag_elink/diag \( -mtime -1 -o -atime -1 \) -exec ll -dt +&lt;BR /&gt;find&amp;nbsp; /var/tmp/oradiag_elink/diag \( -mtime -1 -o -atime -1 \) -exec ll -dtu +&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 10:14:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395919#M476765</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-11-21T10:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: define all process work under specific directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395935#M476766</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i try to use lsof command as following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# lsof&amp;nbsp; /var/tmp/oradiag_elink/diag&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but&amp;nbsp; nothing output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and for this command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# find&amp;nbsp; /var/tmp/oradiag_elink/diag \(-mtime -1 -o atime -1 \) -exec ll -dt +&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;find: bad option -1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 09:54:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395935#M476766</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2011-11-21T09:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: define all process work under specific directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395959#M476767</link>
      <description>&lt;P&gt;&amp;gt;find: bad option -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oops, I had some missing spaces and "-" above.&amp;nbsp; Please try the edited commands again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;# lsof&amp;nbsp; /var/tmp/oradiag_elink/diag&lt;/P&gt;&lt;P&gt;&amp;gt;but&amp;nbsp; nothing output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may have to specify a specific file.&amp;nbsp; I.e. /var/tmp/oradiag_elink/diag/sqlnet.log.&lt;/P&gt;&lt;P&gt;For my test case, the directory only showed up if it was "cwd".&amp;nbsp; Otherwise I had to list the file that was opened.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2011 08:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-all-process-work-under-specific-directory/m-p/5395959#M476767</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-11-22T08:36:28Z</dc:date>
    </item>
  </channel>
</rss>

