Finding Out What Processes are Running with ps
Code Listing 9.12. Using ps, you can find out what processes are currently running.
The jobs that we've been talking about so far are actually types of processes. Processes are programs, scripts, or commandsincluding anything you do in the Unix system. All jobs are processes, but not all processes are jobs.
Occasionally, you may want to find out what processes are running on the Unix system. You can do this using ps, as shown in Code Listing 9.12.
To Find Out What Processes are Running with ps: