How to define more that one password for multiple mining pool servers?

Sometimes one wants to define multiple failover pools, and some of these may require a password.

However, when writing the (long) command line in the shell the password will be set equal for both. If the password cannot be the same in all pools then, the only way to define more than one password is by creating a configuration file. This is also very handy when the line is long.

You can read the FAQ about creating a configuration file. Yet, we repeat here a little with focus on how to define two passwords.

1. Add --write-config to your command line, and run. (add your information):

miniz.exe --par=192,7 --pers=auto [email protected]:2144 --pass x1 [email protected]:2144 --pass x2 --write-config

miniZ will create miniZ.conf file…with both pass equal. You’ll need to edit the file and correct it.

Note that if you want to give it a different name, then add filename.conf to command line, right after the --write-config:

miniz.exe --par=192,7 --pers=auto [email protected]:2144 --pass x1 [email protected]:2144 --pass x2 --write-config filename.conf

2. Open your config file with a text editor. Go to “Servers”, and edit/correct the “pass” as you need, and save.

3. Then you’ll only need to run miniZ with --read-config.

If you want to read from the default file name:

miniZ.exe --read-config

or if you want to read from another file:

miniZ.exe --read-config filename.conf

Happy mining!

How to create and use a configuration file?

Setting up a configuration file can be quite useful. This is particularly true when the command line is very long and you want to modify it often, then it is easier to create and edit a simple file where the information can be more organised.

To create a configuration file with miniZ, you can write it from scratch, however you can also write the long command line once , adding --write-config  to it, and run. Ex:

 miniz.exe --algo=150,5,3 --url=ssl://[email protected]:3333 --pass x1 --url=ssl://[email protected]:3333 --pass x2 --write-config

miniZ will create miniZ.conf file. If you want to give it a different name add filename.conf to command line, right after the --write-config:

miniz.exe --algo=150,5,3 --url=ssl://[email protected]:3333 --pass x1 --url=ssl://[email protected]:3333 --pass x2 --write-config filename.conf

You can open the file with a text editor to see how it looks like. You can also edit the file as needed.

Finally, you’ll only need to run miniZ with --read-config. ūüôā

If you want to read from the default file name:

miniZ.exe --read-config

or if you want to read configurations from another file:

miniZ.exe --read-config filename.conf

 

Saving ocX best mode to configuration file.

In case you want to save the result of running ocX to the configuration file, you’ll need to proceed as above and write the command line with --write-config at the end (do not forget you can add a filename, read above):

miniz.exe --algo=150,5,3 --url=ssl://[email protected]:3333 --pass x1 --url=ssl://[email protected]:3333 --pass x2 --ocX --write-config

However, now you will see the program run and start ocX. When ocX ends, miniZ will save the best mode to the configuration file. (It will also keep running with the best mode.)

If you run miniZ with that config file, it will start applying the saved mode to the GPU.

 

For other command line arguments check Usage page.

Happy mining!

How to save all statistics to filename in CSV format?

From v1.5q you can save statistics to an csv format.

Define the desired csv filename by adding --csv [filename] to your command line. This will create a file with data separated by commas.

The data you’ll find in the csv file:

* Run time information: run_time,unix_time,human_time,

* Mining pool: mining_pool,

* Personalisation string: pers_string,

* Shares information (total, for rig): sum_shares_ok,sum_shares_stale,sum_shares_invalid,

* Ping information: ping,

* User pool and fee servers share: pool.server,fee.server,

* I/s, Sol/s, Sol ratio information (total, for rig):  sum_Is,sum_Is_avg,sum_Sols,sum_Sols_avg,sum_solratio,

* Power information (total, for rig): sum_power,sum_power_avg,

* Information per GPU (#GPU number 1,2,3…): pcibus_1,gpuname_1,shares_ok_1,shares_stale_1,shares_invalid_1,temperature_1,fan_speed_1,clock_1,mem_clock_1,iterations_1,iterations_avg_1,sols_1,sols_avg_1,solratio_1,power_1,power_avg_1,sol_watt_1

Happy mining!