nsjail icon indicating copy to clipboard operation
nsjail copied to clipboard

Process execution statistics

Open rkkautsar opened this issue 6 years ago • 3 comments

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?

rkkautsar avatar Feb 12 '19 12:02 rkkautsar

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

ultmaster avatar Feb 12 '19 14:02 ultmaster

Any chance this is added to the original repo? I'd like to be able to measure wall time & cpu time consumption, too.

pomo-mondreganto avatar Sep 02 '20 14:09 pomo-mondreganto

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

andy0130tw avatar Jan 19 '23 21:01 andy0130tw