I need to keep track of what is running on my system. I used to do it via various APIs like pview.exe, cmcmd.exe, pulist.exe, tList.exe, Rlist.exe etc. They are very inconvenient for many reasons.
Now I want to do inventory of the processes running on the system with C# code. I am sure it would be much simpler.
My question is: what Classes should I take to do it.
Thanks.

viewing processes in C#
CODUDE84
System.Diagnostics.
Process.GetProcesses().GetProcesses is overloaded.Sumit Bhatnagar
Thank you very much, boban.s. The Process Explorer is an awesome tool and the second link opens up a new world indeed. Very useful.
Incidentally, I remember you mentioned that you were doing the same stuff as me. I tried to send you email using the address that can be found on the forum personal page. I figured you have filters that block unwanted senders. I do too. My email was about perhaps sharing some experience on servers that provide data feed.
Tomys
Did you tried ProcessExplorer from sysinternals and from lately microsoft sysinternals. This app rocks, so here is the link. :
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx
If you have posibility to download presentation of some of sysinternals by Scott Hanselman where you can see some tips about using it. Try to download from this link http://www.hanselman.com/blog/DNRTVSysinternalsTools.aspx.
PinTxO
Thank you, Mike. Worked flawlessly!