Comments (13)
What's the usecase for that? Most miners run the applications in screen or tmux.
from xmr-stak-cpu.
I run it as a service with systemd and it would be nice to see what's going on, with maybe a continuous report of the hashrate etc... :)
from xmr-stak-cpu.
I'm considering writing an extra verbose level that will dump the hashrate every minute. Personally I hate that, I guess that's what people are used to :).
I also run my miners as an auto-started sytemd service - except it starts a screen instance, which starts a shell script that makes sure that DHCP and Internet are a-ok, and then runs the miner.
If i want to check on the miner, i just ssh to the box and reattach.
from xmr-stak-cpu.
from xmr-stak-cpu.
I run under screen too, it works well.
More generally, I would think that by now we would have had a "standard" monitoring protocol that could be easily integrated into any type of miner. Each miner has their own method of logging and monitor and fail-over/retry (which is a bit annoying).
from xmr-stak-cpu.
Unless you start from a fresh codebase, there is significant inertia. Just look at how many BTC miners still do long polling on HTTP.
from xmr-stak-cpu.
Logging would be good, different modes of verbosity preferable. I'm having an issue where shares are rejected when the miner has been running for longer periods, would be nice to have more to go on.
from xmr-stak-cpu.
(This is not a trick question of some sort, I'm looking at the design usecase here)
When doing the design for logging monitors I reckoned that it will be best to log connection drops as a list (since in that case you want to know when and how long), and pool errors as a tally (since here the first question is - how many?).
What would you look for in the logs?
from xmr-stak-cpu.
from xmr-stak-cpu.
It does. Usual one would be something like "low difficulty share" meaning that there was some computing error and the hash result was wrong.
from xmr-stak-cpu.
this doesn't directly fall in to design usecase, but for remote debugging: -> when the miner is started by crontab, it seems to hog an extra cpu... I tried different number of threads, different schedulers (crontab, rc.local, systemd), different physical systems, and I can't figure out :( :( :( can't even figure out if the hashrate via cron is as the same as when ran via terminal. Any insight or help would be appreciated
from xmr-stak-cpu.
@suahnkim you can use screen
to log, have you tried that?
Add this to your ~/.screenrc
:
deflog on
from xmr-stak-cpu.
@dimecoin Thank you. Tried your suggestion => hashrate is 10 ~ 15 less for the cron job.
update: when I specify one less thread in the config.txt, the hashrate drops, but cron job still takes 1 more core than specified. :( :( :(
from xmr-stak-cpu.
Related Issues (20)
- The program locks on this part HOT 1
- Can't enable all logical processors on multi cpu
- SOCKET ERROR - [pool.sumokoin.com:443] SEND error: An established connection was aborted by the software in your host machine. HOT 5
- We can doante it,Can you updata this version xmr-stak-cpu for us to mine xmr v7?thank you HOT 1
- Panda Antivirus showing xmr-stak-cpu.exe as trojan HOT 2
- cent os 7 , Result rejected by the pool. HOT 3
- Low hashrate on Xeon E5-2620 HOT 2
- remote throttling ? HOT 2
- Invalid config file 'config.txt'. Missing value "print_m otd". HOT 2
- stak crashes on one rig HOT 1
- hwloc: can't bind memory on linux
- Anybody who know how I can update to hardforked monero algorithm? HOT 3
- [2019-07-17 09:04:46] : JSON config parse error(offset 6151): Invalid escape character in string. HOT 1
- Linux how to compile all dependencies in the executable HOT 1
- [CUDA] Error gpu 0: <C:/xmr-stak/xmr-stak-rx-win64-1.0.1/xmrstak/blackend/nvidia/RandomX/randomx.cu>:33
- [xmr-stak-rx-linux-1.0.5-cpu] hwloc 2.2.0 received invalid information from the operating system.
- xmr-stak flowchart
- error with httpd? during build and compile HOT 2
- Error gpu, can't use more than 4 gpu.
- About Artificial Intelligence and Cryptocurrencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmr-stak-cpu.