100%(3)3 out of 3 people found this document helpful
This preview shows page 3 - 6 out of 6 pages.
Replace PID with the PID you recorded in Processesf. kill -9 PIDi. Replace PID with the PID you recorded in Processesg. sleep 6000i. Press Ctrl-C to get your prompt backh. sleep 6000&i. How did this command differ?i. fg %1i. Press Ctrl-C to get your prompt backj. sleep 6000&i. Repeat this command three timesk. jobsi. View the background jobsl. kill %1i. Terminates job 1m. killall sleepn. jobsi. Verify that all sleep jobs were terminatedo. sleep 6000&p. nice -n 19 sleep 6000%i. Places sleep at a lower priorityq. killall sleepr. top7. Leave your VM session open as you answer the following question.***Required Question 3:Processes 3From the output of the top command, record the following information:• Number of processes• Number of sleeping processes• Amount of total memory (K)• Amount of total swap memory (K)Utilize the Rich Text field below for your answer. In the field, you can incorporate section headers, font adjustments, screenshots, etc. If you use any source material, use in-text citations, per APA standards, andensure the sources are included in References section at the end of this document.
The number of processes is currently 165The number of sleeping processes is 164The amount of total memory is 1,016,232The amount of total swap memory is 1,150,9728. Navigate back to your VM session, open a terminal (if required), and complete the following tasks. a.at now + 1 minutei. date > /root/datefileii. who >> /root/datefileiii. Ctrl-d
9. Wait about 1 minute before proceedinga.cat datefilei. View the contents of the datefileb. crontab -li. Do you have a crontab?c. crontab -ei. This will place you in the crontab editor. Use the appropriate text editor commands(like vim)ii. Enter the following1. 30 20 * * 5 /bin/falseiii. Save and quit the vim editor d. crontab -li. When will the /bin/false command run?e. cat /var/spool/cron/rooti. Should be like crontab -lf. crontab -ri. Remove your crontab10. You can close the terminal and shut down the VM.***Conclusion:The systems for SMB Company will need to be properly monitored and maintained to ensure they perform as expected. As with any OS, Linux requires patches/updates and regular monitoring for rogue processes and excessive resource utilization. You are responsible for creating a System Maintenance Plan that includes (at a