[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Guide to Printers and Printing

Deleting Unnecessary Directory Files

Use the following procedures to clean out unnecessary files stored in the spooling directory.

Note: Some commands require root user or system group authority.
  1. Determine if there are unnecessary files stored in the spooling directory by entering the following du command:

    du -rs /var/spool
    

    The du command summarizes disk usage. The -s flag instructs the du command to display only the total disk usage of the /var/spool directory and the files it contains. The -r flag tells the du command to display an error message if it cannot read a file or directory.

  2. Delete or move files in a full directory by doing either of the following:
  3. Prevent users from storing files in your spooling directories by doing the following:
  4. As a last resort, mount more space to the spool directory. There are two ways to do this:

Related Information

For more information about mounting file systems, see "How to Mount or Unmount a File System" in AIX 5L Version 5.1 System Management Guide: Operating System and Devices.

For more information about printers and printing problems, see Chapter 2, Printers, Print Jobs, and Queues for System Administrators in AIX 5L Version 5.1 Guide to Printers and Printing.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]