?
Solved

Solaris netstat

Posted on 1998-10-19
4
Medium Priority
?
2,000 Views
Last Modified: 2013-12-19
Using netstat on Solaris I can see the connections but not the users that own the connections.
Linux's netstat has an option -e to show which user owns which connection.
How do i do that on Solaris ?
Thanks
0
Comment
Question by:boyan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Expert Comment

by:ydsh
ID: 1582467
I typed "man netstat" on my SunOS 5.5.1 workstation, and found that
it seemed that Solaris does not support the function you have descriped above.
That means you cannot know who actually own the connections on Solaris
through the command "netstat". :-(


0
 

Author Comment

by:boyan
ID: 1582468
Well i found out there is a tool lsof that does the job:
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/lsof.tar.gz

It is really good althought I couldn't get it to work on a AFS system.
0
 

Accepted Solution

by:
seena earned 200 total points
ID: 1582469
if u need the users along with the IP Address from where they are connected use "finger" in solaris correct me if am wrong in my answer.

Seena
0
 

Expert Comment

by:wayhigh
ID: 1582470
lsof is GREAT!

it'd be simple to write a tool to cache lsof stats every 1-5 minutes (you decide) to a file in /tmp and use that to grep info out such as who's listening on what port, etc..

I could do that in perl in 5 minutes..

Kevin
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This program is used to assist in finding and resolving common problems with wireless connections.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month13 days, 4 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question