external criterion

external criterion Structure: Criterion for judging an external executable sample.

external criterion structure


When an external executable exits, a criterion is needed to judge what the executable's result means. The best practice is to determine the result entirely on the exit code. This is fast and reliable.

Alternatively, the last few kilobytes of the executable's stdout or stderr can be interpreted or parsed for a numeric result.

Where possible avoid using stdout or stderr, because the interpretation requires reading from disk. This will slow down sampling times.


external criterion interpret external criterion contains

Back to the previous page.