<?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: Delay when executing commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627415#M378161</link>
    <description>a couple of things may cause this:&lt;BR /&gt;1. check if there is any hung NFS mount, kill it if there is&lt;BR /&gt;2. if "find" command is still running&lt;BR /&gt;3. if there are many small files, but many many of them, "ls" will let you feel delay, it this is true, one mya want reorganize the file system through fsadm.&lt;BR /&gt;</description>
    <pubDate>Mon, 03 May 2010 14:18:56 GMT</pubDate>
    <dc:creator>John Guster</dc:creator>
    <dc:date>2010-05-03T14:18:56Z</dc:date>
    <item>
      <title>Delay when executing commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627413#M378159</link>
      <description>I've got a HP-UX 11.11 machine.&lt;BR /&gt;&lt;BR /&gt;Whenever some of the users runs commands on it it delays the execution of said command for like 5 seconds. Any subsequent executions within reasonable amounts of time are executed normally.&lt;BR /&gt;&lt;BR /&gt;Logged in as root I don't have the exact same problem, but I do get the same delay whenever I misspell a command, the "command: not found" dialog will take quite a few seconds to appear instead of doing so immediately.&lt;BR /&gt;&lt;BR /&gt;What might be wrong? I figured it might have something to do with the path, but I tried doing du -s on every path in the $PATH and there was no delay what so ever.</description>
      <pubDate>Mon, 03 May 2010 14:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627413#M378159</guid>
      <dc:creator>idainfront</dc:creator>
      <dc:date>2010-05-03T14:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Delay when executing commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627414#M378160</link>
      <description>Do you have some slow NFS paths in $PATH?&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Mon, 03 May 2010 14:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627414#M378160</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-05-03T14:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Delay when executing commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627415#M378161</link>
      <description>a couple of things may cause this:&lt;BR /&gt;1. check if there is any hung NFS mount, kill it if there is&lt;BR /&gt;2. if "find" command is still running&lt;BR /&gt;3. if there are many small files, but many many of them, "ls" will let you feel delay, it this is true, one mya want reorganize the file system through fsadm.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 May 2010 14:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627415#M378161</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2010-05-03T14:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Delay when executing commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627416#M378162</link>
      <description>When you experience the delays, run "vmstat 1 5" and take a look at the "po" column.  A number greater than single digit i the po column indicates a fairly significant amount of page-outs so your command is waiting to be paged in to memory but, once there, can be re-executed quickly.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 03 May 2010 14:24:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627416#M378162</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2010-05-03T14:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Delay when executing commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627417#M378163</link>
      <description>check eventlog for any disk failure message ..may be vg00 disk.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 May 2010 14:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627417#M378163</guid>
      <dc:creator>singh sanjeev</dc:creator>
      <dc:date>2010-05-03T14:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Delay when executing commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627418#M378164</link>
      <description>Long delays like this almost always indicate a networking problem. &lt;BR /&gt; &lt;BR /&gt;&amp;gt; Logged in as root I don't have the exact same problem, but I do get the same delay whenever I misspell a command, the "command: not found" dialog will take quite a few seconds to appear instead of doing so immediately.&lt;BR /&gt; &lt;BR /&gt;That pretty well identifies the problem. You very likely have one or more NFS mountpoints in $PATH -- not a good idea at all. As you have seen, this is causing a problem for everyone including root. The reason root is fast is that the NFS mounts are at the end of root's $PATH, while the users have probably customized their .profile to push the NFS paths to the front of the $PATH list.&lt;BR /&gt; &lt;BR /&gt;When an NFS server fails or runs very slowly, it will affect every computer and every user that has these paths in their $PATH. That's why you never want NFS mounts in $PATH. It is far more reliable to use aliases for the few commands that are found on NFS servers. If the NFS server is broken, it will not affect local operations.</description>
      <pubDate>Mon, 03 May 2010 22:17:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627418#M378164</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-05-03T22:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Delay when executing commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627419#M378165</link>
      <description>Thank you all for very good answers!&lt;BR /&gt;&lt;BR /&gt;Seems the users paths are pointing into their homes and said homes are automounted over nfs.&lt;BR /&gt;&lt;BR /&gt;To keep on asking for help though, what might have screwed up the performance on the automounts? These path-settings are old, but the problem is new, suddenly the NFS-mounts are just alot slower than they used to be.&lt;BR /&gt;&lt;BR /&gt;The NFS-server is also HP-UC 11.11.</description>
      <pubDate>Wed, 05 May 2010 06:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627419#M378165</guid>
      <dc:creator>idainfront</dc:creator>
      <dc:date>2010-05-05T06:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Delay when executing commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627420#M378166</link>
      <description>You can also use time/timex command to measure;check the man page of timex:&lt;BR /&gt;timex - time a command; report process data and system activity . . .&lt;BR /&gt; &lt;BR /&gt;# timex &lt;COMMAND&gt;&lt;BR /&gt;&lt;/COMMAND&gt;</description>
      <pubDate>Wed, 05 May 2010 09:10:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627420#M378166</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2010-05-05T09:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Delay when executing commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627421#M378167</link>
      <description>&amp;gt; To keep on asking for help though, what might have screwed up the performance on the automounts? These path-settings are old, but the problem is new, suddenly the NFS-mounts are just a lot slower than they used to be.&lt;BR /&gt; &lt;BR /&gt;You need to troubleshoot each NFS server to find the slow one(s). Was the server recently patched? Is the server running in half-duplex on the network? Does the server have DNS delays? I am assuming that most of the NFS servers are OK and only certain servers are causing the delays.&lt;BR /&gt; &lt;BR /&gt;I would probably look at changing /etc/PATH to never include NFS mounts. To do so can cripple the system when network or NFS server issues occur. Never allow root to have an NFS mount in $PATH. You don't want problems on other machines to cripple the ability to administer the local machine.</description>
      <pubDate>Wed, 05 May 2010 13:14:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delay-when-executing-commands/m-p/4627421#M378167</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-05-05T13:14:05Z</dc:date>
    </item>
  </channel>
</rss>

