Operating System - HP-UX
1834751 Members
2975 Online
110070 Solutions
New Discussion

Re: lsof problems on hpux 11.11 (11iv1)

 
SOLVED
Go to solution
Jon M Zellhoefer
Valued Contributor

lsof problems on hpux 11.11 (11iv1)

I believe I have the latest version of lsof available, but on any of my 11.11 systems, if I try to run it against a filesystem, it core dumps. Has anyone else run into this? Does anyone know what I need to do to get it running? I've attached the version information below - also a sample output.

Thanks in advance!

JonZ

# lsof -v
lsof version information:
revision: 4.74
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
configuration info: PSTAT-based
constructed: Thu Feb 3 11:13:04 GMT 2005
constructed by and on: root@hades
compiler: /usr/local/bin/gcc
compiler version: 3.4.3
compiler flags: -DHAS_CONST -DHPUXV=1111 -D_PSTAT64 -DLSOF_VSTR="B.11.11" -O
loader flags: -L./lib -llsof -lnsl
system info: HP-UX hades B.11.11 U 9000/800 1335053341 unlimited-user license
Only root can list all files.
/dev warnings are disabled.
Kernel ID check is disabled.
# lsof /tmp
Memory fault(coredump)
# ls core
core
# file core
core: core file from 'lsof' - received SIGSEGV
# rm -f core
#
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: lsof problems on hpux 11.11 (11iv1)

You are probably running the 32-bit version on a 64-bit box. Kernel intrusive applications (like lsof) are the exceptions to 32-bit code running on 64-bit boxes. You need to download the source and compile it. It's a very easy build.
If it ain't broke, I can fix that.
Jeff Schussele
Honored Contributor

Re: lsof problems on hpux 11.11 (11iv1)

Hi Jon,

LSOF is *very* CPU specific.
It's not enough that you be OS-specific - you have to be CPU-specific.
You can find mult. threads here for all flavors.

My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jon M Zellhoefer
Valued Contributor

Re: lsof problems on hpux 11.11 (11iv1)

Thanks Guys!

One of the other threads in here had a link to what I needed.

http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/B.11.11/

Jon
Jon M Zellhoefer
Valued Contributor

Re: lsof problems on hpux 11.11 (11iv1)

The version at the hpux.cs.utah.edu is 32bit. The other link listed in this thread is for the 64bit version.