[bug-notifications] [lsof 0002903]: lsof is not up to date

Mantis Bug Tracker noreply at opencsw.org
Sat Oct 22 19:40:36 CEST 2011


The following issue has been CLOSED 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=2903 
====================================================================== 
Reported By:                fbacchella
Assigned To:                dam
====================================================================== 
Project:                    lsof
Issue ID:                   2903
Category:                   upgrade
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-05-29 07:21 CEST
Last Modified:              2011-10-22 19:40 CEST
====================================================================== 
Summary:                    lsof is not up to date
Description: 
On this version of Solaris :
# uname -a
SunOS XXXX 5.10 Generic_127112-05 i86pc i386 i86pc
I get the following answer
/opt/csw/bin/lsof -i:10001 |wc -l
      0
pkginfo -l CSWlsof
  PKGINST:  CSWlsof
     NAME:  lsof - list open files
 CATEGORY:  application
     ARCH:  i386
  VERSION:  4.77,REV=2006.11.13
  BASEDIR:  /opt/csw
   VENDOR:  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
packaged for CSW by Cyril Plisko
   PSTAMP:  login20061113034531
 INSTDATE:  Dec 18 2007 16:27
  HOTLINE:  http://www.blastwave.org/bugtrack/
    EMAIL:  imp at blastwave.org
   STATUS:  completely installed
    FILES:       28 installed pathnames
                  4 shared pathnames
                  4 linked files
                 16 directories
                  7 executables
                  6 setuid/setgid executables
               2210 blocks used (approx)


If I compile the last version of lsof :
./lsof -i:10001 | wc -l
     15
So, with this, I got the list of opened socket
The version informations :
./lsof -v
lsof version information:
   revision: 4.78
   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: 64 bit kernel
   constructed: Wed Jan 2 11:14:36 CET 2008
   constructed by and on: bacchell at XXXX
   compiler: /opt/SUNWspro/bin/cc
   compiler version: Sun C 5.8 Patch 121016-07 2007/10/03
   compiler flags: -Dsolaris=100000 -DHASPR_LDT -xarch=amd64 -DHASIPv6
-DHASSOUXSOUA -DHAS_IPCLASSIFIER_H -DHAS_CRED_IMPL_H -DHAS_V_PATH
-DHASZONES -DHAS_ZFS=1
-DHASUTMPX -DHAS_VSOCK -DLSOF_VSTR=\\\"5.10\\\" -O
   loader flags: -L./lib -llsof  -lkvm -lelf -lsocket -lnsl
   system info: SunOS ng31 5.10 Generic_127112-05 i86pc i386 i86pc
   Anyone can list all files.
   /dev warnings are enabled.
   Kernel ID check is enabled.
   WARNING: privately defined ZFS structures may be incorrect.
   Device cache file read-only paths:
       Named via -D: none
       Named in environment variable LSOFDEVCACHE: none
       Personal path format (HASPERSDC): \\\"%h/%p.lsof_%L\\\"
       Modified personal path environment variable: LSOFPERSDCPATH
       LSOFPERSDCPATH value: none
       Personal path: /.lsof_ng31
   Device cache file write paths:
       Named via -D: none
       Named in environment variable LSOFDEVCACHE: none
       Personal path format (HASPERSDC): \\\"%h/%p.lsof_%L\\\"
       Modified personal path environment variable: LSOFPERSDCPATH
       LSOFPERSDCPATH value: none
       Personal path: /.lsof_ng31


====================================================================== 

---------------------------------------------------------------------- 
 (0009353) dam (administrator) - 2011-10-22 19:40
 https://www.opencsw.org/mantis/view.php?id=2903#c9353 
---------------------------------------------------------------------- 
lsof lsof-4.84,REV=2011.07.13 has been released to current/.



More information about the bug-notifications mailing list