Bitcoin Forum
May 14, 2024, 11:04:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they believe that the creator of this topic displays some red flags which make them high-risk. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: cgminer with pi again  (Read 892 times)
gravitate (OP)
Legendary
*
Offline Offline

Activity: 1372
Merit: 1000


View Profile
July 06, 2013, 01:29:06 PM
 #1

pi@raspberrypi ~ $ ps aux | grep cgminer
root      2583  0.0  0.3   5116  1608 pts/0    S    12:01   0:00 sudo nohup ./cgminer-3.1.1/cgminer --config /home/pi/cgminer.conf -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3 -S /dev/ttyUSB4 -S /dev/ttyUSB5 -S /dev/ttyUSB6 -S /dev/ttyUSB7 -S /dev/ttyUSB8 -S /dev/ttyUSB9
root      2584  0.0  1.0 722176  4832 pts/0    Sl   12:01   0:01 ./cgminer-3.1.1/cgminer --config /home/pi/cgminer.conf -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3 -S /dev/ttyUSB4 -S /dev/ttyUSB5 -S /dev/ttyUSB6 -S /dev/ttyUSB7 -S /dev/ttyUSB8 -S /dev/ttyUSB9
pi        2867  0.0  0.1   3544   872 pts/0    S+   13:26   0:00 grep --color=auto cgminer
pi@raspberrypi ~ $


Does this mean cgminer is running? If so how can I see what exactly what it is doing? like with its own window so I can see the hash reates etc

To peel or not to peel.
1715684680
Hero Member
*
Offline Offline

Posts: 1715684680

View Profile Personal Message (Offline)

Ignore
1715684680
Reply with quote  #2

1715684680
Report to moderator
1715684680
Hero Member
*
Offline Offline

Posts: 1715684680

View Profile Personal Message (Offline)

Ignore
1715684680
Reply with quote  #2

1715684680
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715684680
Hero Member
*
Offline Offline

Posts: 1715684680

View Profile Personal Message (Offline)

Ignore
1715684680
Reply with quote  #2

1715684680
Report to moderator
1715684680
Hero Member
*
Offline Offline

Posts: 1715684680

View Profile Personal Message (Offline)

Ignore
1715684680
Reply with quote  #2

1715684680
Report to moderator
Zanatos666
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


Sometimes man, just sometimes.....


View Profile
July 08, 2013, 03:38:33 PM
 #2

have you tried bringing up the cgminer mining screen?

sudo screen -r

If it tells you that there are no screens to connect to (or something of that variation), then no, cgminer isnt mining. If it does pop up, it should show all of your statuses and your accepted and rejected shares coming in/going out.

Squiggly letters, written really fast, with a couple of dots for good measure.
tlr
Member
**
Offline Offline

Activity: 86
Merit: 10


View Profile
July 11, 2013, 04:13:43 PM
 #3

pi@raspberrypi ~ $ ps aux | grep cgminer
root      2583  0.0  0.3   5116  1608 pts/0    S    12:01   0:00 sudo nohup ./cgminer-3.1.1/cgminer --config /home/pi/cgminer.conf -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3 -S /dev/ttyUSB4 -S /dev/ttyUSB5 -S /dev/ttyUSB6 -S /dev/ttyUSB7 -S /dev/ttyUSB8 -S /dev/ttyUSB9
root      2584  0.0  1.0 722176  4832 pts/0    Sl   12:01   0:01 ./cgminer-3.1.1/cgminer --config /home/pi/cgminer.conf -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3 -S /dev/ttyUSB4 -S /dev/ttyUSB5 -S /dev/ttyUSB6 -S /dev/ttyUSB7 -S /dev/ttyUSB8 -S /dev/ttyUSB9
pi        2867  0.0  0.1   3544   872 pts/0    S+   13:26   0:00 grep --color=auto cgminer
pi@raspberrypi ~ $


Does this mean cgminer is running? If so how can I see what exactly what it is doing? like with its own window so I can see the hash reates etc

If you want to see the output you can start cgminer without the "nohup" at the beginning and "> /dev/null" stuff at the end, but it may exit when you close your terminal (unless you use "screen" like Zanatos666 suggested)
phrog
Newbie
*
Offline Offline

Activity: 35
Merit: 0



View Profile
July 18, 2013, 07:51:26 AM
 #4

Looks like you are not using screen, or cgminer 3.3.1
What distro are you using?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!