CS 2204 Lab 8

Your name here (please print):

Your student ID number here:

  1. (1 points) Run the command xclock in a nice mode, priority +19 in the background.

     

     

  2. (1 point) Show the command line that helps you figure out exactly how long does command sleep 8 runs on your machine (the answer it has nothing to do with xclock ).

     

     

  3. (4 points) Write a command line that kills the processes (in the current shell/terminal) that have "NIceness" of 19. You may find ps -l useful. If you do everything right, the xclock should get killed. What happens if you kill all processes with niceness of 0? Explain.

     

     

     

  4. (2 points) Show a command line that will email a class reminder to yourself on Monday April 3 2006 at 9.15 am.

     

     

  5. (3 points) Write a line that you would include in a crontab file to send your friend john@yahoo.com a happy birthday email every March 16th.