Greetings. I've been enjoying using cgminer with my Avalon 841.
While, yes, I can log into my Openwrt server via the web client, I've been preferring to start/stop the miner via SSH and a terminal window. (Which I now have an automated command set up on my phone that I can even use Siri to start or stop the miner by just saying "miner stop" or "miner start". Kinda stupid, but so am I.)
One thing I haven't figured out is how to get the status of the miner via SSH. Yes, I know I can get the info via the web client...even remotely. I'm just curious if this is possible via SSH.
Available commands:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if that fails)
enable Enable service autostart
disable Disable service autostart
I would think there would be a "status" command or something. Looking in the readme, I find some neat options (-V to see the version and -n to see what's connected via USB) but nothing that tells me if it's running and what pool it's connected to... I'm sure I'm missing something very basic...
Thanks!
Also noticing that -V and -n work when calling cgminer from the root directory:
root@OpenWrt:~# cgminer -V
cgminer 4.10.0
they don't work when calling them from
/etc/init.d/cgminerroot@OpenWrt:~# /etc/init.d/cgminer -V
Syntax: /etc/init.d/cgminer [command]
Available commands:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if that fails)
enable Enable service autostart
disable Disable service autostart
Obviously, there are some extremely basic Linux/Openwrt concepts I'm missing here and I'm probably playing with fire somewhat haha.