I need to find location of the tomcat on the server, i know only port which tomcat uses.
1) netstat -anp | grep 8069
where 8069 is port number, then getting PID and grepping it from ps
2) ef
ps -ef | grep PID
Thanks to Elshan Akhundov for the solution.
Комментариев нет:
Отправка комментария