Monday, March 15, 2010

How to find number of JVM in Websphere

To list all the jvm process that wensphere is running you can do several thgins.
1. ps-ef grep
> ps -ef grep //javawasadm 18445 18436 0 13:48:33 pts/9 0:00 grep /javawasadm 9959 1 0 Feb 18 ? 4:17 /java/bin/java -XX:MaxPermSize=256m -Dwas.status.socket=49743 -Xwasadm 9927 1 0 Feb 18 ? 5:10 /java/bin/java -XX:MaxPermSize=256m -Dwas.status.socket=49611 -X2. pgrep -f -u $WASUSER $ENVPATH

1 comment:

  1. hi,

    could you please give me the exact command or synatx to find the number of JVM's?

    when we run ps -ef grep it shows the options that needs to be further appended along with these.

    Also could you please let me know if there is a way to identify the number of JVM using wsadmin script

    ReplyDelete

Note: Only a member of this blog may post a comment.