Review (1)

Next, let’s review what ps from yesterday does:

ps will show you the running processes on your hard drive. If you run it “naked,” (no flags), it will show you only your own user processes. To show all the system process also, run ps x

ps aux |grep unix

Here you’ll want to actually run

ps aux |grep spring

You’ll want to use ps with |grep spring with Rails 6, but if you boot with Puma (previous versions of Rails), you can |grep rails.

This reveals something important: the unix process id number. The number to the leftmost of your ps output is your process id number.

the unix process id is displayed

When you need to forcibly kill a hanging process, you this is how you find its Unix process id number.