This assignment will give you an introduction to UNIX processes; you will learn how to find out information on and manage running tasks. Additionally, you will learn how to schedule processes to run automatically for you with cron and at. As of the creation of this assignment, however, at and cron are disabled on the instructional accounts for security concerns, so you won't actually be able to use thm. We are in the process of talking to instructional support to find a solution.
Das: Ch. 8
Answer the following questions and bring them in for a tutor to evaluate:
Use 'script' (Section 2.8) to record your session, so you can show it to a tutor.
Due to security restrictions, most of the instructional machines restrict usage of cron and at. Your cs9e accounts, however, are allowed to use these on one instructional machine. For this part of the assignment, you will need to use torus.cs.berkeley.edu
Create a cron job which updates a web-accessible document every 15 minutes, http://inst.eecs.berkeley.edu/~<your login>/disk_usage.txt. This document should contain the time of last update and a summary of your disk quota usage Example:
Mon Sep 11 14:13:34 PDT 2006 Disk quotas for cs9e-1 (uid 20620): Filesystem usage quota limit timeleft files quota limit timeleft /home/ff 17408 2147483644 2147483644 1089 -1 -1
(Hint: You can see your quota usage with the 'quota' command.)
You will need to show the tutor the crontab entry as well as the web output.