If you run out of space on a disk drive, there are several ways you can try to remedy the problem. You can automatically track and remove unwanted files, restrict users from certain directories, or mount space from another disk drive.
You must have root user, system group, or administrative group authority to execute these tasks.
Use the skulker command to clean up file systems by removing unwanted files:
The skulker command is used to periodically purge obsolete or unneeded files from file systems. Candidate files include files in the /tmp directory, files older than a specified age, a.out files, core files, or ed.hup files.
Normally, the skulker command is run daily, often as part of an accounting procedure run by the cron command during off-peak hours. You must have root user authority to run this command. For more information about using the skulker command in a cron process, refer to "Fixing Disk Overflows".
For information on typical cron entries, refer to "Setting Up an Accounting System".
Another way to free up disk space and possibly to keep it free is to restrict and monitor disk usage.
Another way to get more space on a disk drive is to mount space from another drive. There are three ways to mount space from one disk drive to another:
For more information about mounting file systems, see "Mounting or Unmounting a File System".