Zend certified PHP/Magento developer

How to see the commands that are executed by a silent cmd.exe

The cmd.exe process is taking up resources on a server, I would like to see what it is running.
How can I do it?

Task Manager