R/sge_make_week_index.R
sge_make_week_index.Rd
Index the SGE accounting file for ISO-8601 weeks
sge_make_week_index(
file,
index,
until = NULL,
n_max = Inf,
delta = 1e+05,
debug = FALSE
)
(character) The SGE accounting
file to read.
(numeric vector) File byte offsets of job entries.
(character vector) If a week read that is part of this
set, the terminate the scanning. The weeks should be specified
using %GW%V
week format, e.g. 2019W01
.
(numeric) The maximum number of weeks to read.
(numeric) Maximum number of rows to skip forward and backword in the divide-and-conquer search strategy.
(logical) If TRUE, display debug messages.
A tibble::tibble with fields:
week
(character) - the ISO-8601 week name, e.g. "2021W48"
nbr_of_jobs
(numeric) - number of jobs
file_offset
(numeric) - the file byte offset
The week names uses %GW%V
week format.