How do I find out what Java process is running on Linux?

How do I find out what Java process is running on Linux?
Answer
Linux Commands to Find Process Runtimes
  1. Step 1: Find Process id by Using the ps Command. x. $ ps -ef | grep java. …
  2. 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.
 

Tìm kiếm

Back
Top