> For the complete documentation index, see [llms.txt](https://docs.metadium.com/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metadium.com/en/developer/node-start/gmet-guide.md).

# gmet Guide

Here is a guide explaining how to easily control the Metadium client node, gmet, using its binary file:

### Start

The command to execute using a script after building gmet.

* When running the gmet, a log file of size 10MB will be stored in the specified directory, with a maximum of 6 log files retained. However, the number of retained logs can be changed in gmet.sh.

<pre><code><strong>$GMET_HOME/bin/gmet.sh start
</strong></code></pre>

### Stop

Command to stop gmet.

```
$GMET_HOME/bin/gmet.sh stop
```

### Restart

Command to restart gmet.

```
$GMET_HOME/bin/gmet.sh restart
```

### Delete Chaindata

Command to delete gmet’s Chaindata.

```
$GMET_HOME/bin/gmet.sh wipe
```

### Connect Console

Command to access gmet’s JavaScript Console.

```
$GMET_HOME/bin/gmet.sh console
```

### Log

Command to check the status of gmet.

```
tail -F $GMET_HOME/logs/log
```

The Log Level is divided from 1 to 5, and the default value is 3. Access the gmet console and run the command to change the log level.

```
debug.verbosity({log_level})

//Log Level: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 3)
```
