<?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: Find command hangs. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487202#M18982</link>
    <description>Did a SEARCH for &lt;FIND command="" hangs=""&gt; and I came up with a couple interesting threads.  You didn't mention o/s version or other info so I'm including a couple of what I found...maybe one of them will help:&lt;BR /&gt;Find hangs w/mult lan cards..&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=cea5bab10d5195075e/screen=ckiDisplayDocument?docId=200000009942125" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=cea5bab10d5195075e/screen=ckiDisplayDocument?docId=200000009942125&lt;/A&gt;&lt;BR /&gt;System hangs on Find (obvious answer here..):&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=b1bab77e0e1be84ebb/screen=ckiDisplayDocument?docId=200000024599068" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=b1bab77e0e1be84ebb/screen=ckiDisplayDocument?docId=200000024599068&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You may want to do the SEARCH and check out some more.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;/rcw&lt;/FIND&gt;</description>
    <pubDate>Fri, 26 Jan 2001 21:14:31 GMT</pubDate>
    <dc:creator>Rita C Workman</dc:creator>
    <dc:date>2001-01-26T21:14:31Z</dc:date>
    <item>
      <title>Find command hangs.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487194#M18974</link>
      <description>I have a weird problem on an HP9000/989 server.  Whenever anyone runs a find command in the /opt directory, it hangs, and can't be killed without a reboot.  Here's the syntax of the latest one I've tried:&lt;BR /&gt;&lt;BR /&gt;find / -name .netrc print&lt;BR /&gt;&lt;BR /&gt;It doesn't seem to matter what name you search for.  Also, any finds done outside the /opt directory work just fine.  Any suggestions?</description>
      <pubDate>Fri, 26 Jan 2001 20:47:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487194#M18974</guid>
      <dc:creator>Scott Sprague_1</dc:creator>
      <dc:date>2001-01-26T20:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Find command hangs.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487195#M18975</link>
      <description>Well your syntax is slightly off here...dropping - before print:&lt;BR /&gt;&lt;BR /&gt;To do find from root&lt;BR /&gt;&lt;BR /&gt;find / -name .netrc -print&lt;BR /&gt;&lt;BR /&gt;To do find from a different directory&lt;BR /&gt;&lt;BR /&gt;find /opt -name .netrc -print&lt;BR /&gt;&lt;BR /&gt;/rcw</description>
      <pubDate>Fri, 26 Jan 2001 20:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487195#M18975</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-01-26T20:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Find command hangs.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487196#M18976</link>
      <description>Do you perhaps have any nfs mountpoints underneath /opt ?&lt;BR /&gt;&lt;BR /&gt;Rita already pointed out your syntax error, but assuming that was just a typo you may have something else going on.  NFS mounts can cause find to work *very* slowly, which may be perceived as a hang.&lt;BR /&gt;&lt;BR /&gt;On the same note, find is incredibly resource intensive, especially when run from /.  While the functionality of find is sometimes required, you can often use alternative, less impactive, commands to yield the same information.  For simple name searches, for instance, du -a | grep works far more quickly and with less system load.  When you do need to use find, try to restrict the search as much as possible either with the -xdev flag or by starting your search in as small a subdirectory as will suffice for your purpose.</description>
      <pubDate>Fri, 26 Jan 2001 21:01:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487196#M18976</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2001-01-26T21:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Find command hangs.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487197#M18977</link>
      <description>&lt;BR /&gt;Sorry, I left out the - in front of print in my original post.  It was in the command when I issued it, though, and it's hanging.  The only sub-directory this hangs on is /opt.  All other directories are fine.</description>
      <pubDate>Fri, 26 Jan 2001 21:02:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487197#M18977</guid>
      <dc:creator>Scott Sprague_1</dc:creator>
      <dc:date>2001-01-26T21:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find command hangs.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487198#M18978</link>
      <description>Hi Scott:&lt;BR /&gt;&lt;BR /&gt;The syntax you show would start at the root (/) directory and search.  If there are any CDROMs or NFS mountpoints then this could take quite a while.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 26 Jan 2001 21:03:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487198#M18978</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-26T21:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find command hangs.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487199#M18979</link>
      <description>And no, there are no NFS mountpoints on this system.</description>
      <pubDate>Fri, 26 Jan 2001 21:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487199#M18979</guid>
      <dc:creator>Scott Sprague_1</dc:creator>
      <dc:date>2001-01-26T21:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find command hangs.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487200#M18980</link>
      <description>And no CD-ROMS.  :)&lt;BR /&gt;&lt;BR /&gt;Didn't think I'd get this many replies this quick.&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jan 2001 21:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487200#M18980</guid>
      <dc:creator>Scott Sprague_1</dc:creator>
      <dc:date>2001-01-26T21:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find command hangs.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487201#M18981</link>
      <description>Hi Scott,&lt;BR /&gt;another problem could be a hw issue on the disk which "hosts" the /opt directory.&lt;BR /&gt;Check if you see some errors in syslog.log and/or dmesg output at the time you run the find command.&lt;BR /&gt;You can too run a dd command on the lvol of /opt and see if it gives you any grief.&lt;BR /&gt;&lt;BR /&gt;Steffi Jones</description>
      <pubDate>Fri, 26 Jan 2001 21:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487201#M18981</guid>
      <dc:creator>Steffi Jones_1</dc:creator>
      <dc:date>2001-01-26T21:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Find command hangs.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487202#M18982</link>
      <description>Did a SEARCH for &lt;FIND command="" hangs=""&gt; and I came up with a couple interesting threads.  You didn't mention o/s version or other info so I'm including a couple of what I found...maybe one of them will help:&lt;BR /&gt;Find hangs w/mult lan cards..&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=cea5bab10d5195075e/screen=ckiDisplayDocument?docId=200000009942125" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=cea5bab10d5195075e/screen=ckiDisplayDocument?docId=200000009942125&lt;/A&gt;&lt;BR /&gt;System hangs on Find (obvious answer here..):&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=b1bab77e0e1be84ebb/screen=ckiDisplayDocument?docId=200000024599068" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=b1bab77e0e1be84ebb/screen=ckiDisplayDocument?docId=200000024599068&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You may want to do the SEARCH and check out some more.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;/rcw&lt;/FIND&gt;</description>
      <pubDate>Fri, 26 Jan 2001 21:14:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-hangs/m-p/2487202#M18982</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-01-26T21:14:31Z</dc:date>
    </item>
  </channel>
</rss>

