adaseb (OP)
Legendary
Offline
Activity: 3738
Merit: 1708
|
|
February 26, 2015, 03:43:28 AM |
|
I got a KNC Juptier and from time to time I want to stop or pause mining, is there anyway to do this from SSH?
I tried
/etc/init.d/cgminer.sh stop
but it start mining after 1 minute
|
|
|
|
|
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
michelem
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
February 26, 2015, 09:05:36 AM |
|
I got a KNC Juptier and from time to time I want to stop or pause mining, is there anyway to do this from SSH?
I tried
/etc/init.d/cgminer.sh stop
but it start mining after 1 minute
There is a cron job running every minute, it checks if cgminer is running and it starts it if it isn't, so you should comment that line in the cron job file (it could be in different locations I don't know where is in a KNC).
|
|
|
|
adaseb (OP)
Legendary
Offline
Activity: 3738
Merit: 1708
|
|
February 27, 2015, 07:41:22 PM |
|
Any method out there Basically the only way I can find is using a command like this which stops mining ever 15 seconds /etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;
|
|
|
|
|
nwoolls
|
|
March 11, 2015, 09:16:41 PM |
|
IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device.
|
MultiMiner: Any Miner, Any Where, on Any Device | Xgminer: Mine with popular miners on Mac OS X
|
|
|
adaseb (OP)
Legendary
Offline
Activity: 3738
Merit: 1708
|
|
March 13, 2015, 04:22:35 AM |
|
IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device. You can't disable all the pools, one needs to always be active.
|
|
|
|
nwoolls
|
|
March 13, 2015, 11:48:19 AM |
|
IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device. You can't disable all the pools, one needs to always be active. Is it CGMiner or BFGMiner? You can disable all pools on the CGMiner-powered network devices I have. Edit: Just tried an S3 with CGMiner 3.12 and a Raspberry Pi with CGMiner 4.9 and had no problem disabling all pools on both via the RPC API. I do see the code in Github that should prevent this (with an error saying the last pool cannot be disabled) but again not having any problems actually doing it. Maybe it's a bug and not by-design.
|
MultiMiner: Any Miner, Any Where, on Any Device | Xgminer: Mine with popular miners on Mac OS X
|
|
|
adaseb (OP)
Legendary
Offline
Activity: 3738
Merit: 1708
|
|
March 14, 2015, 03:50:42 AM |
|
IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device. You can't disable all the pools, one needs to always be active. Is it CGMiner or BFGMiner? You can disable all pools on the CGMiner-powered network devices I have. Edit: Just tried an S3 with CGMiner 3.12 and a Raspberry Pi with CGMiner 4.9 and had no problem disabling all pools on both via the RPC API. I do see the code in Github that should prevent this (with an error saying the last pool cannot be disabled) but again not having any problems actually doing it. Maybe it's a bug and not by-design. I tried both and you can't. I use CGminer 4.2.3 and BFGMiner 5 When you hit (D) to disable it says "CANNOT DISABLE LAST POOL"
|
|
|
|
Anonymailer
|
|
April 06, 2015, 09:40:55 AM |
|
IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device. As far as the API output is telling me, it only shows one PGA for each chip/module i.e. one for each Neptune cube. So if it's a single Jupiter you should have to disable 6 PGAs. If disabling all the pools works out that would be easier, but I've not tried it.
|
|
|
|
bitwhizz
Legendary
Offline
Activity: 910
Merit: 1000
|
|
August 31, 2016, 10:33:20 AM |
|
As far as the API output is telling me, it only shows one PGA for each chip/module i.e. one for each Neptune cube. So if it's a single Jupiter you should have to disable 6 PGAs. If disabling all the pools works out that would be easier, but I've not tried it.
|
|
|
|
|