Date Created: Sat 20-Nov-2010

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/



A Simple find websphere ports and user using script on Linux

Script ...

pid=`ps -ef | grep websphere |tr -s " " | cut -d " " -f2`

for p in $pid
do
lsof -p $p | grep TCP | grep "*:"
done


Result ....


java 4420 root 418u IPv6 3658542 TCP *:34993 (LISTEN)
java 4420 root 443u IPv6 3658543 TCP *:9406 (LISTEN)
java 4420 root 444u IPv6 3658544 TCP *:9405 (LISTEN)
java 4420 root 453u IPv6 3658581 TCP *:9353 (LISTEN)
java 4420 root 457u IPv6 3658584 TCP *:corbaloc (LISTEN)
java 4420 root 461u IPv6 3658595 TCP *:8881 (LISTEN)
java 4420 root 477u IPv6 3658631 TCP *:glrpc (LISTEN)
java 4420 root 478u IPv6 3658632 TCP *:9443 (LISTEN)
java 15496 root 418u IPv6 3393116 TCP *:jetdirect (LISTEN)
java 15496 root 443u IPv6 3393117 TCP *:9403 (LISTEN)
java 15496 root 444u IPv6 3393118 TCP *:9402 (LISTEN)
java 15496 root 450u IPv6 3393151 TCP *:9352 (LISTEN)
java 15496 root 456u IPv6 3393156 TCP *:9809 (LISTEN)
java 15496 root 460u IPv6 3393161 TCP *:8879 (LISTEN)
java 15496 root 480u IPv6 3393170 TCP *:9060 (LISTEN)
java 15496 root 481u IPv6 3393171 TCP *:9043 (LISTEN)
java 15496 root 490u IPv6 3393173 TCP *:7277 (LISTEN)
java 25257 root 441u IPv6 3659284 TCP *:44069 (LISTEN)
java 25257 root 443u IPv6 3659285 TCP *:9408 (LISTEN)
java 25257 root 444u IPv6 3659286 TCP *:9409 (LISTEN)
java 25257 root 453u IPv6 3659323 TCP *:9355 (LISTEN)
java 25257 root 457u IPv6 3659326 TCP *:gsiftp (LISTEN)
java 25257 root 461u IPv6 3659330 TCP *:8882 (LISTEN)
java 25257 root 477u IPv6 3659345 TCP *:9081 (LISTEN)
java 25257 root 478u IPv6 3659346 TCP *:9444 (LISTEN)
java 30263 root 417u IPv6 3657972 TCP *:bacula-dir (LISTEN)
java 30263 root 443u IPv6 3657976 TCP *:wap-wsp-wtp (LISTEN)
java 30263 root 444u IPv6 3657977 TCP *:wap-wsp-s (LISTEN)
java 30263 root 450u IPv6 3658013 TCP *:9354 (LISTEN)
java 30263 root 456u IPv6 3658018 TCP *:netsteward (LISTEN)
java 30263 root 460u IPv6 3658019 TCP *:8878 (LISTEN)
java 30263 root 465u IPv6 3658025 TCP *:watchme-7272 (LIS

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • My Blog
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories