Metadium Tech (KOR)
  • 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

Metadium 클라이언트 노드인 gmet의 binary 파일을 이용하여 간단하게 제어할 수 있는 가이드를 설명합니다.

Start

gmet을 build한 후 script를 이용하여 실행하는 명령어입니다.

  • gmet을 실행하면, 10MB Size의 Log File이 설정한 디렉토리에 저장되며, 최대 6개까지 저장합니다. 단, 저장 개수는 gmet.sh에서 변경이 가능합니다.

$GMET_HOME/bin/gmet.sh start

Stop

gmet을 멈추는 명령어입니다.

$GMET_HOME/bin/gmet.sh stop

Restart

gmet을 재시작 하는 명령어입니다.

$GMET_HOME/bin/gmet.sh restart

Delete Chaindata

gmet의 Chaindata를 삭제하는 명령어입니다.

$GMET_HOME/bin/gmet.sh wipe

Connect Console

gmet의 JavaScript Console에 접속하는 명령어입니다.

$GMET_HOME/bin/gmet.sh console

Log

gmet의 상태를 파악하기 위한 명령어입니다.

tail -F $GMET_HOME/logs/log

Log Level은 1~5로 나누어져 있으며, 기본 값은 3입니다. 로그 레벨을 변경하기 위해서는 gmet Console에 접근하여 명령어를 실행합니다.

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