Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
Administrator Commands and Files Pcleanup(8)
NAME
Pcleanup - Moves or removes obsolete OSS files
SYNOPSIS
Pcleanup -i | -r { source | target } | -?
Pcleanup -m [-?]
FLAGS
-i Displays a list of all obsolete OSS files, as identified within the remove-list files
in the /etc/install_obsolete
directory.
-m Moves all obsolete files specified within the remove-list files in the
/etc/install_obsolete
directory to the /etc/install_obsolete
directory but does not
delete them.
-r { source | target }
When source is specified, removes all obsolete files from their locations as given
in the remove-list files within the /etc/install_obsolete
directory. When target is
specified, removes all obsolete files from /etc/install_obsolete (intended for use
after using Pcleanup -m.)
-? Displays usage information for the command.
DESCRIPTION
The Pcleanup utility removes or moves all obsolete OSS files after an interim product
modification (IPM) or a new release of OSS has been installed on a system.
The pinstall utility installs OSS files into the OSS file system but it does not remove files that
were made obsolete by the IPM or release. The Pcleanup utility can provide the file removal
function.
The Pcleanup utility uses a set of remove-list files. These remove-list files are included in the
pax archive files for OSS products. The remove-list files are named
/etc/install_obsolete/PINSTALL_REMOVE_LIST_
filename, where filename is the Guardian
file identifier of the pax archive file the remove-list file applies to. Usually filename contains a
product number.
Each remove-list file contains a list of absolute pathnames for the obsolete files in their originally
installed locations. Each pathname is on a separate line, terminated by a carriage return.
The remove-list files are not removed by the Pcleanup utility.
EXAMPLES
1. The following command removes the obsolete files from the locations given in the
remove lists.
Pcleanup -r source
2. The following command moves obsolete files from the locations given in the remove-list
files to the directory /etc/install_obsolete.
Pcleanup -m
3. The following command removes obsolete files from /etc/install_obsolete, to which
those files were moved using the -r flag.
Pcleanup -r target
527188-004 Hewlett-Packard Company 12−47