How to automatically monitor and limit resource of process on Windows
Posted
by Nat
on Stack Overflow
See other posts from Stack Overflow
or by Nat
Published on 2010-01-24T09:34:38Z
Indexed on
2010/05/26
17:21 UTC
Read the original article
Hit count: 203
On Linux, normally I use ptrace
function to trace all syscall, and kill the process if the it tries to do anything harmful to my machine, such as system("shutdown -s -t 00")
or so.
Is there a way for me to do this on Windows?
EDIT: I want to write Sandbox program to limit time and memory usage of its child that can work on both Windows and Linux, and now it can only run on Linux via ptrace
© Stack Overflow or respective owner