nsjail
nsjail copied to clipboard
Process execution statistics
Is there any plan to add report statistics of the execution? Something like the cpu and wall time elapsed, max memory usage, exit code, kill signal, etc. I think this can be added easily with cgroups, for example. I'm thinking something like what ioi/isolate does with the meta file. Or is this outside the scope of the project?
Hello, my modifications to nsjail has included some of the features you've just mentioned, including time (user, kernel, wall) and memory usage.
Refer to this: ultmaster/nsjail
Any chance this is added to the original repo? I'd like to be able to measure wall time & cpu time consumption, too.
I spent some time porting my time/memory statistic reporting feature to the latest release of v3. Haven't tested it extensively, but I will leave it here for people who need this feature.
https://github.com/NeoHOJ/nsjail/releases/tag/hoj-beta.2