defragcron - Schedules AdvFS file domains for defragmenting
/usr/sbin/defragcron [-p] [-q] [-t nnn] [-b hh:mm] [-a hh:mm] [domain...]
/usr/sbin/defragcron [-p] [-q] [-t nnn] [-T mm] [domain...]
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 defragment the domain.
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.
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).
You must have root user privileges to run this utility.
All restrictions for the
utility are in
effect for the
The utility returns a
(zero) on success.
Otherwise, it returns a
and an error diagnostic.
The following example defragments all active domains that have an aggregate I/O performance threshold less than or equal to 60 for an interval of 240 minutes: # /usr/sbin/defragcon -q -t 60 -T 240
The command's path.
The path of the
Commands: crontab(1), cron(8), defragment(8)