Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ip address of process

Status
Not open for further replies.

andyraff

Technical User
Feb 20, 2001
10
GB
I need to trace the ip address of a process
 
Find out who owns the process
check to see where they logged in from
perform a traceroute.

ps-ef|grep process
who -u

OR

last username|pg

traceroute 192.168.1.1 (whatever IP address really is)

crowe
 

well you see you have many ways of doing this ..let me break down a couple of ways

netstat -p
lsof

both these commands let you know what ipaddress and port number are used by that proccess

then you have other commands like

lsof -i :<portnumber>

this will tell you what is listening on that port or what is going through that port

i hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top