Skip to main content

parse_lsof_fields

Function parse_lsof_fields 

Source
pub fn parse_lsof_fields(output: &str) -> Vec<LsofProcess>
Expand description

What: Parse lsof -F pcDi output into process records. Why: parseLsofFields.

In TS you’d write (pseudocode):

parseLsofFields('p42\ncgit\nf3\nD0x1000011\ni77\n')