title: Define the following modules to display the system’s summary.
body: <p>(a) a module to display the author(s) name against each shell command located at /bin/
  (b) a module to collect CPU utilization percentage in an interval of 20 seconds. Execute
  the module for 5 minutes. Store system time and CPU utilization count to a file (e.g.,
  utlCount.txt).
  (c) a module to display CPU utilization percentage by a specified user (e.g.mysql) in an
  interval of 10 seconds.</p>
  
  <pre><code>    #include&lt;stdio.h&gt;
     #include&lt;stdlib.h&gt;
          void main() {
               system("ls -l --author /bin | awk '{print$5\nprint$10}'");
               system("mpstat 2 4 | cat &gt; a.txt");
               char str[30];
               printf("enter the user name");
               scanf("%s",str);
               system("mpstat 2 4 |  grep ('str')");
  
     }
  </code></pre>
  
  <p>why it is showing error in 3rd one?</p>