My Oracle Support Banner

Netstat with -u (user/process names/IDs) Does Not Always Report PID or Process Name Correctly (Doc ID 2487201.1)

Last updated on FEBRUARY 13, 2019

Applies to:

Solaris Operating System - Version 11.2 and later
Information in this document applies to any platform.

Symptoms

Problem Summary
---------------------------------------------------
Netstat does not always report process name correctly - with the -u option.

For example:  The installer service is running on port 5555. Four processes are running, one for each IP on the server. So far, so good.

Question is why two of those processes show a process name - and two do not. 

# netstat -aun -P tcp -f inet | grep LISTEN | grep 5555
127.0.0.#.5555      *.* root 3005 httpd 0 0 256000 0 LISTEN
xx.xx.xx.xx.5555    *.* root 2996       0 0 256000 0 LISTEN
198.xx.xx.xx.5555   *.* root 4391 httpd 0 0 256000 0 LISTEN
10.xx.xx.xx.5555    *.* root 2996       0 0 256000 0 LISTEN

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.