A script to show open sockets per process and how to delete them

(Doc ID 1008884.1)

Last updated on OCTOBER 17, 2016

Applies to:

Solaris Operating System - Version 8.0 and later
All Platforms


This script might be useful for network problems in which you would want to identify which port is in the LISTEN state but has no processes attached to it.
For Solaris[TM] 8 (and later), a script to show open sockets per process is below.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms