HP OpenVMS Systemsask the wizard |
The Question is: My system disk is being filled up extensively,requiring me to have to copy various files over to my user disk, I have a 4 gig system disk, are there any log files that grow extensively that I need to purge. thanks. The Answer is :
You can use commands such as DIRECTORY/SIZE/SELECT=SIZE=MINIMUM=1000
to identify larger files, and files that are growing over time.
Accounting, auditing, and the operator logs can all grow over time.
Error logs can also become a factor if many errors are being logged.
Periodic execution of commands such as:
$ SET ACCOUNTING/NEW_LOG
$ SET AUDIT/SERVER=NEW_LOG
$ REPLY/NEW_LOG
can be used to restart the logs on a daily or weekly basis, and then
the ACCOUNTNG.DAT, SECURITY.AUDIT$JOURNAL, and OPERATOR.LOG can be
purged. (You will want to keep a week or two of copies of these files
around to track recent activity (See PURGE/BEFORE="-7-"), and to maintain
sufficient BACKUP of the data should you need to investigate security or
other activity on a historical basis.)
You will want to be aware of the rooted directory structure of the
OpenVMS system disk before deleting files. The files:
SYS$SYSDEVICE:[SYS*]SYSCOMMON.DIR
SYS$SYSDEVICE:[000000]VMS$COMMON.DIR
are all exactly the same directory file, thus all files in each
of these (apparently different) directories are actually the same
set of files shared among all roots. (Apologies if you are already
familiar with OpenVMS system disk structure.)
For further information, at http://www.openvms.digital.com:8000,
see:
/72final/6017/6017pro_085.html#6017accounting
/72final/6017/6017pro_036.html#disk_mgmt_sec
/72final/6017/6017pro_085.html#index_x_4883
as a start.
You can also relocate most of (all of?) the various files off the
system disk.
Note: The enabling and use of disk quotas on the system disk is not
supported and not recommended.
|