spdsclean -parmfile /opt/spds45/site/spdsserv.parm
-libnamefile /opt/spds45/site/libnames.parm -verbose
Logging occurs for the WORKPATH and LIBNAME domain directories and for the files
that were deleted from each.
Cleaning Log Files
This
spdsclean
command cleans the .spdslog files from the specified
-logdir
directory
that are more than seven days old.
spdsclean -logdir /opt/spds45/log
Suppose you want to keep log files older than 10 days from the date of execution. The
following
spdsclean
command will do this:
spdsclean -logdir /opt/spds45/log -logage 10
If you want to see the files that were deleted, add the-
verbose
option to the
spdsclean
command.
Cleaning WORKPATH, LIBNAME Domain and Log Files
This
spdsclean
command cleans WORKPATH files from the directory list in
-
parmfile
, residual temporary files from domain directories in
-libnamefile
, and
cleans .spdslog files that are older than seven days from the
-logdir
directory.
spdsclean -parmfile /opt/spds45/site/spdsserv.parm
-libnamefile /opt/spds45/site/libnames.parm
-logdir /opt/spds45/log -verbose
Glossary
ACL Files
When you create SPD Server Access Control Lists (ACLs), hidden ACL files are
created in the primary directory of the LIBNAME domain. The hidden files are
named .spres11* and .sppro11*. The hidden ACL files retain the state of the ACLs that
were defined for the LIBNAME domain resources. Normally, you should not delete
ACL files.
Domain State File
The domain state file is also known as .spdslib11. The domain state file retains the set
of directory paths that are configured for the LIBNAME domain. The directory path
information is stored as an ordered list for each of the SPD Server domain storage
classes.
•
METAPATH=
•
DATAPATH=
•
INDEXPATH=
As you make LIBNAME assignments over the life of the domain, the new directories
are appended to the end of the ordered lists for METAPATH=, DATAPATH=, and
INDEXPATH= storage classes. The order of directories listed in the .spdslib11 file
defines the order of data cycling and overflow sequencing for each of the respective
classes.
256
Chapter 20 • SPD Server Directory Cleanup Utility
Summary of Contents for Scalable Performance Data Server 4.5
Page 1: ...SAS Scalable Performance Data Server 4 5 Administrator s Guide...
Page 7: ...Part 1 Product Notes Chapter 1 SPD Server 4 5 Product Notes 3 1...
Page 8: ...2...
Page 12: ...6...
Page 63: ...Part 3 Migration Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility 59 57...
Page 64: ...58...
Page 70: ...64 Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility...
Page 72: ...66...
Page 76: ...70 Chapter 6 Using the SPD Server Name Server to Manage Resources...
Page 94: ...88 Chapter 7 Administering and Configuring SPD Server Using the SAS Management Console...
Page 98: ...92 Chapter 8 SPD Server SQL Query Rewrite Facility...
Page 116: ...110 Chapter 10 Configuring Disk Storage for SPD Server...
Page 128: ...122 Chapter 11 Setting Up SPD Server Parameter Files...
Page 154: ...148...
Page 198: ...192 Chapter 14 ACL Security Overview...
Page 212: ...206 Chapter 15 Managing SPD Server Passwords Users and Table ACLs...
Page 214: ...208...
Page 224: ...218 Chapter 16 SPD Server Operator Interface Procedure PROC SPDO...
Page 236: ...230 Chapter 18 SPD Server Table List Utility Spdsls...
Page 256: ...250 Chapter 19 SPD Server Backup and Restore Utilities...
Page 264: ...258 Chapter 20 SPD Server Directory Cleanup Utility...
Page 270: ......