Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Topic 9 Homework Watch the podcast and do the lab before you attempt this homework For this week, we're going to use our knowledge of

image text in transcribed
image text in transcribed
Topic 9 Homework Watch the podcast and do the lab before you attempt this homework For this week, we're going to use our knowledge of process automation to create a number of cron jobles that solve specific problems. You should create test all of these scenarios from your student account. Any files that are written by the process should be written to your student home directory. The scenarios that you'll need to create are listed below 1. The system admi-staff would like you to create a cron job that runs only on weekdays (Monday - Friday at lam, continuously throughout the year. The job should write a list of all processes that are currently running on the host to a file called processes.txt 2. The Helpdesk would like to keep metrics on disk usage for a short period of time. Write a cron job that write the output of the 'df -h' command to a local titled metricot The job should only run on Wednesday at Bam. Make sure that you don't OVERWRITE the data that's already in the file. You'll need to structure your command so that it APPENDS to the leaving the data that's already been written. In all cases, you should load the appropriate cron job file into the contab daemon, then use the crontab-' command to display the contents of the cron buffer. Take a screen shot of this output and upload for each individual problem. Do not upload more than 2 screen shots. JPG or PNG files only. Topic 9 Homework Watch the podcast and do the lab before you attempt this homework For this week, we're going to use our knowledge of process automation to create a number of cron job files that solve specific problems. You should create test all of these scenarios from your student account. Any files that are written by the process should be written to your student home directory: The scenarios that you'll need to create are listed below 1. The system admin staff would like you to create a cron job that runs only on weekdays (Monday - Fridays at 1am, continuously throughout the year. The job should write a list of all processes that are currently running on the host to a file called processes.txt 2. The Helpdesk would like to keep metrics on disk usage for a short period of time. Write a cron job that writes the output of the 'dfhe' command to a local file titled metrict. The job should only run on Wednesday at 8am. Make sure that you don't OVERWRITE the data that's already in the file. You'll need to structure your command so that it APPENDS to the file saving the data that's already been written In all cases, you should load the appropriate cron job file into the crontab daemon, then use the crontabi' command to display the contents of the cron buffer. Take a screen shot of this output and upload for each individual problem. Do not upload more than 2 screen shots. JPG or PNG files only

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 3 Lnai 9286

Authors: Albert Bifet ,Michael May ,Bianca Zadrozny ,Ricard Gavalda ,Dino Pedreschi ,Francesco Bonchi ,Jaime Cardoso ,Myra Spiliopoulou

1st Edition

3319234609, 978-3319234601

More Books

Students also viewed these Databases questions