Hi,
Sorry, I cant find on the GIT how to create an issue, so :
Can you add a parameter "--pid-file " to create/put PID of the current running ccminer ?
That will help A LOT when doing algo switching and I need to kill the process (or make an API command to shutdown the miner).
Thanks.
meanwhile, you can kill the process with killall or "ps|grep" to get the PID.
If you think with only one miner running, yes. But it's not always the case.
I will try to do the patch myself, the hardest thing is adding the option in the parser

there are a number of tricks to overcome the multiple miner issue you mentioned.
for example, by using a symbolic link, you can run two miners using the same binary but two different process names.
or, you can grep a part of the command line, to get the correct one.