Write a shell script to interrogate the university Unixoperating system to determine the number of “Runnable”processes at any given time. Then append theresult, along with atime-stamp, on a log file.
Hint: See Unix man pages for the ps, grep, wc,date commands
command > filedirect output of command to file in stead of standard output(screen), replacing current contents offile
command >> file, Append output to thecurrent contents of file
cmd1 | cmd2 “pipe” output ofcmd1 to input of cmd2