Show Weblogic Process

Show Weblogic Process

  • Main idea: To grep the key "Dweblogic.Name" and "java" to filter the weblogic processes and get the value after "Dweblogic.Name".
#!/bin/bash
for name in `ps -ef | grep java`
do
   echo $name | grep Dweblogic.Name | awk -F '=' '{print $2}'
done