cleanup man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

cleanup(1M)							   cleanup(1M)

       cleanup - HP-UX patch cleanup utility


       The  command  provides functions useful when dealing with HP-UX patches
       on HP-UX.

       The command logs all information to

       recognizes the following options:

	      Preview the task but  do	not  actually  perform	the  requested

	      Notify the user of
		     tasks  and	 request  confirmation	before	performing the
		     requested action.

	      Commit patches superseded at least
		     number times.  This option is a front-end to  the	option
		     of	 (see  swmodify(1M)) that provides an easier interface
		     to commit multiple patches at once.

	      Remove patches in the specified software depot  that  have  been
	      superseded by
		     patches also available from the depot.

	      Specifies	 whether the software depot contains patches for HP-UX
	      10.X or 11.X
		     releases.	This option is only valid with the option.  If
		     the  option  is  not specified, it defaults to HP-UX 11.X

	      Specifies whether patches in the software depot that  contain  a
	      corequisite or
		     prerequisite  attribute  specifying one of the superseded
		     patches as a dependency should  also  be  removed.	  This
		     option  is	 valid only with the option.  If the option is
		     not specified, it defaults to true.

	      Remove HP-UX 10.X patches that remain in the  Installed  Product
		     after  an	upgrade	 to  HP-UX  11.X.   These  patches are
		     removed from the IPD so that they are no longer displayed
		     in the output of the command (see swlist(1M)).  The HP-UX
		     10.X patch files are also removed from

	      Correct the
		     attribute for HP-UX 11.X patches.

       The command should be executed after updating to HP-UX 11.X from	 HP-UX
       10.20.	It is not necessary to execute after updating from one version
       of HP-UX 11.X software to another because SD-UX	will  properly	remove
       11.X patch information from the IPD in these situations.

       The command should be executed whenever patches are added to a software
       depot.  It is not a requirement that superseded 11.X patches be removed
       from  a	software  depot,  but  it is a recommendation to conserve disk
       space and to avoid confusion.  If superseded patches exist in the  same
       depot  as  patches that supersede them, SD-UX on HP-UX 11.X will handle
       the situation properly.

       The command can be executed to commit all patches that have been super‐
       seded  at  least	 the specified number of times.	 The only benefit from
       committing patches is that disk space will be recovered in the

       The command can be executed to insure that the attribute of  all	 patch
       filesets	 is  set  correctly.  There are several known situations where
       the attribute will be set incorrectly.  This command can be run at  any
       time,  but  will be most useful after a system has been installed using

       This command is standard on HP-UX 11i v3.  On 11i v2 it is available in
       patch  PHCO_32220 or a superseding patch.  On 11i v1 it is available in
       patch PHCO_27780 or a superseding patch.

       Extreme care should be used when committing patches.  Once a patch  has
       been  committed,	 it cannot be removed from the system.	Patches should
       only be committed when you are satisfied with their behavior.  Recover‐
       ing disk space should not be the only factor considered when committing

       was developed by HP.

       show_patches(1),	 sysdiff(1),  check_patches(1M),  swlist(1M),	swmod‐
       ify(1M), swremove(1M), sd(4).


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net