Post
Topic
Board Pools
Re: [14000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
chuckie
on 15/02/2017, 08:52:11 UTC
Your programmer might have created a log file. Do

ps aux | grep cgminer

You should see one or two processes doing the mining (and the ps you just did).

Now put the number from the second column (its the process ID) into this command:

ls -l /proc/[YOUR-PROCESS-ID/fd

This will list the files your miner script has open. Note that you will probably need root permissions for this command (use sudo or su or just log in as root). Look for one that looks like a log file!

What I see is this...

lr-x------ 1 root root 64 Feb 15 08:09 0 -> /dev/null
l-wx------ 1 root root 64 Feb 15 08:09 1 -> /var/log/cgminer.1.log
lr-x------ 1 root root 64 Feb 15 08:09 10 -> /usr/bin/cgminer
lrwx------ 1 root root 64 Feb 15 08:09 2 -> socket:[27286]

So all I have to do now is

tail -f /var/log/cgminer.1.log

and I can see my stats locally.