HomeHome  PortalPortal  FAQFAQ  SearchSearch  RegisterRegister  Log in  
openFate
Finding the working dir of the process running on a specific port Fatelogo_small openFATE - openSUSE feature tracking
Similar topics
Latest topics
» Difference between 42.2 and 42.1
Finding the working dir of the process running on a specific port Emptyby findoctr Thu Dec 15, 2016 7:53 pm

» openSUSE Leap 42.1 ?
Finding the working dir of the process running on a specific port Emptyby findoctr Fri Feb 05, 2016 8:09 pm

» Happy Turkey Day
Finding the working dir of the process running on a specific port Emptyby findoctr Thu Nov 26, 2015 1:45 pm

» Happy 4th of July!
Finding the working dir of the process running on a specific port Emptyby bozo Sat Jul 04, 2015 12:56 pm

» It's been a while ...
Finding the working dir of the process running on a specific port Emptyby bozo Mon Feb 23, 2015 8:34 pm

» Mondo chillers
Finding the working dir of the process running on a specific port Emptyby bozo Wed Feb 18, 2015 5:11 am

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
IRC Channel
You can also find us on IRC's freenode.net as #suseunbound.

Share
 

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

Go down 
AuthorMessage
welan
Admin
welan

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

Finding the working dir of the process running on a specific port Empty
PostSubject: Finding the working dir of the process running on a specific port   Finding the working dir of the process running on a specific port EmptyMon 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
Back to top 
Page 1 of 1
 Similar topics
-
» how to select an option from select box of a form
» I am getting a save pop-over on running my RC script.
» Ant build file for TestNG not running
» Error 148:3 (Licensing for this product has stopped working) - Adobe Softwares
» Running slow, possible virus?

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