Closed yarikoptic closed 3 weeks ago
I'm happy to switch to absolute amount rather than %, I only used % because thats what smon does https://github.com/brainlife/abcd-spec/blob/master/hooks/smon#L151
Fixed by https://github.com/con/duct/pull/54
duct ./test_script.py --duration 3 --memory-size=1000
duct is executing ./test_script.py --duration 3 --memory-size=1000...
Log files will be written to .duct/logs/2024.06.07T11.21.48-553879_
this is of test of STDERR
this is of test of STDOUT
Test completed. Consumed 1000 MB for 3 seconds with CPU load factor 10000.
Exit Code: 0
Command: ./test_script.py --duration 3 --memory-size=1000
Log files location: .duct/logs/2024.06.07T11.21.48-553879_
Wall Clock Time: 3.376 sec
Memory Peak Usage: 3.1%
CPU Peak Usage: 193.0%
ATM I see
which is odd -- not sure what 0.0% it is reporting given that 1GB was requested.