четверг, 30 декабря 2010 г.

JKDefrag (утилитки, примочки)

Неплохая и полезная утилитка, которой периодически пользуюсь (-вался) на разных компьютерах и в разных местах :) Называется JKDefrag. Странно, но задача программы совпадает с ее названием (ведь подобное нечасто бывает? :)), это обычный дефраг. В поставку входит хороший набор - экзешник для GUI, еще один консольный, ну и третий модуль выполнен файлом с расширением scr и запускается как обычный скринсейвер, что тоже не может не радовать админов. Программа внешне минималистична, рюшки и оборочки отсутствуют как класс, но свои функции выполняет. Ведет подробный лог. Вот консольные ключи:

JkDefragCmd.exe [-a N] [-e "mask"] [-s N] [-f N] [-d N] [-l "filename"] [items]

-a N Select an action to perform. The number N is a value from 1 to 6,
  default is 3:
  1 = Analyze only, do not defragment and do not optimize.
  2 = Analyze and defragment, do not optimize.
  3 = Analyze, defragment, and fast optimization (default).
  4 = Analyze, defragment, and full optimization.
  5 = Analyze and force together, do not defragment.
  6 = Analyze, defragment, and move to end of disk.
-e "mask"
  Exclude files or directories that match the mask. The files will not
  be defragged and will not be moved. Use wildcards '*' and '?' in the
  mask to match a set of files or directories. If the mask contains a
  space then it must be enclosed in double-quotes. Some examples:
  "*.avi", "*\w3svc*\*.log", "D:\MySQL\Data".
-s N Slow down to N percent (1...100) of normal speed. Default is 100.
-f N Set the size of the free space to N percent (0...100) of the size of
  the disk. The free space is an empty area at the beginning of the
  volume for temporary files. Default is 1.
-d N Select a debug level, controlling the messages that will be written
  to the logfile. The number N is a value from 0 to 5, default is 1:
  0 = Fatal errors.
  1 = Warning messages [default].
  2 = General progress messages.
  3 = Detailed progress messages.
  4 = Detailed file information.
  5 = Detailed gap-filling messages.
  6 = Detailed gap-finding messages.
-l "filename"
  Specify a filename for the logfile. Default is "defrag.log" and
  "windefrag.log". Specify empty string "" (two double-quotes) to
  disable the logfile.
-h Show this help message.
-help Show this help message.
--help Show this help message.
/? Show this help message.
items The items to be defragmented, the path to a file, directory, disk,
  mountpoint, or volume, including removable media such as floppies,
  USB disks, memory sticks, and other volumes that behave like a
  harddisk. Wildcards '*' and '?' are allowed to select a set of files.
  If the item contains a space then it must be enclosed in double-
  quotes. Some examples: "C:", "D:\MySQL\Data", "F:\*.log"

Здесь все понятно, не правда ли? Набор хороший, опции на уровне.

У меня пристрастие к консольным утилитам, как и у многих олдфагов :) Зачастую это удобнее чем гуй, полезнее и производительнее. Хотя, конечно, зависит от задачи.

Остается добавить, что данный софт бесплатен (Free GNU software), что тем более радует.
Где скачал на этот раз, не помню, но в инете ссылок полно.

Комментариев нет:

Отправить комментарий