COMP229/4 - System Software - Some Course Materials


This page contains some materials presented by Serguei on Friday labs for the COMP229/4 course, 2002.

Please report any typos, bugs, corrections, and suggestions to mokhov@cs.concordia.ca.


Table of Contents

  1. Debugging
  2. Shell Scripts
  3. Introduction to System Calls and Process Management
  4. Assignment #3 Notes
  5. Assignment #4 Notes
  6. Assignment #5 Notes
  7. FAQ
  8. Links

File Management System Calls


Process Management System Calls


F.A.Q.

Q: Why can't I save anything? It says "exceeded quota"...

A:

Every user on the system is allotted some disk space for their files. Since there are many students out there, quotas aren't so high and people often tend to leave unneeded files, which count against their disk quota. Once you have exceeded your allotted storage, you won't be able to save anything until you free up some space.

In general, typical files students are working with, are not of such a great size; however, there are some system files, sometimes quite large, which you might not be aware of, but they still count against your quota. A typical so troublesome example is the Netscape browser, which leaves after itself a lot of cached pages if not configured properly. After moderate browsing you can easily have your quota used up.

Hints on how to solve the problem. Type the quota command to actually see the quotas for your account. If they exceed allotted space, delete unneeded files and the .netscape directory. In most cases this is more than enough. The .netscape directory is in your home and marked as system, and thus, by a simple ls not shown. Use ls -a or better yet ls -al. Type \rm -r ~/.netscape to remove it. Another torublemaker could be a core dump from a crashed program, which takes up sometimes quite a lot of space. Most of the time you don't need it, so there's no need to keep it too. Check your quota again, and if it's not enough, see what else you can remove. The du -h command will show you disk usage for all the directories starting from your current, and pay special attention to those that take a lot of space as first candidates to removal.

References:

man quota
man du
man ls
man rm


Maintained by Serguei A. Mokhov, mokhov@cs.concordia.ca