Monitoring certain system calls done by a process in Windows -



Monitoring certain system calls done by a process in Windows -

i able monitor scheme calls made process, file i/o calls. on linux can away using strace suitable parameters, how can on windows?

i'm interested in running process , figuring out files has read , written.

edit: want programmatically process. i'm aware of processmonitor, receive info in form can import programme farther analysis.

edit: if narrow downwards requirements further, plenty able monitor calls createfile(). i'm interested in files opened, , if opened read/write or read. requirement didn't state speed important; planning on doing things compiling c++-file, , pulling total gui generates 20mb logfile have prohibitive overhead.

edit: nice if did not require administrative privileges.

there several options on windows.

windows performance toolkit can used enable tracing of various scheme events, including file i/o, , includes tools processing , viewing these events. can utilize xperf begin trace variously classes of events , save etl file can process or view using same tools later.

process monitor sysinternals another, easy use, option, , enables see file , registry accesses process on scheme doing. http://blogs.msdn.com/carloc/archive/2008/10/31/how-to-automate-process-monitor.aspx shows how run process monitor in automated fashion.

if you'd programmatically, can utilize etw functions (starttrace, enabletrace, etc.) snap file i/o events , save etl file. sample code here.

windows process cross-platform

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -