Monday, April 20, 2009

Patch Cleanup HP-UX

There is a utility under /usr/sbin and it is called 'cleanup'. It provides the following functionality for 10.X patch management:

/usr/sbin/cleanup
Remove superseded patches from the system to reclaim space in /var.
Queries the user re trimming SD logfiles as well.

/usr/sbin/cleanup -F
Forces the removal of ALL Patch backups to reclaim space in /var (you cannot back out a patch out after this).

/usr/sbin/cleanup -t
Trim SD logfiles /var/adm/sw*.log to the most recent 5 entries.

/usr/sbin/cleanup -i
Remove overwritten patch entries from the SDUX IPD.

/usr/sbin/cleanup -d [absolute path to software depot]
Removes superseded patches from a software depot.

:: :-)

1 comment:

  1. Finding a robust patch management solution is becoming more and more difficult as machines are less and less accessible to the management console. I have found success using patch management from Kaseya. Because of the agent based framework, I have connectivity to every machine that is connected to the Internet, independent of location. - URL: http://www.kaseya.com/products/patch-management/features.aspx

    ReplyDelete