golemsp help without arguments to see top-level usage information:
$ golemsp helpgolemsp 0.6.4 (4fc72117 2021-04-15 build #135)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.
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 runnig you'll see:
$ golemsp status┌──────────────────────────────┐│ Status ││ ││ Service is not running ││ Version 0.6.4 ││ Commit 4fc72117 ││ Date 2021-04-15 ││ Build 135 ││ ││ Node Name friendly-winter ││ Subnet public-beta ││ VM valid │└──────────────────────────────┘
When your node is already running
golemsp status will show:
$ golemsp status┌───────────────────────────────────────────────────┐│ Status ││ ││ Service is running ││ Version 0.6.4 ││ Commit 4fc72117 ││ Date 2021-04-15 ││ Build 135 ││ ││ Node Name friendly-winter ││ Subnet public-beta ││ VM valid │├───────────────────────────────────────────────────┤│ Wallet ││ 0x979db95461652299c34e15df09441b8dfc4edf7a ││ ││ network mainnet ││ amount (total) 29.850818924744477818 GLM ││ (on-chain) 3.727634841182177818 GLM ││ (zk-sync) 26.1231840835623 GLM ││ ││ pending 0 GLM (0) ││ issued 0 GLM (0) │├───────────────────────────────────────────────────┤│ Tasks ││ ││ last 1h processed 0 ││ last 1h in progress 0 ││ total processed 211 │└───────────────────────────────────────────────────┘
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