Removing Old Binary and Core Files

To remove old binary and core files, do the following:

1. Verify that you have the necessary privilege. You must be included in the admin.bos file on the machine on which the binary and core files reside. If necessary, issue the bos lsadmin command to check.

2. Enter the bos prune command to remove old versions of .BAK files, .OLD files, core files, or any combination of the files from the dcelocal/bin and dcelocal/var/dfs/adm directories:

$ bos prune -server machine [-bak] [-old] [-core] [-all]

The -bak option specifies that all .BAK files are to be removed from dcelocal/bin. Use this option and optionally -old, -core, or both, or use -all.

The -old option specifies that all .OLD files are to be removed from dcelocal/bin. Use this option and optionally -bak, -core, or both, or use -all.

The -core option specifies that all core files are to be removed from dcelocal/var/dfs/adm. Use this option and optionally -bak, -old, or both, or use -all.

The -all option specifies that all .BAK and .OLD files are to be removed from dcelocal/bin and all core files are to be removed from dcelocal/var/dfs/adm. Use this option or use some combination of -bak, -old, and -core.