1) List processes in detail including execution path, using legacy ps as shown in the next line ::
ps -ecdf
Advantages: full listing detail having execution path unveiled
2) How to Kill processes
kill -9 PID example: kill -9 741 this command kills the java runtime server regarding the image above
3) How to restart processes
kill -HUP PID example: kill -HUP 741, restarts the process in memory session. HUP isn't aware of changes in configuration files that lie on disk. In such circumstance, PID must be restarted using convential execution command via source path, specifically an example is given below to clarify our case ::
>su root
>cd /usr/java/bin/
>./java -server -Xmx128m -XX:+UseParallelGC -XX:ParallelGCThreads=4
ps -ecdf
Advantages: full listing detail having execution path unveiled
2) How to Kill processes
kill -9 PID example: kill -9 741 this command kills the java runtime server regarding the image above
3) How to restart processes
kill -HUP PID example: kill -HUP 741, restarts the process in memory session. HUP isn't aware of changes in configuration files that lie on disk. In such circumstance, PID must be restarted using convential execution command via source path, specifically an example is given below to clarify our case ::
>su root
>cd /usr/java/bin/
>./java -server -Xmx128m -XX:+UseParallelGC -XX:ParallelGCThreads=4