HiveOS commands: Linux Commands for Beginners | Intermediate| Advance – Recently, the mining community has seen a massive transition to the Hive OS operating system, which has built-in software for mining a variety of cryptocurrencies on all popular pools. Also, users are attracted by the well-thought-out HiveOS web interface, which makes monitoring and administration of the work of rigs and ASICs insanely convenient and simple processes.
The first version of Hive OS was launched in the fall of 2017, while being a little more complex in terms of settings than what we have today. The Hive OS distribution is available for free download, but you will have to pay for using it in mining .
Installation of this system can be done both on a hard disk in HDD / SSD format and on a flash drive. Moreover, this is done in just a few simple steps, which even a beginner can cope with (if you have instructions at hand, for example, this article).
The reasons why you should choose Hive OS for mining, as well as details on downloading, installing and configuring this system are below.
agent-screen
– shows Hive OS client agent (to exit press Ctrl + A, D)
firstrun -f
– re-request the rig ID and password
mc
– file manager, similar to Norton Commander, but for Linux
selfupgrade
– updating Hive OS through the console, the same as clicking a button in the web interface
sreboot
– perform a forced reboot
sreboot shutdown
– perform forced shutdown
miner
– opens a window with a running miner (to exit, press Ctrl + A, D)
miner start, miner stop
– starts or stops the configured miner
miner log, miner config
– log / miner settings
dmesg
– show system messages, mainly to see the boot log
tail -n 100 /var/log/syslog
– show the last 100 lines from the system log
ifconfig
– show network interfaces
iwconfig
– show wireless adapters
Ctrl+C
– stop any running command
Switching between miner screens, disconnecting from the terminal:
Ctrl+A, D
– detach from the screen (miner or agent) to keep it running
Ctrl+A, Space or Ctrl+A, 1,2,3
– switching between screens if you have several miners running, etc.
agent-screen log
– show logs of different parts (you can use log1 and log2) of the Hive agent
hello
– “say hello” to the server: to update IP addresses, settings, and so on (usually done at startup)
net-test
– check and define network connection
timedatectl
– show time and date of sync settings
top -b -n 1
– show a list of all processes
wd status
– show status and log of hash-watchdog
amd-info
– show data on AMD cards
amdcovc
– show power data for AMD cards
amdmeminfo
– show memory data of AMD cards
wolfamdctrl -i 0 --show-voltage
– show voltage table for AMD video cards # 0
journalctl -p err | grep NVRM
– show the latest errors of Nvidia video cards
nvidia-info
– show advanced data on Nvidia cards
nvidia-driver-update
– update Nvidia drivers
nvidia-driver-update 430
– download and install the latest driver from the 430 series. *
nvidia-driver-update --nvs
– reinstall only nvidia-settings
nvidia-smi
– show data on Nvidia cards
nvtool --clocks
– show core / memory frequencies for all Nvidia video cards
gpu-fans-find
– Spin the GPU fans from the first to the last card to make it easier to find the GPU you want. You can specify the card number, then the fans will start on it. If the worker starts up correctly, it is quite easy to track which card corresponds to which bus. For example, if the GPU0 card has a 01: 00.0 bus and you want to find it, use the command gpu-fans-find 0
. This command will spin up the fans only on this card for a while. And so on, following the example.
sensors
– show voltage / temperature readings of motherboard and card
sreboot wakealarm 120
– turn off the power supply and start up after 120 seconds
/hive/opt/opendev/watchdog-opendev power
– emulation of pressing the power button via OpenDev watchdog
/hive/opt/opendev/watchdog-opendev reset
– emulation of pressing the restart button by means of OpenDev watchdog
disk-expand -s
– expand the Linux partition to fill the remaining disk space
hpkg list miners
– list of all installed miners
hpkg remove miners
– remove all miners
nvidia-driver-update --remove
– remove all downloaded Nvidia driver packages except the currently installed one
selfupgrade --force
– forced upgrade; this will help in a situation where selfupgrade reports that the Hive version is up to date, but in fact it is not
journalctl -u hive --no-pager
– show Hive OS boot log
journalctl -u hivex --no-pager
– show the X server log (graphical interface)
logs-on
– write all logs to disk, they will be saved after reboots
logs-off
– write all logs to RAM to reduce wear and tear on the USB stick (default)
log='/var/log/syslog'; gzip -c9 "$log" | base64 -w 0 | message file "$(basename "$log")" payload
– send the file / var / log / syslog to the control panel
Hive OS (Hive OS) is an operating system from the Linux family (based on Ubuntu) developed specifically for use in cryptocurrency mining . It contains many software solutions that greatly simplify the process of setting up and controlling the production of cryptocurrencies on popular GPU devices (farms and ASIC miners ).
Thanks to HiveOS, there is no need to alternately connect video cards (those who mine on Windows know what it is about), download, install and update various mining software and drivers, as well as edit many bat files.
This system supports Nvidia and AMD graphics accelerators, is not demanding on the resources of the hardware used (2 Gb of RAM is enough) and can work stably even with old AM2 / 774 sockets. At the same time, up to 19 video cards can be installed in one rig.
You may not believe it, but taking the first steps in mining is not as difficult as it seems at first glance. Life for a miner can be tough, but there is a surefire way to make it easier. Just try some of the commands we have listed below, they will help you set up your miners, detect various problems (for example, with Nvidia) and make it easier to use the system as a whole. Using them, you can solve various problems much faster and easier.
Let’s start with the basics before moving on to something a little more complex. Here are some common Hive and Linux commands you might need:
In turn, these commands will help you deal with the miners:
Here are two tricks for working with the syslog:
And obviously, here are some online life hacks you should know about:
And now it’s time for more complex commands that you may need to complete some specific tasks.
Regular diagnostics are critical to a healthy mining life. Find out how to do it:
Try these commands for advanced micro devices or AMD for short:
Here are some useful commands for detecting Nvidia problems, solving them, and so on:
Learn how to simplify your GPU, processor, and other hardware:
Complete update and installation of processes without any problem or hesitation:
Manage logs quickly and easily:
journalctl -u hive- -no-pager . This command shows the load log of the Hive service.
journalctl -u hivex- -no-pager . And with that you will see the X server log (graphical user interface).
logs-on . If you use it, all logs will be saved to disk and remain completely safe even during reboots.
logs-off . This keeps all logs in RAM to reduce wear and tear on the USB stick. Be aware that this command is executed by default.
log = ‘/ var / log / syslog’; gzip -c9 “$ log” | base64 -w 0 | message file “$ (basename“ $ log ”)” payload . Finally, this command allows you to send the / var / log / syslog file to the toolbar.
After examining the list of commands, you may be asking a logical question: how do you actually execute any of them? There are five ways to do this:
Besides commands, you can also use these keyboard shortcuts to make your mining life more convenient:
So now it’s time to put your knowledge into practice – use these commands to make your life easier. And stay tuned, we will share many more useful tips and tricks in our next articles.
Mining on RTX 3070. Overclocking, tuning, profitability, consumption: If you are interested in finding more…
Mining with GTX 1660, 1660 Ti, 1660 Super. Overclocking, settings, consumption, profitability, comparisons - If…
Mining with RTX 2070 and 2070 Super. Overclocking, profitability, consumption, comparison What the RTX 2070…
Mining with RTX 3060, 3060 Ti. Limitations, overclocking, settings, consumption, profitability, comparison Let's look at…
Alphacool Eisblock Aurora Acryl GPX-A (2022) with Sapphire Radeon RX 6950 XT Nitro+ Pure in…
In the ever-evolving landscape of business strategy, Bitcoin has emerged as a pivotal asset. With…
This website uses cookies.