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
Get step-by-step solutions from verified subject matter experts
