How do I find out what Java process is running on Linux?
Answer
Linux Commands to Find Process Runtimes
Answer
Linux Commands to Find Process Runtimes
- Step 1: Find Process id by Using the ps Command. x. $ ps -ef | grep java. …
- Step 2: Find the Runtime or Start Time of a Process. Once you have the PID, you can look into proc directory for that process and check the creation date, which is when the process was started.