I have weblogic in Solaris 10 environment. My application had been caught OutOfMemoryError.
My question about killing bad build of application from shell script, not about tuning java or my code.
With Linux/BSD and Windows I can do pgrep for my particular application and do kill -SIGTERM and then kill -SIGKILL it.
But on SunOS I can’t pgrep them (ps(1) returns only first 80 symbols).
Does anybody know how to do it without drinking cup or too of coffee between redeploy?
Should you want more than 80 characters from ps output, you can use
/usr/ucb/ps -alxww