Question: how to know if you have a mining virus?
Answer: Open a resource monitor on your computer to check if CPU usage is abnormally high. On a Mac that's Activity Monitor, and on Windows it's Task Manager.