golemsp help without arguments to see top-level usage information:
$ golemsp helpgolemsp 0.7.2 (499de901 2021-07-08 build #160)User friedly CLI for running Golem ProviderUSAGE:golemsp <SUBCOMMAND>FLAGS:-h, --help Prints help information-V, --version Prints version informationSUBCOMMANDS:run Run the golem providerstop Stop the golem providersettings Manage settingsstatus Show provider statushelp Prints this message or the help of the given subcommand(s)
golemsp run - Start the Golem provider. It uses
mainnet as a payment platform by default.
golemsp run --help to see more options.
$ golemsp settingsgolemsp-settings 0.2.0Manage settingsUSAGE:golemsp settings <SUBCOMMAND>FLAGS:-h, --help Prints help information-V, --version Prints version informationSUBCOMMANDS:set Change settingsshow Show current settingshelp Prints this message or the help of the given subcommand(s)
golemsp settings set --help - to see how to change settings. Invoking this will prompt usage, flags, and options.
$ golemsp settings set --helpgolemsp-settings-set 0.2.0Change settingsUSAGE:golemsp settings set [OPTIONS]FLAGS:-h, --help Prints help information-V, --version Prints version informationOPTIONS:--node-name <node-name>--cores <num> Number of shared CPU cores--memory <bytes (like "1.5GiB")> Size of shared RAM--disk <bytes (like "1.5GiB")> Size of shared disk space--starting-fee <GLM (float)> Price for starting a task--env-per-hour <GLM (float)> Price for working environment per hour--cpu-per-hour <GLM (float)> Price for CPU per hour--account <account> Account for payments [env: YA_ACCOUNT=]--payment-network <network> Payment network [env: YA_PAYMENT_NETWORK=] [default: mainnet][possible values: mainnet, rinkeby]
In order to change a particular setting (for eg. price settings) type:
golemsp settings set --cpu-per-hour 3
You can also combine multiple settings in one command as follows:
golemsp settings set --cpu-per-hour 3 --cores 7 which will change your GLM per hour to "3" and adjust the numbers of shared CPU cores to "7".
To change the default Ethereum address that was created for you during the initial setup process type:
golemsp settings set --account <address>
and restart your node afterwards for it to update. To check if your address has been updated properly run
golemsp settings show - Show current settings.
$ golemsp settings shownode name: "friendly-winter"Shared resources:cores: 7memory: 10.597366839647291 GiBdisk: 138.55942993164064 GiBPricing:0 GLM for start0.02 GLM per hour0.1 GLM per cpu hour
golemsp status - Print out the status of your node.
When the node is not running you'll see:
$ golemsp status┌─────────────────────────────┐│ Status ││ ││ Service is not running ││ Version 0.7.2 ││ Commit 499de901 ││ Date 2021-07-08 ││ Build 160 ││ ││ Node Name awesome-summer ││ Subnet public-beta ││ VM valid │└─────────────────────────────┘
When your node is already running
golemsp status will show:
$ golemsp status┌──────────────────────────────────────────────┐│ Status ││ ││ Service is running ││ Version 0.7.2 ││ Commit 499de901 ││ Date 2021-07-08 ││ Build 160 ││ ││ Node Name awesome-summer ││ Subnet public-beta ││ VM valid │├──────────────────────────────────────────────┤│ Wallet ││ 0xc8e9d25c61706b4bdbd6029de9b40bfa45f77fba ││ ││ network mainnet ││ amount (total) 0 GLM ││ (on-chain) 0 GLM ││ (zk-sync) 0 GLM ││ ││ pending 0 GLM (0) ││ issued 0 GLM (0) │├──────────────────────────────────────────────┤│ Tasks ││ ││ last 1h processed 0 ││ last 1h in progress 0 ││ total processed 1 │└──────────────────────────────────────────────┘
In the three columns, you can check the basic information regarding the status of your node
Whether your node is running
Version of your node (with commit, build date and build number)
Name of your node
Subnet in which your node is currently running
Amount of tokens that you have earned for successful computation
Pending payments that you should receive for computation
Amount of tokens that is still unconfirmed and may not show on your account
Number of tasks that you were computing in last hour
Number of tasks that were in progress during the last hour
Total task that you were trying to compute - including those that were not computed