HP StorageWorks Command View SDM Installation and User Guide (T1086-96023, February 2005)

216 Array Logs
logdel
Description
The logdel command deletes log database files. Only files older than two
months old can be deleted; two full-calendar months of files are always saved
and cannot be deleted. This command also allows you to delete specific log
file types or to delete all log file types. See "About Log Files" on page 219 for
information about log file types).
Syntax
logdel -a <array-id> [-d <dir>] -e <stop_time> -t <log_type>
logdel -?
Options
-a <array-id>
-a <hostname:array-id>
The array-id can be: array serial number, alias, device path, or world
wide name of the array.
-d <dir>
Directory of the log files to be deleted. If not specified, this directory is
obtained from the system configuration file settings:
/opt/sanmgr/commandview/server/confg/PanConfigParams.txt
-e <stop_time>
Specifies the newest log file to delete. The format for entering time is:
mmddhhMM[yyyy]
where:
mm = month (01-12)
dd = day (01-31)
hh = hour (01-23)
MM = minute (01-59)
yyyy = year (such as 2001), if not specified current year is used
Although all time fields are required, only the month and year are used
by the command.