Find the process id of a running process
Table of Contents
The command
Sometimes I started a command with a java -jar mything.jar &
long ago, and now it needs to be updated, and I haven’t got around to properly instrumenting it yet. Here is the command that helps me find and shutdown the old process so I can restart it.
ps -ef | grep mything