Module Adaptor.Ps

module Ps: sig .. end
Adaptor module for the output of ps auxww. Note that the functions in this module require input lines to have Line.seq, which they use to skip the ps header.

val adaptor : ?skip:bool -> Adaptor.adaptor
Map the output of ps(1) into Line.Ps. The optional argument ?skip (default true) specifies whether the first line is a ps header and should be skipped.
val fitting : ?skip:bool -> Adaptor.fitting_adaptor
Fitting for parsing ps(1) output.
val reader : Reader.t
Read ps(1) output lines.
val splitter : ?skip:bool -> Adaptor.splitter
Split a ps line into Line.Ps.