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

Commands Reference, Volume 4


piodmgr Command

Purpose

Compacts the Object Data Manager (ODM) database in the /var/spool/lpd/pio/@local/smit directory.

Syntax

piodmgr-c |  -h }

Description

The piodmgr command extracts existing printer definitions from the ODM database in the /var/spool/lpd/pio/@local/smit directory, recreates the ODM database, compacts the database, and reloads the compacted database.

The -c and -h flags are mutually exclusive. The -h flag only compacts the database when the host name has been changed. The -c flag always compacts the database.

Note: Root user authority is needed to run this command.

Flags


-c Extracts existing printer definitions from the ODM database, recreates the database, compacts the information, and replaces the database.
-h Performs exactly like the -c flag, but the -h flag compacts the information only if the host name has been changed. If the host name has been changed, the -h flag extracts the new name and updates the host name information in the database. If the host name has not been changed, the -h flag does not compact the information. This flag is an optional compactor rather than an automatic compactor as with the -c flag.

Examples

  1. To compact and update the ODM printer definition database, enter:

    piodmgr -c
    
  2. To perform compaction of the information depending on whether the host name has been changed or not, enter:

    piodmgr -h
    

Files


/usr/lib/lpd/pio/etc/piodmgr Contains the piodmgr command.
/var/spool/lpd/pio/@local/smit/* Contains predefined printer definitions used by the command.

Related Information

The piobe command.

Printer Overview for System Management, Spooler Overview for System Management, and, Printer Backend Overview for Programming in the AIX 5L Version 5.1 Guide to Printers and Printing.

Object Data Manager (ODM) Overview for Programmers in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.


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