Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SCRIPT DESCRIPTION Write a complete tash sort that monitor the number of proses personne Current CSE Linux machine (eg. c. etc.) where the scripta sunning

image text in transcribed
SCRIPT DESCRIPTION Write a complete tash sort that monitor the number of proses personne Current CSE Linux machine (eg. c. etc.) where the scripta sunning in particular, you will count al processes and total them per te every seconds and report each user with the number of proces running during theme Note this include system processes the user entenduses as to the program Ashed only report processes for those users. In addition, you will custom sigral handler to trap the SIGINT Re.C). This signader should prompt the where they really want to exit they enter Yory. your program shoid et anything else is entered the program should con You will also print out the current date and time a heading before iting the users and process count followed by a line containing the trumber of users and total number of process running. The users column and the counts should line up to look mee Adda blank line between each output to make easiersee each report. The output of each that might ocou Please see the SAMPLE OUTPUT for several examples. Incuding the descenarios REQUIREMENTS Your sort should be well documented in terms of commer. For exam.good Comments in general consist of her weh your namun section date and brief description comments for each warble and commented blocks of . Your bash script should be named inr2...without the questa must be done at a bash script not a program . Your sort will be red based on whether comedy on the CSE machines . . . . . you should make sure that your script runs on a CSE machine Please pay attention to the SAMPLE OUTPUT for how this script is expected to work you have any questions about this please contact your instructor of TAS assigned to this course to ensure you understand these directions . This is an individual prestatute the work of the dadida del Autocestacades agrade SAMPLE OUTPUT (eringut shown in bold imetath root wide JCONT 2001111111 0011 CONTI 3. TOTAL PROCESS 203 Terinter De 20211111:16 User too! 0011 Cos 10011 3 GORI, AL PROCESSES CONT Terminate Program T Testing pro SCRIPT DESCRIPTION Write a complete tash sort that monitor the number of proses personne Current CSE Linux machine (eg. c. etc.) where the scripta sunning in particular, you will count al processes and total them per te every seconds and report each user with the number of proces running during theme Note this include system processes the user entenduses as to the program Ashed only report processes for those users. In addition, you will custom sigral handler to trap the SIGINT Re.C). This signader should prompt the where they really want to exit they enter Yory. your program shoid et anything else is entered the program should con You will also print out the current date and time a heading before iting the users and process count followed by a line containing the trumber of users and total number of process running. The users column and the counts should line up to look mee Adda blank line between each output to make easiersee each report. The output of each that might ocou Please see the SAMPLE OUTPUT for several examples. Incuding the descenarios REQUIREMENTS Your sort should be well documented in terms of commer. For exam.good Comments in general consist of her weh your namun section date and brief description comments for each warble and commented blocks of . Your bash script should be named inr2...without the questa must be done at a bash script not a program . Your sort will be red based on whether comedy on the CSE machines . . . . . you should make sure that your script runs on a CSE machine Please pay attention to the SAMPLE OUTPUT for how this script is expected to work you have any questions about this please contact your instructor of TAS assigned to this course to ensure you understand these directions . This is an individual prestatute the work of the dadida del Autocestacades agrade SAMPLE OUTPUT (eringut shown in bold imetath root wide JCONT 2001111111 0011 CONTI 3. TOTAL PROCESS 203 Terinter De 20211111:16 User too! 0011 Cos 10011 3 GORI, AL PROCESSES CONT Terminate Program T Testing pro

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

Step: 3

blur-text-image

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

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

Students also viewed these Databases questions