trace
The trace scope controls the generation of the trace file.
trace.enabled
Create the trace file on workflow completion (default: false).
trace.fields
Comma-separated list of fields to include in the trace file.
Available fields: Task ID. Task hash code. Task ID given by the underlying execution system e.g. POSIX process PID when executed locally, job ID when executed by a grid engine, etc. Nextflow process name. User provided identifier associated with this task. Task name. Task status. Options POSIX process exit status. Environment module used to run the task. Docker image name used to execute the task. The CPUs number request for the task execution. The time request for the task execution The disk space request for the task execution. The memory request for the task execution. Attempt at which the task completed. Timestamp when the task has been submitted. Timestamp when the task execution has started. Timestamp when task execution has completed. Time elapsed to complete since the submission. Task execution time i.e. delta between completion and start timestamp. The queue that the executor attempted to run the process on. Percentage of CPU used by the process. Percentage of memory used by the process. Real memory (resident set) size of the process. Equivalent to Virtual memory size of the process. Equivalent to Peak of real memory. Data is read from field Peak of virtual memory. Data is read from field Number of bytes the process read, using any read-like system call from files, pipes, tty, etc. Data is read from Number of bytes the process wrote, using any write-like system call. Data is read from Number of read-like system call invocations that the process performed. Data is read from Number of write-like system call invocations that the process performed. Data is read from Number of bytes the process directly read from disk. Data is read from Number of bytes the process originally dirtied in the page-cache (assuming they will go to disk later). Data is read from Number of voluntary context switches. Data is read from field Number of involuntary context switches. Data is read from field The variables defined in task execution environment. The directory path where the task was executed. The task command script. The value of the process The action applied on error for task failure. The host on which the task was executed. Supported only for the Kubernetes executor yet. Activate with The name of the CPU model used to execute the task. This data is read fromtask_idhashnative_idprocesstagnamestatusNEW, SUBMITTED, RUNNING, COMPLETED, FAILED, and ABORTED.exitmodulecontainercpustimediskmemoryattemptsubmitstartcompletedurationrealtimequeue%cpu%memrssps -o rss .vmemps -o vsize .peak_rssVmHWM in /proc/$pid/status file.peak_vmemVmPeak in /proc/$pid/status file.rchar/proc/$pid/io.wchar/proc/$pid/io.syscr/proc/$pid/io.syscw/proc/$pid/io.read_bytes/proc/$pid/io.write_bytes/proc/$pid/io.vol_ctxtvoluntary_ctxt_switches in /proc/$pid/status file.inv_ctxtnonvoluntary_ctxt_switches in /proc/$pid/status file.envworkdirscriptscratchscratch directive.error_actionhostnamek8s.fetchNodeName = true in the Nextflow config file.cpu_model/proc/cpuinfo.
trace.file
Trace file name (default: 'trace-<timestamp>.txt').
trace.overwrite
Overwrite any existing trace file with the same name (default: false).
trace.raw
Report trace metrics as raw numbers where applicable, i.e. report duration values in milliseconds and memory values in bytes (default: false).
trace.sep
Character used to separate values in each row (default: \t).