# Disk Usage Analyzer Manual

## 소개

Disk Usage Analyzer is a graphical, menu-driven application to analyze disk usage in any MATE environment. Disk Usage Analyzer can easily scan either the whole filesystem tree, or a specific user-requested directory branch (local or remote).

It also auto-detects in real-time any changes made to your home directory as far as any mounted/unmounted device. Disk Usage Analyzer also provides a full graphical treemap window for each selected folder.

## 시작하기

Disk Usage Analyzer can be started in three ways:

- from MATE menu Applications Accessories;

- from a terminal window;

- from Caja "Open with..." ;

If you want to start Disk Usage Analyzer from a terminal window, just type:

`mate-disk-usage-analyzer <full_path_to_a_directory>`, then press Return.

If launched from MATE menu, Disk Usage Analyzer starts and remains in a stand-by state, waiting for user action.

When you start Disk Usage Analyzer from the MATE Menu, the following window is displayed.

### Disk Usage Analyzer Window

디스크 사용량 분석기 기본 창을 표시합니다. 메뉴 표시줄, 디스플레이 영역, 스크롤바 및 상태 표시줄을 포함합니다.

The user can then:

- start a full filesystem scan;

- select a specific local directory branch to scan

- select a remote server and folder to scan

- set preferences

## 사용법

### Full filesystem scan

To start a full filesystem scan select Analyzer Scan Filesystem from the menu, or press on the Scan Filesystem toolbar button.

검색 프로세스가 완료되면 다음 그림에서와 같이 파일 시스템의 전체 트리가 표시됩니다.

#### Disk Usage Analyzer Full filesystem scan

디스크 사용량 분석기 전체 파일 시스템 검사 창을 표시합니다. 메뉴 표시줄, 디스플레이 영역, 스크롤바 및 상태 표시줄을 포함합니다.

When you run a full filesystem scan, Disk Usage Analyzer window will start drawing the tree as soon as the thread starts scanning the filesystem. If any large partition is mounted on the filesystem, that will be scanned too.

Disk Usage Analyzer will display sizes in the directory tree as allocated space. This means that the displayed sizes refer to the actual disk usage and not to the apparent directory size. If you want to view the apparent file size, uncheck View Allocated Space .

Disk Usage Analyzer will not count the /proc dir, nor any file size that is not related to a "plain" file, so symlinks, character blocks, device blocks will not be part of the directory size.

Hard-links are managed in a different way: this first hardlink is counted as a normal file, while the subsequent links to the same inode device are not counted in the total, but highlighted in the right-hand column of the window.

### Single folder scan

To start a single folder scan select Analyzer Scan Folder... from the menu, or press on the Scan Folder toolbar button.

### Remote scan

If you need to scan a remote server-folder, just click on the toolbar icon Scan Remote Folder or select Analyzer Scan Remote Folder from the menu and you will get the following dialog box. Disk Usage Analyzer can connect to a server through ssh, ftp, smb, http and https.

#### Disk Usage Analyzer Remote folder scan

디스크 사용량 분석기 원격 폴더 대화 상자 창을 표시합니다.

## 기본 설정

To change the Disk Usage Analyzer application preferences, choose Edit Preferences.

### Disk Usage Analyzer Preferences Window

기본 설정 창

### Select devices to be scanned

In the first part of the Preferences window, all detected mounted devices are listed. Click on the checkbox to include/exclude the partition into the filesystem scanning operations.

The device mounted on "/" cannot be excluded from the scan.

### Enable monitoring of home

If this option is checked, Disk Usage Analyzer will constantly monitor any external changes to home directory and warn the user if a file is added/removed.

## 트리맵

Treemap concepts have been developed by Ben Shneiderman in the '90s. Read his vision on treemaps.

### 디스크 사용량 분석기 트리맵 창

트리맵의 이론. 트리맵 다이어그램 2개 표시

Figure shows an example of treemap's theory. Each node (as shown in the tree diagram) has a name (a letter) and an associated size (a number). The size of leaves may represent for instance the size of individual files, the size of non-leaf nodes is the sum of the sizes of its children.

트리맵은 초기 사각형의 재귀 세분분할을 통해 구성됩니다. 각 하위 사각형의 크기는 노드크기에 해당합니다. 세분화 방향은 레벨마다 번갈아 나타납니다: 첫 번째 가로, 다음 세로로, 기타 등등. 그 결과, 초기 사각형이 더 작은 직사각형으로 분할되어 각 사각형의 크기가 잎의 크기를 반영합니다. 트리의 구조도 트리 맵에 반영되어 있습니다. 색상과 주석은 잎에 대한 추가 정보를 제공하는 데 사용될 수 있습니다.

Treemaps are very effective when size is the most important feature to be displayed.

## Ringschart

Ringschart is a graphical representation of the disk usage by a concrete folder. When launching the application, it is notified the usage of the file system as it can be seen in the next figure:

### Disk Usage Analyzer showing a ringschart with the file system usage

응용 프로그램을 시작한 후 파일 시스템 사용량이 표시됩니다. 오른쪽의 그래픽 표현입니다.

폴더 검색을 시작하면 하위 폴더의 트리가 만들어지고 왼쪽에 나열됩니다. 각 행에는 이름, 차지하는 공간(KB, MB 또는 GB의 백분율 및 크기) 및 항목 수(파일 및 디렉터리 추가)에 대한 정보가 포함됩니다. 이 프로세스가 완료되면 오른쪽에 링차트가 그려집니다. 완료하기 전에 중지하면 사용량이 계산된 디렉터리를 기준으로 부분 표시만 수행됩니다.

### Disk Usage Analyzer showing a ringschart with the usage of a folder

폴더를 스캔한 후.

The Ringschart is composed of a set of nested rings around a central circle. This circle symbolizes the root folder of the partial tree (that is, the folder that the user has selected for scanning). Each ring represents a level in the partial tree, so i.e. the subfolders of the root folder will be represented in the first ring, and deeper levels in the tree correspond to outer rings in the chart. Each subfolder is represented by a sector of the ring, its angle being proportional to the size of the folder's contents, and painted with a different color to ease visualization. Up to five levels can be drawn; in case that a folder in that last fifth level contains even more subfolders, this situation will be pointed by the presence of a black curve close to the edge of that folder's ring sector. When a folder with no further subfolders is selected to be the root of the partial tree, only the inner circle will be drawn. When the mouse pointer hovers one of the folders in the graphic, it will be highlighted and a tooltip will appear with information about its name and size. If there are any subfolders, small gray tooltips will appear, indicating their names. It's possible that not all of the subfolders' names are displayed, to avoid overlappings.

You can go up and down the rows in the list (optionally expanding those with subfolders), the graphic representation will change using the selected folder as the root of the partial tree to be represented. The folders can also be navigated from the ringschart itself. If you click with the left button of your mouse inside a folder, you'll move deeper by setting the root of the graphic to that folder. If you press the middle button (no matter the place as long as you click inside the ringschart frame) you'll get the opposite behavior, going back one step in the hierarchy.

The percentage of its parent's radius that is used by a given folder is directly proportional to the relation between its own size and its parent's. It's easy to understand that the size of a folder is equal or smaller than its parent's. Although only directories are shown in this graphical representation, files are taken into account to calculate the amount of space occupied by folders.