diff --git a/jc/parsers/mount.py b/jc/parsers/mount.py index 9a20e8f3..ca373fb6 100644 --- a/jc/parsers/mount.py +++ b/jc/parsers/mount.py @@ -55,7 +55,7 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: @@ -82,7 +82,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -91,7 +91,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/netstat.py b/jc/parsers/netstat.py index 91337e54..5d077df6 100644 --- a/jc/parsers/netstat.py +++ b/jc/parsers/netstat.py @@ -312,13 +312,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + [ { "proto": string, @@ -499,7 +499,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -508,7 +508,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/ps.py b/jc/parsers/ps.py index a5e21626..59646729 100644 --- a/jc/parsers/ps.py +++ b/jc/parsers/ps.py @@ -175,13 +175,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + [ { "uid": string, @@ -236,7 +236,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -245,7 +245,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] diff --git a/jc/parsers/route.py b/jc/parsers/route.py index b2d74d7e..dafb5ded 100644 --- a/jc/parsers/route.py +++ b/jc/parsers/route.py @@ -99,13 +99,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + [ { "destination": string, @@ -140,7 +140,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -149,7 +149,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'aix', 'freebsd'] diff --git a/jc/parsers/uname.py b/jc/parsers/uname.py index e4fb354f..da28c922 100644 --- a/jc/parsers/uname.py +++ b/jc/parsers/uname.py @@ -28,13 +28,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + { "kernel_name": string, "node_name": string, @@ -55,7 +55,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -64,7 +64,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/uptime.py b/jc/parsers/uptime.py index b19dfdf4..4c234780 100644 --- a/jc/parsers/uptime.py +++ b/jc/parsers/uptime.py @@ -33,13 +33,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + { "time": string, "uptime": string, @@ -75,7 +75,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -84,7 +84,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] diff --git a/jc/parsers/w.py b/jc/parsers/w.py index 9ebc14cd..65c0f866 100644 --- a/jc/parsers/w.py +++ b/jc/parsers/w.py @@ -82,13 +82,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + [ { "user": string, # '-'' = null @@ -117,7 +117,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -126,7 +126,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']