Run 'top' in batch mode (don't accept user input) with delay of 1 second between updates, and duplicate the standard output to file 'output.log' in current directory.
top -b -d 1 | grep myprocess.exe | tee output.log