- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lsof for 64 bit ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:42 AM
тАО10-24-2001 07:42 AM
lsof for 64 bit ?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:48 AM
тАО10-24-2001 07:48 AM
Re: lsof for 64 bit ?
Once you download 64 bit source code;
unzip and tar the file.
There are few files you must read . 00README and 00QUICKSTART for tips.
Run
./Configure hpux and answer all the questions (it's pretty easy..)
then run make
lsof -h for help
GoodLuck
-USA...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:49 AM
тАО10-24-2001 07:49 AM
Re: lsof for 64 bit ?
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:49 AM
тАО10-24-2001 07:49 AM
Re: lsof for 64 bit ?
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.55/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:50 AM
тАО10-24-2001 07:50 AM
Re: lsof for 64 bit ?
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.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:51 AM
тАО10-24-2001 07:51 AM
Re: lsof for 64 bit ?
John Poff's response gives a link that should have a precompiled version of lsof for 64-bit HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:52 AM
тАО10-24-2001 07:52 AM
Re: lsof for 64 bit ?
lsof-4.55/00.README.FIRST file has all the compilation and installation instructions.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 08:02 AM
тАО10-24-2001 08:02 AM
Re: lsof for 64 bit ?
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 08:05 AM
тАО10-24-2001 08:05 AM
Re: lsof for 64 bit ?
and John Poff Gave this link.
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.
The search engine here really sucks btw..
Later,
bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 08:06 AM
тАО10-24-2001 08:06 AM
Re: lsof for 64 bit ?
Configuring /dev/kmem-based HP-UX lsof
*****************************************
* *
* NOTICE! Configuring for 64 bit HP-UX *
* *
*****************************************
Looking for ipis_s with /usr/contrib/bin/q4 ...
!!!ERROR!!! /usr/contrib/bin/q4 failed and produced the following output.
q4: (warning) no modules in the crashdump or no INDEX file
q4: (error) vmunix not pxdb'd
!!!ERROR!!! !!!ERROR!!! !!!ERROR!!! !!!ERROR!!!
Configure can't use /usr/contrib/bin/q4 to examine the ipis_s
structure. You must do that yourself, report the result in
the HPUX_IPC_S_PATCH environment variable, then repeat the
Configure step. Consult the Configure script's use of
/usr/contrib/bin/q4 and the 00XCONFIG file for information
on ipis_s testing and the setting of HPUX_IPC_S_PATCH.
!!!ERROR!!! !!!ERROR!!! !!!ERROR!!! !!!ERROR!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 08:14 AM
тАО10-24-2001 08:14 AM
Re: lsof for 64 bit ?
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 08:18 AM
тАО10-24-2001 08:18 AM
Re: lsof for 64 bit ?
I had this problem. I tried my best finally ended up replacing the line
echo "yes\\nfields -c struct ipis_s" | $LSOF_TMP /stand/vmunix > $
{LSOF_TMPC}.out 2>&1
with echo ""
in Configure script.
Still my compiled lsof works!!!..
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 08:42 AM
тАО10-24-2001 08:42 AM
Re: lsof for 64 bit ?
For 10.20 and 11.00 get it here:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.55/
for 11.00/64:
http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.00
for 11i get it here:
http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 09:21 AM
тАО10-24-2001 09:21 AM
Re: lsof for 64 bit ?
See 00XCONFIG.
As I recall, you had to define HPUX_KERNBITS to 64 if you're running on a 32-bit box.
Everything else was straight forward.
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.
You should be able to make this work end-to-end
(64-bit built completely on a 32-bit box) - I was in a hurry, so I blew it off.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 10:04 AM
тАО10-24-2001 10:04 AM
Re: lsof for 64 bit ?
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,
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
so there were couple of things i had to do before able to compile lsof.
cp /stand/vmunix /stand/vmunix.lsof
pxdb /stand/vmunix.lsof
(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)
Also in the Configure script for lsof,
1. change the LSOF_TMP variable to /usr/contrib/Q4/bin/q4 (around line 1490)
2. change /stand/vmunix to /stand/vmunix.lsof
(two locations, lines 1460 and 1498)
./Configure hpux
make
test out lsof, if it works ok, do a make install.
At this point if you want, you may want
rm /stand/vmunix.lsof
and then everything should be ok. ;)
-Regards
Ramesh