Controlling/monitoring Minerator

Our Minerator package install Minerator as a system service. The following commands can be used to configure, control and monitor the Minerator service.

  1. Minerator can be reconfigured by running allmine_config or dpkg-reconfigure minerator

  2. Controlling the Minerator service
    Start Minerator, does nothing if Minerator is already started.
    systemctl start minerator

    Stop Minerator, does nothing of Minerator is already stopped.
    systemctl stop minerator

    Restart Minerator if it was started, starts Minerator if it was stopped.
    systemctl restart minerator

    Enable Minerator service to start automatically on boot. Does nothing if Minerator is already enabled on boot.
    systemctl enable minerator

    Disable Minerator from starting on boot. Does nothing if Minerator is already disabled on boot.
    systemctl disable minerator

    Show status and last log messages from Minerator service.
    systemctl status minerator

  3. Minerator web status
    Minerator will start a web server with status on port 80 on you mining machine. Connect to your mining machine with a web browser to get status on what Minerator is doing. My mining machine is at IP 192.168.1.112 so I type that in my browsers address bar. If you don't know your IP address you can find out by reading step 3 in the guide here.

    Here is an example of status output for 3 BCU1525 mining Lyra2z,

    webstatus1.PNG
    webstatus2.PNG
  4. Minerator log file
    If you want to look at what Minerator is doing in text you can follow the log file with the tail command. Ctrl-c will exit tail but leave Minerator running.
    tail -f /var/log/minerator.log

    To freely move around in the log you can instead use the less command, 'q' will quit less, /searchterm will search in the file and 'n' will go to next item found by the previous search.
    less /var/log/minerator.log

 

 


If you need any assistance feel free to submit a ticket or contact us in the #allmine-inc channel on the fpga discord https://discord.gg/PKGtx8b

Allmine support team