You are on page 1of 4

Install command

root@solaris11-2:/var/tmp/lsof# pkgadd -d lsof.4.87.i86pc.Solaris.11.pkg

The following packages are available:

1 lsof lsof 4.87 i86pc Solaris 11

(i386) 4.87

Select package(s) you wish to process (or 'all' to process

all packages). (default: all) [?,??,q]: all

Processing package instance <lsof> from </var/tmp/lsof/lsof.4.87.i86pc.Solaris.1


1.pkg>

lsof 4.87 i86pc Solaris 11(i386) 4.87

Victor A. Abell

## Executing checkinstall script.

## Processing package information.

## Processing system information.

WARNING: setting mode of </usr/local> to default mode (755)

1 package pathname is already properly installed.

## Verifying disk space requirements.

## Checking for conflicts with packages already installed.

## Checking for setuid/setgid programs.


The following files are being installed with setuid and/or setgid

permissions:

/usr/local/bin/lsof <setgid sys>

Do you want to install these as setuid/setgid files [y,n,?,q] y

Installing lsof 4.87 i86pc Solaris 11 as <lsof>

## Installing part 1 of 1.

/usr/local/bin/lsof

/usr/local/man/man8/lsof.8

[ verifying class <none> ]

Installation of <lsof> was successful.

root@solaris11-2:/var/tmp/lsof#

root@solaris11-2:/var/tmp/lsof#

Successfully installed.
Now check the version

root@solaris11-2:/var/tmp/lsof# /usr/local/bin/lsof -v

lsof version information:

revision: 4.87

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: March 28, 2013 01:07:51 PM EST

Set the path

root@solaris11-2:/var/tmp/lsof# PATH=/usr/local/bin:$PATH

root@solaris11-2:/var/tmp/lsof# export PATH

root@solaris11-2:/var/tmp/lsof# lsof -v

lsof version information:

revision: 4.87

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: March 28, 2013 01:07:51 PM EST

constructed by and on: root@lap

compiler: /opt/SUNWspro/bin/cc
compiler version: Sun C 5.12 SunOS_i386 2011/11/16

compiler flags: -DHASPR_LDT -m64 -DHASIPv6 -DHASSOUXSOUA -DHAS_IPCLASSIFIER_H -


DHAS_CONN_NEW -DHAS_CRED_IMPL_H -DHAS_V_PATH -DHAS_PC_DIRENTPERSEC -DHASZONES -
DHAS_ZFS -I/var/tmp/lsof_4.87/lsof_4.87_src/solaris11 -DHAS_PAD_MUTEX -DHAS_LIBCTF -
Dsolaris=110000 -DHASCACHEFS -DHASUTMPX -DHAS_VSOCK -DHAS_STRFTIME -DLSOF_VSTR="5.11" -O

loader flags: -L./lib -llsof -lctf -lkvm -lelf -lsocket -lnsl

system info: SunOS lap 5.11 oi_151a7 i86pc i386 i86pc

Anyone can list all files.

/dev warnings are enabled.

Kernel ID check is enabled.

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: /root/.lsof_solaris11-2

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: /root/.lsof_solaris11-2

root@solaris11-2:/var/tmp/lsof#

You might also like