Solaris 11 default repository does not contain lsof package. So i headed for sunfreeware and downloaded lsof v4.80 and tried compiling it on Solaris 11 box. But it was not successful and seems not supported.
If you want to download binary please find the compiled lsof below :
Download lsof for Solaris 11 x64 v 4.87 lsof_x86
Download lsof for Solaris 11 Sparc v 4.87 lsof_sparc
Later I found the latest source 4.87 at :
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
Same source file should work for sparc and x64.
I downloaded it; and it compiled like a charm.
Steps:
Required packages:
I used compiler gcc-45 ( older may work) :
Header files:
After downloading the latest source file unzip it and compile as below :
Enjoy !!
If you want to download binary please find the compiled lsof below :
Download lsof for Solaris 11 x64 v 4.87 lsof_x86
Download lsof for Solaris 11 Sparc v 4.87 lsof_sparc
Later I found the latest source 4.87 at :
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
Same source file should work for sparc and x64.
I downloaded it; and it compiled like a charm.
Steps:
Required packages:
I used compiler gcc-45 ( older may work) :
developer/gcc-45
system/library/gcc-45-runtime
Header files:
system/library/gcc-45-runtime
After downloading the latest source file unzip it and compile as below :
- # gunzip lsof_4.87.tar.gz
- # tar -xvf lsof_4.87.tar
- # cd lsof_4.87/
- # tar -xvf lsof_4.87_src.tar
- # cd lsof_4.87_src
- # ./Configure solaris
- # make
- # make install
- # ./lsof
Enjoy !!