Replace pid with the pid you recorded in processes f

This preview shows page 3 - 6 out of 6 pages.

Replace PID with the PID you recorded in Processes f. kill -9 PID i. Replace PID with the PID you recorded in Processes g. sleep 6000 i. Press Ctrl-C to get your prompt back h. sleep 6000& i. How did this command differ? i. fg %1 i. Press Ctrl-C to get your prompt back j. sleep 6000& i. Repeat this command three times k. jobs i. View the background jobs l. kill %1 i. Terminates job 1 m. killall sleep n. jobs i. Verify that all sleep jobs were terminated o. sleep 6000& p. nice -n 19 sleep 6000% i. Places sleep at a lower priority q. killall sleep r. top 7. Leave your VM session open as you answer the following question. ***Required Question 3: Processes 3 From 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, and ensure the sources are included in References section at the end of this document.
The number of processes is currently 165 The number of sleeping processes is 164 The amount of total memory is 1,016,232 The amount of total swap memory is 1,150,972 8. Navigate back to your VM session, open a terminal (if required), and complete the following tasks. a. at now + 1 minute i. date > /root/datefile ii. who >> /root/datefile iii. Ctrl-d
9. Wait about 1 minute before proceeding a. cat datefile i. View the contents of the datefile b. crontab -l i. Do you have a crontab? c. crontab -e i. This will place you in the crontab editor. Use the appropriate text editor commands (like vim) ii. Enter the following 1. 30 20 * * 5 /bin/false iii. Save and quit the vim editor d. crontab -l i. When will the /bin/false command run? e. cat /var/spool/cron/root i. Should be like crontab -l f. crontab -r i. Remove your crontab 10. 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

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture