What Is the Command to Start Mining Again
Useful Hive OS and Linux Commands in Simple Words
You lot may not believe this at the moment, but making your first steps in mining is not as complicated as it seems to be from the first sight. Life of a miner can be hard, but there is a reliable style to simplify it. Only try some of the commands we listed below, they will help you to configure your miners, find diverse problems (with Nvidia, for example) and facilitate the usage of the system in full general. Using them, you lot will be able to bargain with dissimilar tasks much faster and easier.
Simple Commands
Let's kickoff with the nuts earlier moving to something more complicated. Hither are some general Hive and Linux commands you may need:
- agent-screen. Use information technology to encounter the Hive client agent. When yous decide to exit, press Ctrl+A, D.
- firstrun -f. This will help you in case y'all demand a rig ID and password again.
- mc. That'due south a file manager similar Norton Commander, just for Linux.
- selfupgrade. This control will upgrade the organization. Instead of using it, you lot can likewise hit a push button on the spider web — the issue will be the same.
- sreboot. If yous utilize this control, everything will reboot immediately.
- sreboot shutdown. Do you need an immediate shutdown? Then this command is exactly what you lot are looking for.
Miners
In turn, these commands will help you lot to deal with miners:
- miner. Try this command to see the running miner screen. When you decide to exit, press Ctrl+A, D.
- miner offset, miner stop. Everything is simple here, these commands start and end the currently configured miner.
- miner log, miner config. Obviously, these commands allow to check the log and miner configuration.
System logs
Here are 2 tricks on working with the system log:
- dmesg. This 1 will evidence you system messages and boot log.
- tail -northward 100 /var/log/syslog. Wanna see the last 100 lines from the organization log? So effort this control.
Network
And, obviously, here are several network "lifehacks" you should know about:
- ifconfig. Use it to see the network interfaces.
- iwconfig. Looking for wireless adapters? This command volition testify them to you.
Advanced Commands
And now it's time for more advanced commands which you lot may need to complete some specific tasks.
Status / Diagnose
Regular diagnostics is crucial for a "healthy" mining life. Learn how to do information technology:
- agent-screen log. This command will evidence you lot logs of various parts of the Hive agent. You can also try log1 and log2.
- how-do-you-do. We know you are a polite person, so say hi to the server! This will let y'all to refresh IP addresses, configs, etc. This command is normally run automatically during the startup.
- cyberspace-test. Try this command to check and diagnose your network connection.
- timedatectl. Use information technology to run into the time and date synchronization settings.
- top -b -n 1. If you use this command, you will come across the list of all the processes.
- wd status. Do you demand to encounter the hashrate watchdog condition and log? Hither yous go.
AMD
Try these commands to bargain with advanced micro devices, or AMD, if short:
- amd-info. Use this control to see data regarding all AMD cards (don't worry, the format is very user-friendly). For extended info, utilise amdmeminfo.
- amdcovc. This command volition show y'all current frequencies for all AMD cards.
- wolfamdctrl -i 0- -testify-voltage. Use it to see the voltage table for AMD GPU #0.
Nvidia
Hither come some useful commands for detecting Nvidia problems, solving them, and then on:
- journalctl -p err | grep NVRM. If there are any recent Nvidia GPU errors, this command volition testify them to you.
- nvidia-smi. Employ this control to check the Nvidia cards info. For extended information, go for nvidia-info.
- nvidia-commuter-update 430. Are you going to download and install the latest driver from series 430.*? Then use this control to speed the process up.
- nvidia-commuter-update --nvs. Apply information technology to reinstall Nvidia settings.
- nvtool- - clocks. This command allows to see core/mem clocks for all Nvidia GPUs.
- nvidia-info Use this command to see information regarding all Nvidia cards (don't worry, the format is very user-friendly). For extended info, use nvidiainfo.
Hardware
Acquire how to simplify dealing with GPU, CPU and other hardware stuff:
- gpu-fans-detect. In case y'all need to find a certain GPU, employ this control to spin the fans from the starting time GPU to the concluding. The search will get much easier.
- sensors. Try this command to run into the voltage and temperature readings of the motherboard and CPU.
- sreboot wakealarm 120. Apply information technology to shut PSU down and boot information technology over again in 120 seconds.
- /hive/opt/opendev/watchdog-opendev power. This will send the ability command to OpenDev watchdog.
- /hive/opt/opendev/watchdog-opendev reset. This will send the reset command to OpenDev watchdog
Upgrade / Install
Complete upgrade and installation processes without any issues and hesitations:
- disk-expand -southward. This command will allow you to aggrandize the electric current Linux partition in order to make full the remaining bulldoze space.
- hpkg list miners. You will meet the installed miners. If you lot want to delete all of them, go for hpkg remove miners.
- nvidia-commuter-update --remove. With this command yous will remove all the downloaded Nvidia driver packages except the currently installed.
- selfupgrade --force. Logically, this control initiates the forced upgrade of the system. This can help in case the script says Hive is upwardly to date, but really it isn't.
Logs
Manage the logs quickly and easily:
- journalctl -u hive- -no-pager. This command shows the Hive service kicking log.
- journalctl -u hivex- -no-pager. And with this one, you will run into the log of the Ten server (graphical user interface).
- logs-on. If you use it, all logs will exist saved to the deejay and stay absolutely safe even during the reboots.
- logs-off. This allows saving all logs to RAM in social club to reduŃe the USB flash drive wear. Go on in mind that this command is running by default.
- log='/var/log/syslog'; gzip -c9 "$log" | base64 -westward 0 | message file "$(basename "$log")" payload. And, finally, this command allows sending /var/log/syslog file to the dashboard.
How to Run a Control
After going through the list of commands, you may want to ask a logical question: how actually to run any of them? There are five ways to practise this:
- Via the Run Command icon on the panel;
- Via remote console Hive Vanquish or Teleconsole;
- Via web console ShellInABox;
- By connecting to the rig via an IP address. You can do this with any SSH client (for instance, PuTTY);
- Via local console (for example, your keyboard or rig).
3 Little Shortcuts
Apart from commands, you can also use these keyboard shortcuts to make your mining life a scrap more convenient:
- Ctrl+C. This combination stops any running command.
- Ctrl+A, D. Utilise this control to get out of the screen (miner or agent). The screen volition remain working.
- Ctrl+A, Space or Ctrl+A, 1,ii,3. With this combination, you can easily switch between screens if you accept a 2d miner running, for instance.
So, now it's time to put the cognition into do — use these commands to make your life easier. And stay tuned to "upgrade" yourself, we will share a lot of other useful tips and tricks in our side by side articles.
Sign up to get the latest news and updates: Twitter and Telegram!
thompsonpriketelle86.blogspot.com
Source: https://medium.com/hiveon/useful-hive-os-and-linux-commands-in-simple-words-2f855247fcbc
0 Response to "What Is the Command to Start Mining Again"
Post a Comment