HomeHome  PortalPortal  FAQFAQ  SearchSearch  RegisterRegister  Log in  

Share | 
 

 Finding the working dir of the process running on a specific port

View previous topic View next topic Go down 
AuthorMessage
welan
Admin
avatar

Posts : 248
Join date : 2010-02-23
Age : 53
Location : snow drift in minnesota

PostSubject: Finding the working dir of the process running on a specific port   Mon Mar 15, 2010 5:54 pm

# first grep netstat for the desired port

netstat -anp | grep 8161

# after get the port number wich will be in the following format
# tcp .... LISTEN 14826/java

pwdx 14826

# there you go, the output shows something like
# 14826: /usr/local/httpd

_________________
An expert is a man who tells you a simple thing in a confused way in such a fashion as to make you think the confusion is your own fault. 
Back to top Go down
 
Finding the working dir of the process running on a specific port
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Selenium RC with Google Chrome on Windows server 2008
» HOPES RISE FOR FINDING MADELEINE
» How to recognize the pop up window during running script
» Nothing is working to stop these migraines :(
» Selenium Webdriver running in IE browser

Permissions in this forum:You cannot reply to topics in this forum
SUSEUnbound :: Help Section :: Tips and Tweaks-
Jump to: