Question: PART 3: Experiment with starting processes in the background, managing those processes, and changing the priority: remove the echo commands from the looper script start
PART 3: Experiment with starting processes in the background, managing those processes, and changing the priority:
- remove the echo commands from the looper script
- start this script in the background by using the & (example: ./looper & )
- use the jobs (note the job ID with the jobs command) and ps
- move it to the foreground using the fg command followed by the job number, use CRTL/Z to stop it and return it to the background using the bg command and then kill the process.
- TO HAND IN: Take a screen shot of the last 10 commands in your history for PART 3
- change the priority level of a process
- run your looper2 script in the background and note the NICE and PRI levels using the ps l command
- issue a renice +15 PID and notice the results
- start a process with nice n 19 with your command (maybe a looper script), notice the results
- clean up all of your Zombied and Stopped processes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
