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
)

Arguments

file

(character) The SGE accounting file to read.

index

(numeric vector) File byte offsets of job entries.

until

(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.

n_max

(numeric) The maximum number of weeks to read.

delta

(numeric) Maximum number of rows to skip forward and backword in the divide-and-conquer search strategy.

debug

(logical) If TRUE, display debug messages.

Value

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.