Results 1 to 1 of 1
Hello.
I have a problem in my program and i need to find out how many sockets does
it open.
Is there a program that will scan a running program ...
- 05-26-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 19
Opened sockets!
Hello.
I have a problem in my program and i need to find out how many sockets does
it open.
Is there a program that will scan a running program and see how many sockets are opened?
Or can gdb maybe print out number of sockets and how?
Or if you have any other idea on how to find out how many opened sockets
there are please tell me.
Thank you.
I am very sorry to post this.
I found a linux command to help me:
lsof -p PIDLast edited by PeroMed; 05-26-2008 at 01:28 PM. Reason: Solved my problem myself


Reply With Quote