You can release disk space and possibly keep it free by
restricting access to directories and monitoring disk usage.
- Restrict users from certain directories by typing:
This command sets read and write permissions for the owner
(root) and sets read-only permissions for the group and others. DirName is
the full path name of the directory you want to restrict.
- Monitor the disk usage of individual users by adding the
following line to the /var/spool/cron/crontabs/adm file:
0 2 * * 4 /usr/sbin/acct/dodisk
This line runs the dodisk command at
2 a.m. (0 2) each Thursday (4).
The dodisk command initiates disk-usage accounting.
This command is usually run as part of an accounting procedure that
is run by the cron command during off-peak hours.