Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5. Send your SECOND Pl a Continue signal (SIGCONT) from the keyboard by using the fg command (foreground) with the appropriate job_number, as in the
5. Send your SECOND Pl a Continue signal (SIGCONT) from the keyboard by using the fg command (foreground) with the appropriate job_number, as in the following, assuming 4 is the job_number (use your own job_number, which you can see with the jobs command.): > fg 44 Now you should have the second Pl in the foreground, and the first PI stopped. Now terminate both processes (using as many steps as you need to). What commands did you use to terminate them? In question 6 above, the fg command was used to make a process resume. You could also get the process to resume by sending it the continue signal (SIGCONT), with your own PID, as in: > kill -SIGCONT PID In the first shell window, run Pl with appropriate argument. In the second window, use ps to obtain the process_id of pi. FROM THE SECOND SHELL WINDOW : stop i continue (resume) P1 stop P1 continue (resume) P1 terminate Pl What commands did you use? 5. Send your SECOND Pl a Continue signal (SIGCONT) from the keyboard by using the fg command (foreground) with the appropriate job_number, as in the following, assuming 4 is the job_number (use your own job_number, which you can see with the jobs command.): > fg 44 Now you should have the second Pl in the foreground, and the first PI stopped. Now terminate both processes (using as many steps as you need to). What commands did you use to terminate them? In question 6 above, the fg command was used to make a process resume. You could also get the process to resume by sending it the continue signal (SIGCONT), with your own PID, as in: > kill -SIGCONT PID In the first shell window, run Pl with appropriate argument. In the second window, use ps to obtain the process_id of pi. FROM THE SECOND SHELL WINDOW : stop i continue (resume) P1 stop P1 continue (resume) P1 terminate Pl What commands did you use
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started