# Manual de Analizador del uso del disco

## Introducción

Analizador del uso del disco es una aplicación gráfica, basada en menús, para analizar el uso de los discos en cualquier entorno MATE. Analizador del uso del disco puede explorar fácilmente todo el árbol del sistema de archivos o una rama de carpetas específica solicitada por el usuario (local o remota).

También detecta automáticamente en tiempo real cualquier cambio que se haga en la carpeta personal incluyendo dispositivos montados o desmontados. Analizador del uso del disco también proporciona una ventana con un gráfico de árbol completo para cada carpeta seleccionada.

## Cómo empezar

Analizador del uso del disco puede iniciarse de tres maneras:

- desde el menú MATE Aplicaciones Accesorios;

- desde la ventana del terminal;

- desde «Abrir con...» de Caja;

Si quiere iniciar Analizador del uso del disco desde la ventana del terminal, escriba:

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

Si lo inicia desde el menú MATE, Analizador del uso del disco se inicia y permanece en espera, hasta que el usuario realiza una acción.

Cuando se inicia Analizador del uso del disco desde el menú MATE, aparece la ventana siguiente.

### Ventana de Analizador del uso del disco

Muestra la ventana principal de Analizador del uso del disco. Contiene una barra de estado, un área de visualización, barras de desplazamiento y una barra de estado.

Entonces el usuario puede:

- iniciar una exploración completa del sistema de archivos;

- seleccionar una rama específica de la carpeta local para explorar

- seleccionar un servidor remoto y una carpeta para explorar

- configurar las preferencias

## Uso

### Exploración completa del sistema de archivos

Para iniciar una exploración completa del sistema de archivos seleccione Analizador Explorar el sistema de archivos en el menú o pulse el botón Explorar el sistema de archivos en la barra de herramientas.

Cuando el proceso de exploración finalice, obtendrá el diagrama completo de su sistema de archivos, como el que aparece en la imagen siguiente.

#### Exploración completa del sistema de archivos en Analizador del uso del disco

Muestra la ventana de exploración completa del sistema de archivos de Analizador del uso del disco. Contiene la barra de menú, el área de visualización, las barras de desplazamiento y la barra de estado.

Cuando realice una exploración completa del sistema, la ventana de Analizador del uso del disco comenzará a mostrar el gráfico en cuanto la cadena empiece a explorar el sistema de archivos. Si hubiera una partición montada en el sistema de archivos, también se exploraría.

Analizador del uso del disco mostrará los tamaños en el árbol de carpetas según el espacio asignado. Esto quiere decir que los tamaños mostrados hacen referencia al uso real del disco y no al tamaño aparente de la carpeta. Si quiere ver el tamaño aparente del archivo, desmarque Ver Espacio asignado .

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.

### Exploración de una sola carpeta

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

### Exploración remota

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

Shows Disk Usage Analyzer remote folder dialog window.

## Preferencias

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

### Disk Usage Analyzer Preferences Window

Preferences window

### Seleccionar los dispositivos que se van a explorar

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.

## Treemaps

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

### Disk Usage Analyzer Treemap Window

Treemap's theory. Shows 2 treemap diagrams

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.

The treemap is constructed via recursive subdivision of the initial rectangle. The size of each sub-rectangle corresponds to the size of the node. The direction of subdivision alternates per level: first horizontally, next vertically, etcetera. As a result, the initial rectangle is partitioned into smaller rectangles, such that the size of each rectangle reflects the size of the leaf. The structure of the tree is also reflected in the treemap, as a result of its construction. Color and annotation can be used to give extra information about the leaves.

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

After launching the application, it is showed the file system usage. Graphical representation on the right.

When you start scanning a folder, the tree of subfolders is created and listed on the left side. Each row contains information for the name, how much space it is taking up (percentage and size in KB, MB or GB) and the number of items (adding files and directories). When this process ends up, the Ringschart is drawn on the right side. If you stop it before it has been completed, only a partial representation is done based on the directories whose usage was computed.

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

After scanning 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.