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 startStop
Command to stop gmet.
$GMET_HOME/bin/gmet.sh stopRestart
Command to restart gmet.
$GMET_HOME/bin/gmet.sh restartDelete Chaindata
Command to delete gmet’s Chaindata.
$GMET_HOME/bin/gmet.sh wipeConnect Console
Command to access gmet’s JavaScript Console.
$GMET_HOME/bin/gmet.sh consoleLog
Command to check the status of gmet.
tail -F $GMET_HOME/logs/logThe 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)Last updated