Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Install package on solaris 11 lsof, sockstat etc..

ilanschJun 5 2017 — edited Jun 6 2017

Hi,

So I wanted to see what process Id is using network, i want to map process id -> ip

When im on linux, I do it using netstat -tnp (tcp, no resolve, processId)

as I understand, in Solaris 11 (solaris11 5.11 11.0) it cannot be done since netstat is different.

I need to use "lsof" or "sockstat", but both cannot be found ("whereis" cannot be found either).

How do i get all these packages ?

root@solaris11:~# pkg install sockstat

pkg: 0/1 catalogs successfully updated:

Unable to contact valid package repository

Encountered the following error(s):

Unable to contact any configured publishers.

This is likely a network configuration problem.

Framework error: code: 56 reason: Recv failure: Connection reset by peer

URL: 'http://pkg.oracle.com/solaris/release'. (happened 4 times)

root@solaris11:~#

Is it possible to get the package offline and install using dpkg ? Where do i download these packages from ? what is the proper way.

If i search them at http://pkg.oracle.com/solaris/release  they cannot be found..

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2017
Added on Jun 5 2017
9 comments
2,084 views