package pbs

  1. Overview
  2. Docs
type t
val parse_qstat : string -> (t, [> `qstat of [> `no_header of string | `wrong_header_format of String.t | `wrong_lines of String.t list ] ]) Pvem.Result.t
type status = [
  1. | `completed
  2. | `exiting
  3. | `held
  4. | `moved
  5. | `queued
  6. | `running
  7. | `suspended
  8. | `waiting
]
val get_status : t -> (status, [> `qstat of [> `job_state_not_found | `unknown_status of string ] ]) Pvem.Result.t
val job_id : t -> string
val raw_field : t -> string -> string option
val status_to_string_hum : status -> string
val error_to_string : [< `qstat of [< `job_state_not_found | `no_header of string | `unknown_status of string | `wrong_header_format of string | `wrong_lines of string list ] ] -> string
OCaml

Innovation. Community. Security.