Spondoolies-Tech / minepeon

Miner UI
GNU General Public License v2.0
0 stars 3 forks source link

After cgminer restart system claims cgminer not running #33

Closed zvisha closed 10 years ago

zvisha commented 10 years ago

screen shot 2014-03-24 at 9 12 18 pm

miner-FL0914990003# ps PID USER VSZ STAT COMMAND 1 root 3000 S init 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 5 root 0 SW< [kworker/0:0H] 7 root 0 SW< [kworker/u:0H] 8 root 0 SW [migration/0] 9 root 0 SW [rcu_bh] 10 root 0 SW [rcu_sched] 11 root 0 SW< [khelper] 12 root 0 SW [kdevtmpfs] 13 root 0 SW< [netns] 15 root 0 SW [bdi-default] 16 root 0 SW< [kintegrityd] 17 root 0 SW< [kblockd] 18 root 0 SW [khubd] 19 root 0 SW [irq/86-44e0b000] 20 root 0 SW [kworker/u:1] 23 root 0 SW [irq/23-tps65217] 26 root 0 SW [irq/46-4819c000] 35 root 0 SW< [rpciod] 36 root 0 SW [kswapd0] 37 root 0 SW [fsnotify_mark] 38 root 0 SW< [unionfs_siod] 39 root 0 SW< [nfsiod] 40 root 0 SW< [xfsalloc] 41 root 0 SW< [xfs_mru_cache] 42 root 0 SW< [xfslogd] 43 root 0 SW< [crypto] 47 root 0 SW< [OMAP UART0] 50 root 0 SW< [kpsmoused] 51 root 0 SW [irq/150-mmc0] 52 root 0 SW< [deferwq] 53 root 0 SW [kworker/u:2] 56 root 0 SW [mmcqd/1] 57 root 0 SW [mmcqd/1boot0] 58 root 0 SW [mmcqd/1boot1] 69 root 3000 S /sbin/syslogd -m 0 71 root 3000 S /sbin/klogd 82 root 0 SW< [xfs-data/mmcblk] 83 root 0 SW< [xfs-conv/mmcblk] 84 root 0 SW< [xfs-cil/mmcblk0] 85 root 0 SW< [kworker/0:1H] 86 root 0 SW [xfsaild/mmcblk0] 96 root 2868 S watchdog -T 5 -t 2 /dev/watchdog0 121 root 3000 S udhcpc -R -n -p /var/run/udhcpc.eth0.pid -i eth0 130 root 3084 S /usr/sbin/crond 137 root 2292 S /usr/sbin/dropbear 142 root 4716 S /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf 143 root 9192 S /usr/bin/php-cgi 144 root 0 SW [spi1] 155 root 3000 S {spond-manager} /bin/sh /usr/local/bin/spond-manager start 157 root 53944 S /usr/local/bin/miner_gate_arm > /dev/null 2>&1 189 root 3004 S /sbin/getty -L ttyO0 115200 vt100 192 root 72700 S N /usr/local/bin/cgminer --config /etc/cgminer.conf 193 root 3000 S {spond-manager} /bin/sh /usr/local/bin/spond-manager start 5460 root 0 SW [kworker/0:2] 12966 root 0 SW [kworker/0:1] 18786 root 2376 S /usr/sbin/dropbear 18795 root 3088 S -sh 20247 root 2376 S /usr/sbin/dropbear 20248 root 3088 S -sh 21853 root 2868 S sleep 300 21910 root 2376 R /usr/sbin/dropbear 21919 root 3088 S -sh 21926 root 2868 S sleep 3 21927 root 3088 R ps

syounger commented 10 years ago

@zvisha Which machine is this on? Is cgminer running under nice?

zvisha commented 10 years ago

It was 10.0.0.18. On 25 Mar 2014 10:41, "syounger" notifications@github.com wrote:

@zvisha https://github.com/zvisha Which machine is this on? Is cgminer running under nice?

Reply to this email directly or view it on GitHubhttps://github.com/Spondoolies-Tech/minepeon/issues/33#issuecomment-38541003 .

syounger commented 10 years ago

For some reason, 10.18 had an extra flag in the ps output (N=nice), and since I was looking for cgminer in the 5th field, this extra flag broke it. fixed, commit e7b4597