Skip to Main Content

Chinese

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Linux下找到Weblogic监听的Port。初学者有用。:)。

702619Jul 16 2003
不管多少个weblogic运行,他们总要监听端口的。用下边这个命令,就可以搜出所有的WLS监听的断口。:)。希望有用。
当然,通过这个也可以确定wls正常启动了。^_^。

建议把这个作成一个shell,放入path中,就没有那么麻烦了:)。
最好用root权限执行,一行命令下来:
for x in `ps -af|grep 'bea'|gawk '{print $2}'`; do netstat -apn |grep $x|grep tcp;done


希望对大家有用。大家一起来支持Linux!

shell文件:

#!/bin/bash
for x in `ps -af|grep 'bea'|gawk '{print $2}'`; do netstat -apn |grep $x|grep tcp;done

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2003
Added on Jul 16 2003
0 comments
1,387 views