Manual Page Result
0
Command: defragcron | Section: 8 | Source: Digital UNIX | File: defragcron.8.gz
defragcron(8) System Manager's Manual defragcron(8)
NAME
defragcron - Schedules AdvFS file domains for defragmenting
SYNOPSIS
/usr/sbin/defragcron [-p] [-q] [-tnnn] [-b hh:mm]
[-a hh:mm] [domain ...]
/usr/sbin/defragcron [-p] [-q] [-tnnn] [-T mm]
[domain ...]
PARAMETERS
Specifies one or more AdvFS file domains. If no domains are specified,
the default action is for the utility to defragment all active AdvFS
file domains.
FLAGS
Specifies that the domains are to be defragmented in parallel. If not
specified, the default is to serially defragment the domains. Suppress
informational messages. If not specified, the default is to produce
informational messages. Specifies the aggregate I/O performance
threshold, the point at which the domain should be defragmented. A
number from 1-100. If not specified, the default is to always defrag-
ment the domain.
The performance threshold is based on the value returned by the
defragment -nv command. If this value is lower than or equal to
the value specified here, the domain is defragmented. If speci-
fied, the utility will not run before this time and will return
an error if the time is not yet reached. Specify time values
using the 24-hour clock. If not specified, the default time is
01:00. If specified, the utility will not run after this time,
and will return an error if the time has been passed. Specify
time values using the 24-hour clock. If not specified, the de-
fault time is 05:00. Specifies an exact time interval, in min-
utes, for the defragment utility to run. If not specified,
there is no default.
If you use this flag, its action overrides the before and after
time checking of the -a and -b flags.
DESCRIPTION
The defragcron utility runs the defragment utility to a schedule that
you specify on all active AdvFS file domains or on the active domains
you specify.
The typical use of this utility is to run it as a command in the cron
daemon. See cron(8).
The utility does not attempt to defragment inactive file domains (those
which have unmounted filesets).
RESTRICTIONS
You must have root user privileges to run this utility.
All restrictions for the defragment utility are in effect for the de-
fragcon utility.
EXAMPLES
The following example defragments all active domains that have an ag-
gregate I/O performance threshold less than or equal to 60 for an in-
terval of 240 minutes: # /usr/sbin/defragcon -q -t 60 -T 240
EXIT VALUES
The utility returns a zero on success. Otherwise, it returns a 1 and
an error diagnostic.
FILES
The command's path. The path of the defragment utility.
RELATED INFORMATION
Commands: crontab(1), cron(8), defragment(8) delim off
defragcron(8)