Most of the situation [To re deploy application in
Production Server- we need to kill currently running JAVA Process ] .
For this we required Java process ID. Here are the steps to
find Java process ID
·
Windows
Options 1:
Use
the jps command which is provide through sun jdk in command prompt.
Syntax
: jps -lv
Option 2:
Step
1: Open task manager [
CTRL+Shift+Delete].
Step 2 : Select Services tab and search for the current running java process PID.
UNIX, Linux and Mac OSX:
Syntax: ps -el | grep java


0 comments :
Post a Comment