You could use a program called Process Monitor. This program allows you to do what you want...
Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity. It combines the features of two legacy Sysinternals utilities, Filemon and Regmon, and adds an extensive list of enhancements including rich and non-destructive filtering, comprehensive event properties such session IDs and user names, reliable process information, full thread stacks with integrated symbol support for each operation, simultaneous logging to a file, and much more. Its uniquely powerful features will make Process Monitor a core utility in your system troubleshooting and malware hunting toolkit.
It also provides exactly what you want...
Process tree tool shows relationship of all processes referenced in a trace
Hope it helps!!
toporps auxfmaybe it's not what you're looking for, but combined withpstreeyou should get the information, if it's worth it to you, please let me know to make this an answer!! – poz2k4444 Jan 24 at 18:31process monitorthat should do the trick... – poz2k4444 Jan 24 at 18:33