mbsxsr12:/root>/usr/sbin/lsof +f -- /u06
lsof: WARNING: access /root/.lsof_mbsxsr12: No such file or directory
lsof: WARNING: created device cache file: /root/.lsof_mbsxsr12
Segmentation fault(coredump)
-rw-r--r-- 1 root system 3833702 May 12 13:01 core
-rw------- 1 root system 13551 May 12 13:01 .lsof_mbsxsr12
mbsxsr12:/root>dbx /usr/sbin/lsof core
Type 'help' for help.
Core file "core" program "lsof64" does not match current program (ignored)
warning: cannot execute /usr/sbin/lsof
dbx: fatal error: 1283-001 cannot read "/usr/sbin/lsof"
Ok, I downloaded
ftp://aixpdslib.seas.ucla.edu/pub/lsof/RISC/5.3/exec/lsof.4.76.tar.Z
Installed on AIX 5.3.0.3 (64-bit kernel)
It copied lsof to /usr/local/bin and it works fine
/usr/local/bin/lsof: 64-bit XCOFF executable or object module not stripped
"If you always do what you've always done, you will always be where you've always been."
I installed the tar version 4.76 of lsof from the Public Domain Software Library site on the only LPAR where the AIX Linux Toolbox rpm version 4.61 core dumps and this works fine ...
Perhaps on the one LPAR where it coredumps there is not enough memory and a buggy version of lsof mallocs some memory, goes ahead and uses it without checking the malloc result?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.