Product manual

135
Management with CLI
defrag
Usage
defrag[-a<action>]-n<FSNAME>-d<dir/le>[-t<type>][-s<tftpServer>]
[-f<leName>][-p<port>]
Summary
It can be used to start or stop le or directory defragmentation or fragmentation level
calculation as well as to view the progress of defragmentation or fragmentation level
calculation.
For frag level calculation is background activities, after it nished, the calculation result le
will be exported to a TFTP server. -s/-f/-p options are needed for start fragmentation level
calculation.
Options
-a<action> Specifywhichactiontoperform.
list (Default)Displaysdefragmentationprogressorfraglevel
calculation.
start Startlesystemdefragmentationorfragmentationlevel
calculation.
stop Stoplesystemdefragmentationorfragmentationlevel
calculation.
-t<type> Specifyfragmentationordefragmentationtype.
Onlyvalidforstartaction.
defrag (Default)Defragmentation
frag Fragmentationlevelcalculation
-n<FSName> FileSystemName
Examples
ctrl ctrl -v ctrl -l
ctrl -a mod -i 1 -s “alias=ctrl1, coercion=enable”
Examples
date
date -a mod -d 2004/02/25 -t 14:50:05