10-17-2007
2,351,
6
Join Date: Dec 2004
Last Activity: 18 February 2020, 9:52 AM EST
Location: UK
Posts: 2,351
Thanks Given: 0
Thanked 6 Times in 6 Posts
The steps you want to follow look ok. The difference between jobs and processes is that a job is specific to the shell that you are running. For example, if you run a background job in a shell and check, say, the jobs command, then you get the jobs list starting from job #1. If you start another shell (inside this one), run another background job and run jobs again, you will get a list again starting from job #1.
This is not true of processes. A pid is a pid no matter which shell you look at it from.
So a job is specific to the shell, while a process runs at the system (OS) level.