lamiastella

$ pgrep -lfa tomcat || pgrep -lf tomcat; ss -nlpt

Sep 6th, 2016
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. $ pgrep -lfa tomcat || pgrep -lf tomcat; ss -nlpt
  2. 29788 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx512m -XX:+UseConcMarkSweepGC -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -classpath /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat7 -Dcatalina.home=/usr/share/tomcat7 -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp org.apache.catalina.startup.Bootstrap start
  3. 30860 vi /etc/tomcat7/server.xml
  4. State Recv-Q Send-Q Local Address:Port Peer Address:Port
  5. LISTEN 0 5 127.0.0.1:29754 *:*
  6. LISTEN 0 128 *:17500 *:*
  7. LISTEN 0 100 127.0.0.1:38332 *:*
  8. LISTEN 0 10 127.0.0.1:4381 *:* users:(("spotify",pid=16207,fd=69))
  9. LISTEN 0 128 127.0.0.1:17600 *:*
  10. LISTEN 0 128 127.0.0.1:17603 *:*
  11. LISTEN 0 100 127.0.0.1:47847 *:*
  12. LISTEN 0 100 127.0.0.1:33576 *:*
  13. LISTEN 0 100 127.0.0.1:56337 *:*
  14. LISTEN 0 10 127.0.0.1:4371 *:* users:(("spotify",pid=16207,fd=70))
  15. LISTEN 0 128 127.0.0.1:5940 *:*
  16. LISTEN 0 10 *:57621 *:* users:(("spotify",pid=16207,fd=100))
  17. LISTEN 0 100 127.0.0.1:55925 *:*
  18. LISTEN 0 5 127.0.1.1:53 *:*
  19. LISTEN 0 128 *:22 *:*
  20. LISTEN 0 5 127.0.0.1:631 *:*
  21. LISTEN 0 128 127.0.0.1:5432 *:*
  22. LISTEN 0 128 127.0.0.1:8888 *:*
  23. LISTEN 0 100 127.0.0.1:35161 *:*
  24. LISTEN 0 128 :::17500 :::*
  25. LISTEN 0 1 ::ffff:127.0.0.1:8005 :::*
  26. LISTEN 0 50 :::61415 :::* users:(("MATLAB",pid=9573,fd=628))
  27. LISTEN 0 100 :::8080 :::*
  28. LISTEN 0 128 :::22 :::*
  29. LISTEN 0 5 ::1:631 :::*
  30. LISTEN 0 50 :::31415 :::* users:(("MATLAB",pid=9573,fd=597))
Advertisement
Add Comment
Please, Sign In to add comment