Question: Write a shell script to interrogate the operating system in order to determine the number of processes considered by the short-term scheduler for processor allocation

Write a shell script to interrogate the operating system in order to determine the number of processes considered by the short-term scheduler for processor allocation (processes currently "ready to run") at any given time. Then store the result together with a timestamp in a log file. Also note what operating system and what version of shell you are using. (Hint: See Linux / UNIX man pages for ps and wc commands, consider all the processes that are on the machine)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!