c# - How to monitor a process's resource usage(time, memory) at run-time? -
i trying monitor process's resource usage(time, memory, system calls) @ run-time, there apis in windows ptrace, setrlimit in linux ? thanks
there bunch of apis depending on want in c/c++ (or c# through p/invoke):
e.g, start looking,
process cpu time (um/km): http://msdn.microsoft.com/en-us/library/ms683223(vs.85).aspx
process vm (working set): http://msdn.microsoft.com/en-us/library/ms683226(v=vs.85).aspx
process i/o data: http://msdn.microsoft.com/en-us/library/ms683218(v=vs.85).aspx
you can try these start.
Comments
Post a Comment