<?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 for 64  bit ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600582#M593307</link>
    <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;You download the source and untar it into a directory. e.g. /usr/local/src. It will then untar into a dorectory below that - e.g. lsof-4.55. Cd to that directory and execute 'Configure'; if the Configure goes well type 'make'. It will then start compiling and linking. I have not tried this on a box without a development environment (Ansi/C or aCC) so I don't know it you can compile it using the bundled c compiler. In the worst case, you can download gcc and use it.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
    <pubDate>Wed, 24 Oct 2001 14:50:20 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-10-24T14:50:20Z</dc:date>
    <item>
      <title>lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600578#M593303</link>
      <description>How do I compile lsof for a 64 bit system?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Wed, 24 Oct 2001 14:42:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600578#M593303</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-24T14:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600579#M593304</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Once you download 64 bit source code;&lt;BR /&gt;unzip and tar the file.&lt;BR /&gt;There are few files you must read . 00README and 00QUICKSTART for tips.&lt;BR /&gt;&lt;BR /&gt;Run&lt;BR /&gt;./Configure hpux  and answer all the questions (it's pretty easy..)&lt;BR /&gt;then  run make&lt;BR /&gt;lsof -h for help&lt;BR /&gt;&lt;BR /&gt;GoodLuck &lt;BR /&gt;-USA...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Oct 2001 14:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600579#M593304</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-10-24T14:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600580#M593305</link>
      <description>Very Good question because hp-ux porting site doesn't have 64bit code for lsof. You need to compile it after downloading the source code.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Oct 2001 14:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600580#M593305</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-24T14:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600581#M593306</link>
      <description>That would be the source code from &lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.55/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.55/&lt;/A&gt;</description>
      <pubDate>Wed, 24 Oct 2001 14:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600581#M593306</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-24T14:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600582#M593307</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;You download the source and untar it into a directory. e.g. /usr/local/src. It will then untar into a dorectory below that - e.g. lsof-4.55. Cd to that directory and execute 'Configure'; if the Configure goes well type 'make'. It will then start compiling and linking. I have not tried this on a box without a development environment (Ansi/C or aCC) so I don't know it you can compile it using the bundled c compiler. In the worst case, you can download gcc and use it.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Wed, 24 Oct 2001 14:50:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600582#M593307</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-24T14:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600583#M593308</link>
      <description>Have a look at the following thread.  &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x56a672234586d5118ff00090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x56a672234586d5118ff00090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;John Poff's response gives a link that should have a precompiled version of lsof for 64-bit HP-UX.</description>
      <pubDate>Wed, 24 Oct 2001 14:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600583#M593308</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-10-24T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600584#M593309</link>
      <description>Hi, again..&lt;BR /&gt;lsof-4.55/00.README.FIRST file has all the compilation and installation instructions.&lt;BR /&gt;&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Oct 2001 14:52:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600584#M593309</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-10-24T14:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600585#M593310</link>
      <description>I would strongly recommend that you compile your own.  lsof is very OS specific and although most precompiled binaries *SHOULD* work, you may have problems.  In any case, compiling from source is very simple.  You should be able to get the latest version of lsof from &lt;A href="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof." target="_blank"&gt;ftp://vic.cc.purdue.edu/pub/tools/unix/lsof.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 24 Oct 2001 15:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600585#M593310</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-24T15:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600586#M593311</link>
      <description>I had asked this question before under the title: lsof: FATAL: lsof was built for a 32 bit kernel &lt;BR /&gt;and John Poff Gave this link.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you are looking for a compiled binary version for 64-bit, you can find one via anonymous ftp from wuarchive.wustl.edu/packages/security/lsof/binaries/hpux. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The search engine here really sucks btw..&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;bill</description>
      <pubDate>Wed, 24 Oct 2001 15:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600586#M593311</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-10-24T15:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600587#M593312</link>
      <description>&lt;DRACO&gt; /usr/local/src/lsof-4.55# ./Configure hpux&lt;BR /&gt;Configuring /dev/kmem-based HP-UX lsof&lt;BR /&gt;&lt;BR /&gt;*****************************************&lt;BR /&gt;*                                       *&lt;BR /&gt;* NOTICE!  Configuring for 64 bit HP-UX *&lt;BR /&gt;*                                       *&lt;BR /&gt;*****************************************&lt;BR /&gt;&lt;BR /&gt;Looking for ipis_s with /usr/contrib/bin/q4 ... &lt;BR /&gt;&lt;BR /&gt;!!!ERROR!!! /usr/contrib/bin/q4 failed and produced the following output.&lt;BR /&gt;&lt;BR /&gt;q4: (warning) no modules in the crashdump or no INDEX file&lt;BR /&gt;q4: (error) vmunix not pxdb'd&lt;BR /&gt;&lt;BR /&gt;!!!ERROR!!!     !!!ERROR!!!     !!!ERROR!!!     !!!ERROR!!!&lt;BR /&gt;Configure can't use /usr/contrib/bin/q4 to examine the ipis_s&lt;BR /&gt;structure.  You must do that yourself, report the result in&lt;BR /&gt;the HPUX_IPC_S_PATCH environment variable, then repeat the&lt;BR /&gt;Configure step.  Consult the Configure script's use of&lt;BR /&gt;/usr/contrib/bin/q4 and the 00XCONFIG file for information&lt;BR /&gt;on ipis_s testing and the setting of HPUX_IPC_S_PATCH.&lt;BR /&gt;!!!ERROR!!!     !!!ERROR!!!     !!!ERROR!!!     !!!ERROR!!!&lt;BR /&gt;&lt;BR /&gt;&lt;DRACO&gt; /usr/local/src/lsof-4.55#&lt;/DRACO&gt;&lt;/DRACO&gt;</description>
      <pubDate>Wed, 24 Oct 2001 15:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600587#M593312</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-24T15:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600588#M593313</link>
      <description>Just shooting in the dark, but do you have the latest Q4 patch, i.e. PHCO_20262 installed on this system?&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 24 Oct 2001 15:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600588#M593313</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-24T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600589#M593314</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;I had this problem. I tried my best finally ended up replacing the line&lt;BR /&gt;&lt;BR /&gt;echo "yes\\nfields -c struct ipis_s" | $LSOF_TMP /stand/vmunix &amp;gt; $&lt;BR /&gt;{LSOF_TMPC}.out 2&amp;gt;&amp;amp;1                                                            &lt;BR /&gt;&lt;BR /&gt;with echo ""&lt;BR /&gt;&lt;BR /&gt;in Configure script. &lt;BR /&gt;&lt;BR /&gt;Still my compiled lsof works!!!..&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Oct 2001 15:18:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600589#M593314</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-24T15:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600590#M593315</link>
      <description>Too much of a hassle to compile, so try these downloads:&lt;BR /&gt;&lt;BR /&gt;For 10.20 and 11.00 get it here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.55/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.55/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for 11.00/64:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.00" target="_blank"&gt;http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.00&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for 11i get it here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/" target="_blank"&gt;http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;&lt;BR /&gt;harry</description>
      <pubDate>Wed, 24 Oct 2001 15:42:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600590#M593315</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-24T15:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600591#M593316</link>
      <description>I've successfully cross-compiled 64-bit lsof with the HP-UX ANSI/C compiler on a 32-bit machine (I performed the final link on 64-bit HP-UX).&lt;BR /&gt;&lt;BR /&gt;See 00XCONFIG.&lt;BR /&gt;&lt;BR /&gt;As I recall, you had to define HPUX_KERNBITS to 64 if you're running on a 32-bit box.&lt;BR /&gt;&lt;BR /&gt;Everything else was straight forward.&lt;BR /&gt;&lt;BR /&gt;The link err'd out saying things like "I can't find lib such and so".  I rcp'd the objects to a 64 bit machine for final link - everything worked just fine.  &lt;BR /&gt;&lt;BR /&gt;You should be able to make this work end-to-end&lt;BR /&gt;(64-bit built completely on a 32-bit box) - I was in a hurry, so I blew it off.</description>
      <pubDate>Wed, 24 Oct 2001 16:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600591#M593316</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2001-10-24T16:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: lsof for 64  bit ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600592#M593317</link>
      <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;If you are satisfied with the binaries, you can use them, i normally install it from the source code. For compiling the latest version of lsof 4.59, this is the procedure i followed,&lt;BR /&gt;&lt;BR /&gt;I have a newer version of Q4 (version A.11.10.c (/usr/contrib/Q4/REVISION) with the patch PHCO_20262) on a box running 64 bit 11.0&lt;BR /&gt;&lt;BR /&gt;so there were couple of things i had to do before able to compile lsof.&lt;BR /&gt;&lt;BR /&gt;cp /stand/vmunix /stand/vmunix.lsof&lt;BR /&gt;pxdb /stand/vmunix.lsof&lt;BR /&gt;(if you don't run this, q4 complains saying the kernel is not ready for debugging and lsof tries to use the kernel in /stand/vmunix)&lt;BR /&gt;&lt;BR /&gt;Also in the Configure script for lsof, &lt;BR /&gt;1. change the LSOF_TMP variable to /usr/contrib/Q4/bin/q4 (around line 1490)&lt;BR /&gt;&lt;BR /&gt;2. change /stand/vmunix to /stand/vmunix.lsof&lt;BR /&gt;(two locations, lines 1460 and 1498)&lt;BR /&gt;&lt;BR /&gt;./Configure hpux&lt;BR /&gt;make&lt;BR /&gt;&lt;BR /&gt;test out lsof, if it works ok, do a make install.&lt;BR /&gt;&lt;BR /&gt;At this point if you want, you may want &lt;BR /&gt;rm /stand/vmunix.lsof&lt;BR /&gt;&lt;BR /&gt;and then everything should be ok. ;)&lt;BR /&gt;&lt;BR /&gt;-Regards&lt;BR /&gt;Ramesh&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Oct 2001 17:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-for-64-bit/m-p/2600592#M593317</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-10-24T17:04:44Z</dc:date>
    </item>
  </channel>
</rss>

