Metadium Tech (ENG)
  • Navigation
    • Metadium Overview
    • Metadium Tech (ENG)
    • Metadium Tech (KOR)
  • METADIUM Info
    • Architecture
    • Network Structure
    • Consensus
    • Smart Contract
    • DID
    • EIP-1559
    • Fee Delegation
    • Roadmap
  • Developer
    • Node Start
      • gmet Binary
      • gmet Guide
      • Connect Node
      • Account
    • Install Node
      • End Node
        • Requirements
        • Install Gmet
      • BP Node
        • Requirements
        • Install Gmet
  • Smart Contract
    • Solidity
    • Precompiled Contracts
    • Sample Contracts
  • API Reference
    • API Info
    • Json-RPC
    • Explorer API
      • Accounts
      • Blocks
      • Contracts
      • Transactions
      • Event logs
      • Tokens
  • Wallet
    • Wallet Info
    • Fee
  • FAQ
  • Articles of Foundation
Powered by GitBook
On this page
  • Start
  • Stop
  • Restart
  • Delete Chaindata
  • Connect Console
  • Log
  1. Developer
  2. Node Start

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.

$GMET_HOME/bin/gmet.sh start

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)
Previousgmet BinaryNextConnect Node

Last updated 1 year ago