public class ZFSStatusParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ZFSStatusParser.AlertLevel |
static class |
ZFSStatusParser.Result |
| Modifier and Type | Method and Description |
|---|---|
static ZFSStatusParser.Result |
parse(String zpoolStatusCmdOutput)
Transforms the output of the zpool status command into an alert/error level.
|
public static ZFSStatusParser.Result parse(String zpoolStatusCmdOutput) throws ParseException
zpoolStatusCmdOutput - the console output of the "zpool status" commandZFSStatusParser.ResultParseException - if the input is not correct/not understoof by the parserCopyright © 2014–2017 Github jjYBdx4IL Projects. All rights reserved.