<?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: lsof display is very slow in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901057#M404048</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thanks for your answers.&lt;BR /&gt;&lt;BR /&gt;lsof is compiled with a real machine.&lt;BR /&gt;&lt;BR /&gt;it became about ten seconds earlier with -n option.&lt;BR /&gt;but it is still slow.&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 10 May 2005 05:35:58 GMT</pubDate>
    <dc:creator>Y.J.JIN</dc:creator>
    <dc:date>2005-05-10T05:35:58Z</dc:date>
    <item>
      <title>lsof display is very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901053#M404044</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have 5 rp5470 running with 11i.&lt;BR /&gt;cpu 4G,memory 8gb&lt;BR /&gt;&lt;BR /&gt;Execute lsof command with one machine,display is very slow. it will begin to display it in about one minute. &lt;BR /&gt;&lt;BR /&gt;lsof version is 4.74.&lt;BR /&gt;compiled with local machine.&lt;BR /&gt;&lt;BR /&gt;copy binary to another machine,it is OK.&lt;BR /&gt;waiting time is not caused.&lt;BR /&gt;&lt;BR /&gt;what's problems ? kernel ? patch ? &lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 May 2005 04:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901053#M404044</guid>
      <dc:creator>Y.J.JIN</dc:creator>
      <dc:date>2005-05-10T04:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: lsof display is very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901054#M404045</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try the -n option.&lt;BR /&gt;&lt;BR /&gt;# lsof -n &lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;-n       This option inhibits the conversion of network numbers to host names for network files. Inhibiting conversion may make lsof run faster. It is also useful when host name lookup is not working properly.&lt;BR /&gt;---&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 10 May 2005 04:30:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901054#M404045</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2005-05-10T04:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: lsof display is very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901055#M404046</link>
      <description>One thing that springs to mind is name/IP resolution. &lt;BR /&gt;&lt;BR /&gt;Can you try running lsof with -n switch?&lt;BR /&gt;&lt;BR /&gt;-n &lt;BR /&gt;This option inhibits the conversion of network numbers to host names for network files. Inhibiting conversion may make lsof run faster. It is also useful when host name lookup is not working properly.</description>
      <pubDate>Tue, 10 May 2005 04:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901055#M404046</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-10T04:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: lsof display is very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901056#M404047</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;did u take the binary 4.74, i.e. lsof_4.74.gz from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/B.11.11/" target="_blank"&gt;http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/B.11.11/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Tue, 10 May 2005 04:32:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901056#M404047</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-05-10T04:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: lsof display is very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901057#M404048</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thanks for your answers.&lt;BR /&gt;&lt;BR /&gt;lsof is compiled with a real machine.&lt;BR /&gt;&lt;BR /&gt;it became about ten seconds earlier with -n option.&lt;BR /&gt;but it is still slow.&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 May 2005 05:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901057#M404048</guid>
      <dc:creator>Y.J.JIN</dc:creator>
      <dc:date>2005-05-10T05:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: lsof display is very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901058#M404049</link>
      <description>Like stated before by Robert-Jan and Ermin, you probably have a DNS issue.&lt;BR /&gt;&lt;BR /&gt;What does nslookup 127.0.0.1 return?&lt;BR /&gt;&lt;BR /&gt;Are you running lsof as root?&lt;BR /&gt;&lt;BR /&gt;can you post your /etc/resolv.conf and /etc/nsswitch.conf files?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Tue, 10 May 2005 05:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901058#M404049</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-05-10T05:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: lsof display is very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901059#M404050</link>
      <description>Do you have any NFS mounts on this system? If yes, does bdf return reasonably quickly?&lt;BR /&gt;&lt;BR /&gt;Does it hang when you run it on a single file only?&lt;BR /&gt;&lt;BR /&gt;# lsof /etc/utmp&lt;BR /&gt;&lt;BR /&gt;You may want to try running lsof with the following option to try to isolate the problem.&lt;BR /&gt;&lt;BR /&gt;-P no port names&lt;BR /&gt;-l list UID numbers&lt;BR /&gt;-C no kernel name cache&lt;BR /&gt;-b avoid kernel blocks&lt;BR /&gt;-M portMap registration&lt;BR /&gt;&lt;BR /&gt;Failing all that you can try using tusc to determine why it hangs.</description>
      <pubDate>Tue, 10 May 2005 06:11:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901059#M404050</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-10T06:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: lsof display is very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901060#M404051</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-----------------------&lt;BR /&gt;# nslookup 127.0.0.1&lt;BR /&gt;Using /etc/hosts on:  HOSTNAME&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    localhost&lt;BR /&gt;Address:  127.0.0.1&lt;BR /&gt;Aliases:  loopback&lt;BR /&gt;&lt;BR /&gt;-----------------------&lt;BR /&gt;# cat nsswitch.conf&lt;BR /&gt;#&lt;BR /&gt;# /etc/nsswitch.files:&lt;BR /&gt;#&lt;BR /&gt;# @(#)B.11.11_LR&lt;BR /&gt;#&lt;BR /&gt;# An example file that could be copied over to /etc/nsswitch.conf; it&lt;BR /&gt;# does not use any name services.&lt;BR /&gt;#&lt;BR /&gt;passwd:       files&lt;BR /&gt;group:        files&lt;BR /&gt;hosts:        files&lt;BR /&gt;services:     files&lt;BR /&gt;networks:     files&lt;BR /&gt;protocols:    files&lt;BR /&gt;rpc:          files&lt;BR /&gt;publickey:    files&lt;BR /&gt;netgroup:     files&lt;BR /&gt;automount:    files&lt;BR /&gt;aliases:      files&lt;BR /&gt;&lt;BR /&gt;------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;resolv.conf file is not set.&lt;BR /&gt;&lt;BR /&gt;The result was the same for the file of one.&lt;BR /&gt;&lt;BR /&gt;perhaps, because the VM free memory(200M) is considerably little, I think that this is a &lt;BR /&gt;cause.&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;Y.J</description>
      <pubDate>Tue, 10 May 2005 23:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901060#M404051</guid>
      <dc:creator>Y.J.JIN</dc:creator>
      <dc:date>2005-05-10T23:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: lsof display is very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901061#M404052</link>
      <description>thanks</description>
      <pubDate>Mon, 16 May 2005 09:01:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-display-is-very-slow/m-p/4901061#M404052</guid>
      <dc:creator>Y.J.JIN</dc:creator>
      <dc:date>2005-05-16T09:01:01Z</dc:date>
    </item>
  </channel>
</rss>

