My Oracle Support Banner

A script to show open sockets per process and how to delete them (Doc ID 1008884.1)

Last updated on JUNE 13, 2023

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.


To view full details, 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 a vibrant support community of peers and Oracle experts.