mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-23 00:29:59 +02:00
236
README.md
236
README.md
@ -10,7 +10,7 @@ $ ls -l /usr/bin | jc --ls | jq '.[] | select(.size|tonumber > 50000000)'
|
||||
{
|
||||
"filename": "emacs",
|
||||
"flags": "-r-xr-xr-x",
|
||||
"links": 1,
|
||||
"links": "1",
|
||||
"owner": "root",
|
||||
"group": "wheel",
|
||||
"size": "117164432",
|
||||
@ -32,20 +32,18 @@ The `jc` parsers can also be used as python modules. In this case the output wil
|
||||
... -rwxr-xr-x 1 root wheel 18128 May 3 22:26 echo'''
|
||||
>>>
|
||||
>>> jc.parsers.ls.parse(data)
|
||||
[{'filename': 'cat', 'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root',
|
||||
'group': 'wheel', 'size': '23648', 'date': 'May 3 22:26'}, {'filename':
|
||||
'chmod', 'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root', 'group':
|
||||
'wheel', 'size': '30016', 'date': 'May 3 22:26'}, {'filename': 'cp', 'flags':
|
||||
'-rwxr-xr-x', 'links': 1, 'owner': 'root', 'group': 'wheel', 'size': '29024',
|
||||
'date': 'May 3 22:26'}, {'filename': 'csh', 'flags': '-rwxr-xr-x', 'links': 1,
|
||||
'owner': 'root', 'group': 'wheel', 'size': '375824', 'date': 'May 3 22:26'},
|
||||
{'filename': 'date', 'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root', 'group':
|
||||
'wheel', 'size': '28608', 'date': 'May 3 22:26'}, {'filename': 'dd', 'flags':
|
||||
'-rwxr-xr-x', 'links': 1, 'owner': 'root', 'group': 'wheel', 'size': '32000',
|
||||
'date': 'May 3 22:26'}, {'filename': 'df', 'flags': '-rwxr-xr-x', 'links': 1,
|
||||
'owner': 'root', 'group': 'wheel', 'size': '23392', 'date': 'May 3 22:26'},
|
||||
{'filename': 'echo', 'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root', 'group':
|
||||
'wheel', 'size': '18128', 'date': 'May 3 22:26'}]
|
||||
[{'filename': 'cat', 'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root', 'group': 'wheel',
|
||||
'size': '23648', 'date': 'May 3 22:26'}, {'filename': 'chmod', 'flags': '-rwxr-xr-x',
|
||||
'links': '1', 'owner': 'root', 'group': 'wheel', 'size': '30016', 'date': 'May 3 22:26'},
|
||||
{'filename': 'cp', 'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root', 'group': 'wheel',
|
||||
'size': '29024', 'date': 'May 3 22:26'}, {'filename': 'csh', 'flags': '-rwxr-xr-x', 'links': '1',
|
||||
'owner': 'root', 'group': 'wheel', 'size': '375824', 'date': 'May 3 22:26'}, {'filename': 'date',
|
||||
'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root', 'group': 'wheel', 'size': '28608',
|
||||
'date': 'May 3 22:26'}, {'filename': 'dd', 'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root',
|
||||
'group': 'wheel', 'size': '32000', 'date': 'May 3 22:26'}, {'filename': 'df', 'flags': '-rwxr-xr-x',
|
||||
'links': '1', 'owner': 'root', 'group': 'wheel', 'size': '23392', 'date': 'May 3 22:26'},
|
||||
{'filename': 'echo', 'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root', 'group': 'wheel',
|
||||
'size': '18128', 'date': 'May 3 22:26'}]
|
||||
```
|
||||
|
||||
The goal is to keep the resulting JSON as flat and simple as possible. Also, keys have been converted to lowercase and special characters are replaced whenever possible. Numbers are kept as strings because, depending on context or the output options, numbers can sometimes turn into strings. (e.g 'human readable' options)
|
||||
@ -63,7 +61,9 @@ jc PARSER [OPTIONS]
|
||||
`jc` accepts piped input from `STDIN` and outputs a JSON representation of the previous command's output to `STDOUT`. The JSON output can be compact or pretty formatted.
|
||||
|
||||
### Parsers
|
||||
- `--arp` enables the `arp` parser
|
||||
- `--df` enables the `df` parser
|
||||
- `--dig` enables the `dig` parser
|
||||
- `--env` enables the `env` parser
|
||||
- `--free` enables the `free` parser
|
||||
- `--history` enables the `history` parser
|
||||
@ -86,6 +86,59 @@ jc PARSER [OPTIONS]
|
||||
- `-p` specifies whether to pretty format the JSON output
|
||||
|
||||
## Examples
|
||||
### arp
|
||||
```
|
||||
$ arp | jc --arp -p
|
||||
[
|
||||
{
|
||||
"address": "gateway",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:f7:4a:fc",
|
||||
"flags_mask": "C",
|
||||
"iface": "ens33"
|
||||
},
|
||||
{
|
||||
"address": "192.168.71.1",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:c0:00:08",
|
||||
"flags_mask": "C",
|
||||
"iface": "ens33"
|
||||
},
|
||||
{
|
||||
"address": "192.168.71.254",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:fe:7a:b4",
|
||||
"flags_mask": "C",
|
||||
"iface": "ens33"
|
||||
}
|
||||
]
|
||||
```
|
||||
```
|
||||
$ arp -a | jc --arp -p
|
||||
[
|
||||
{
|
||||
"name": "?",
|
||||
"address": "192.168.71.1",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:c0:00:08",
|
||||
"iface": "ens33"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"address": "192.168.71.254",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:fe:7a:b4",
|
||||
"iface": "ens33"
|
||||
},
|
||||
{
|
||||
"name": "_gateway",
|
||||
"address": "192.168.71.2",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:f7:4a:fc",
|
||||
"iface": "ens33"
|
||||
}
|
||||
]
|
||||
```
|
||||
### df
|
||||
```
|
||||
$ df | jc --df -p
|
||||
@ -125,6 +178,152 @@ $ df | jc --df -p
|
||||
...
|
||||
]
|
||||
```
|
||||
### dig
|
||||
```
|
||||
$ dig cnn.com www.cnn.com @205.251.194.64 | jc --dig -p
|
||||
[
|
||||
{
|
||||
"id": "28182",
|
||||
"opcode": "QUERY",
|
||||
"status": "NOERROR",
|
||||
"flags": "qr rd ra",
|
||||
"query_num": "1",
|
||||
"answer_num": "4",
|
||||
"authority_num": "0",
|
||||
"additional_num": "1",
|
||||
"question": {
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A"
|
||||
},
|
||||
"answer": [
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A",
|
||||
"ttl": "5",
|
||||
"data": "151.101.193.67"
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A",
|
||||
"ttl": "5",
|
||||
"data": "151.101.1.67"
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A",
|
||||
"ttl": "5",
|
||||
"data": "151.101.129.67"
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A",
|
||||
"ttl": "5",
|
||||
"data": "151.101.65.67"
|
||||
}
|
||||
],
|
||||
"query_time": "45 msec",
|
||||
"server": "192.168.71.2#53(192.168.71.2)",
|
||||
"when": "Wed Oct 30 03:11:21 PDT 2019",
|
||||
"rcvd": "100"
|
||||
},
|
||||
{
|
||||
"id": "23264",
|
||||
"opcode": "QUERY",
|
||||
"status": "NOERROR",
|
||||
"flags": "qr aa rd",
|
||||
"query_num": "1",
|
||||
"answer_num": "1",
|
||||
"authority_num": "4",
|
||||
"additional_num": "1",
|
||||
"question": {
|
||||
"name": "www.cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A"
|
||||
},
|
||||
"answer": [
|
||||
{
|
||||
"name": "www.cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "CNAME",
|
||||
"ttl": "300",
|
||||
"data": "turner-tls.map.fastly.net."
|
||||
}
|
||||
],
|
||||
"authority": [
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "NS",
|
||||
"ttl": "3600",
|
||||
"data": "ns-1086.awsdns-07.org."
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "NS",
|
||||
"ttl": "3600",
|
||||
"data": "ns-1630.awsdns-11.co.uk."
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "NS",
|
||||
"ttl": "3600",
|
||||
"data": "ns-47.awsdns-05.com."
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "NS",
|
||||
"ttl": "3600",
|
||||
"data": "ns-576.awsdns-08.net."
|
||||
}
|
||||
],
|
||||
"query_time": "33 msec",
|
||||
"server": "205.251.194.64#53(205.251.194.64)",
|
||||
"when": "Wed Oct 30 03:11:21 PDT 2019",
|
||||
"rcvd": "212"
|
||||
}
|
||||
]
|
||||
```
|
||||
```
|
||||
$ dig -x 1.1.1.1 | jc --dig -p
|
||||
[
|
||||
{
|
||||
"id": "27526",
|
||||
"opcode": "QUERY",
|
||||
"status": "NOERROR",
|
||||
"flags": "qr rd ra",
|
||||
"query_num": "1",
|
||||
"answer_num": "1",
|
||||
"authority_num": "0",
|
||||
"additional_num": "1",
|
||||
"question": {
|
||||
"name": "1.1.1.1.in-addr.arpa.",
|
||||
"class": "IN",
|
||||
"type": "PTR"
|
||||
},
|
||||
"answer": [
|
||||
{
|
||||
"name": "1.1.1.1.IN-ADDR.ARPA.",
|
||||
"class": "IN",
|
||||
"type": "PTR",
|
||||
"ttl": "5",
|
||||
"data": "one.one.one.one."
|
||||
}
|
||||
],
|
||||
"query_time": "34 msec",
|
||||
"server": "192.168.71.2#53(192.168.71.2)",
|
||||
"when": "Wed Oct 30 03:13:48 PDT 2019",
|
||||
"rcvd": "98"
|
||||
}
|
||||
]
|
||||
```
|
||||
### env
|
||||
```
|
||||
$ env | jc --env -p
|
||||
@ -1126,6 +1325,11 @@ $ w | jc --w -p
|
||||
## Contributions
|
||||
Feel free to add/improve code or parsers!
|
||||
|
||||
## Compatibility
|
||||
Tested on:
|
||||
- Centos 7.7
|
||||
- Ubuntu 18.4
|
||||
|
||||
## Acknowledgments
|
||||
- `ifconfig-parser` module from https://github.com/KnightWhoSayNi/ifconfig-parser
|
||||
- Parsing code from Conor Heine at https://gist.github.com/cahna/43a1a3ff4d075bcd71f9d7120037a501
|
||||
- Parsing code from Conor Heine at https://gist.github.com/cahna/43a1a3ff4d075bcd71f9d7120037a501 adapted for some parsers
|
||||
|
@ -1,5 +1,11 @@
|
||||
jc changelog
|
||||
|
||||
20191031 v1.1.1
|
||||
- Add arp parser
|
||||
- Add dig parser
|
||||
- Add unit tests
|
||||
- fix netstat parser (remove side effects due to global variable)
|
||||
|
||||
20191025 v1.0.1
|
||||
- Add w parser
|
||||
- Add uptime parser
|
||||
|
@ -7,39 +7,49 @@ output.
|
||||
|
||||
CLI Example:
|
||||
|
||||
$ ls -l /bin | jc --ls -p
|
||||
$ ls -l /usr/bin | jc --ls -p
|
||||
[
|
||||
{
|
||||
"filename": "bash",
|
||||
"flags": "-r-xr-xr-x",
|
||||
"links": 1,
|
||||
"filename": "apropos",
|
||||
"link_to": "whatis",
|
||||
"flags": "lrwxrwxrwx.",
|
||||
"links": "1",
|
||||
"owner": "root",
|
||||
"group": "wheel",
|
||||
"bytes": 618416,
|
||||
"date": "May 3 22:26"
|
||||
"group": "root",
|
||||
"size": "6",
|
||||
"date": "Aug 15 10:53"
|
||||
},
|
||||
{
|
||||
"filename": "cat",
|
||||
"flags": "-rwxr-xr-x",
|
||||
"links": 1,
|
||||
"filename": "arch",
|
||||
"flags": "-rwxr-xr-x.",
|
||||
"links": "1",
|
||||
"owner": "root",
|
||||
"group": "wheel",
|
||||
"bytes": 23648,
|
||||
"date": "May 3 22:26"
|
||||
"group": "root",
|
||||
"size": "33080",
|
||||
"date": "Aug 19 23:25"
|
||||
},
|
||||
{
|
||||
"filename": "chmod",
|
||||
"flags": "-rwxr-xr-x",
|
||||
"links": 1,
|
||||
"filename": "awk",
|
||||
"link_to": "gawk",
|
||||
"flags": "lrwxrwxrwx.",
|
||||
"links": "1",
|
||||
"owner": "root",
|
||||
"group": "wheel",
|
||||
"bytes": 30016,
|
||||
"date": "May 3 22:26"
|
||||
"group": "root",
|
||||
"size": "4",
|
||||
"date": "Aug 15 10:53"
|
||||
},
|
||||
{
|
||||
"filename": "base64",
|
||||
"flags": "-rwxr-xr-x.",
|
||||
"links": "1",
|
||||
"owner": "root",
|
||||
"group": "root",
|
||||
"size": "37360",
|
||||
"date": "Aug 19 23:25"
|
||||
},
|
||||
...
|
||||
]
|
||||
|
||||
|
||||
Module Example:
|
||||
|
||||
>>> import jc.parsers.ls
|
||||
@ -54,18 +64,18 @@ Module Example:
|
||||
... -rwxr-xr-x 1 root wheel 18128 May 3 22:26 echo'''
|
||||
>>>
|
||||
>>> jc.parsers.ls.parse(data)
|
||||
[{'filename': 'cat', 'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root', 'group': 'wheel',
|
||||
'bytes': 23648, 'date': 'May 3 22:26'}, {'filename': 'chmod', 'flags': '-rwxr-xr-x', 'links': 1,
|
||||
'owner': 'root', 'group': 'wheel', 'bytes': 30016, 'date': 'May 3 22:26'}, {'filename': 'cp',
|
||||
'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root', 'group': 'wheel', 'bytes': 29024,
|
||||
'date': 'May 3 22:26'}, {'filename': 'csh', 'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root',
|
||||
'group': 'wheel', 'bytes': 375824, 'date': 'May 3 22:26'}, {'filename': 'date',
|
||||
'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root', 'group': 'wheel', 'bytes': 28608,
|
||||
'date': 'May 3 22:26'}, {'filename': 'dd', 'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root',
|
||||
'group': 'wheel', 'bytes': 32000, 'date': 'May 3 22:26'}, {'filename': 'df', 'flags': '-rwxr-xr-x',
|
||||
'links': 1, 'owner': 'root', 'group': 'wheel', 'bytes': 23392, 'date': 'May 3 22:26'},
|
||||
{'filename': 'echo', 'flags': '-rwxr-xr-x', 'links': 1, 'owner': 'root', 'group': 'wheel',
|
||||
'bytes': 18128, 'date': 'May 3 22:26'}]
|
||||
[{'filename': 'cat', 'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root', 'group': 'wheel',
|
||||
'size': '23648', 'date': 'May 3 22:26'}, {'filename': 'chmod', 'flags': '-rwxr-xr-x',
|
||||
'links': '1', 'owner': 'root', 'group': 'wheel', 'size': '30016', 'date': 'May 3 22:26'},
|
||||
{'filename': 'cp', 'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root', 'group': 'wheel',
|
||||
'size': '29024', 'date': 'May 3 22:26'}, {'filename': 'csh', 'flags': '-rwxr-xr-x', 'links': '1',
|
||||
'owner': 'root', 'group': 'wheel', 'size': '375824', 'date': 'May 3 22:26'}, {'filename': 'date',
|
||||
'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root', 'group': 'wheel', 'size': '28608',
|
||||
'date': 'May 3 22:26'}, {'filename': 'dd', 'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root',
|
||||
'group': 'wheel', 'size': '32000', 'date': 'May 3 22:26'}, {'filename': 'df', 'flags': '-rwxr-xr-x',
|
||||
'links': '1', 'owner': 'root', 'group': 'wheel', 'size': '23392', 'date': 'May 3 22:26'},
|
||||
{'filename': 'echo', 'flags': '-rwxr-xr-x', 'links': '1', 'owner': 'root', 'group': 'wheel',
|
||||
'size': '18128', 'date': 'May 3 22:26'}]
|
||||
"""
|
||||
|
||||
name = 'jc'
|
||||
|
12
jc/jc.py
12
jc/jc.py
@ -7,7 +7,9 @@ Main input module
|
||||
import sys
|
||||
import signal
|
||||
import json
|
||||
import jc.parsers.arp
|
||||
import jc.parsers.df
|
||||
import jc.parsers.dig
|
||||
import jc.parsers.env
|
||||
import jc.parsers.free
|
||||
import jc.parsers.history
|
||||
@ -30,7 +32,9 @@ import jc.parsers.w
|
||||
def helptext():
|
||||
print('Usage: jc PARSER [OPTIONS]\n', file=sys.stderr)
|
||||
print('Parsers:', file=sys.stderr)
|
||||
print(' --arp arp parser', file=sys.stderr)
|
||||
print(' --df df parser', file=sys.stderr)
|
||||
print(' --dig dig parser', file=sys.stderr)
|
||||
print(' --env env parser', file=sys.stderr)
|
||||
print(' --free free parser', file=sys.stderr)
|
||||
print(' --history history parser', file=sys.stderr)
|
||||
@ -74,9 +78,15 @@ def main():
|
||||
pretty = True
|
||||
|
||||
# parsers
|
||||
if '--df' in sys.argv:
|
||||
if '--arp' in sys.argv:
|
||||
result = jc.parsers.arp.parse(data)
|
||||
|
||||
elif '--df' in sys.argv:
|
||||
result = jc.parsers.df.parse(data)
|
||||
|
||||
elif '--dig' in sys.argv:
|
||||
result = jc.parsers.dig.parse(data)
|
||||
|
||||
elif '--env' in sys.argv:
|
||||
result = jc.parsers.env.parse(data)
|
||||
|
||||
|
94
jc/parsers/arp.py
Normal file
94
jc/parsers/arp.py
Normal file
@ -0,0 +1,94 @@
|
||||
"""jc - JSON CLI output utility arp Parser
|
||||
|
||||
Usage:
|
||||
specify --arp as the first argument if the piped input is coming from arp
|
||||
|
||||
Example:
|
||||
|
||||
$ arp | jc --arp -p
|
||||
[
|
||||
{
|
||||
"address": "gateway",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:f7:4a:fc",
|
||||
"flags_mask": "C",
|
||||
"iface": "ens33"
|
||||
},
|
||||
{
|
||||
"address": "192.168.71.1",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:c0:00:08",
|
||||
"flags_mask": "C",
|
||||
"iface": "ens33"
|
||||
},
|
||||
{
|
||||
"address": "192.168.71.254",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:fe:7a:b4",
|
||||
"flags_mask": "C",
|
||||
"iface": "ens33"
|
||||
}
|
||||
]
|
||||
|
||||
$ arp -a | jc --arp -p
|
||||
[
|
||||
{
|
||||
"name": "?",
|
||||
"address": "192.168.71.1",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:c0:00:08",
|
||||
"iface": "ens33"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"address": "192.168.71.254",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:fe:7a:b4",
|
||||
"iface": "ens33"
|
||||
},
|
||||
{
|
||||
"name": "_gateway",
|
||||
"address": "192.168.71.2",
|
||||
"hwtype": "ether",
|
||||
"hwaddress": "00:50:56:f7:4a:fc",
|
||||
"iface": "ens33"
|
||||
}
|
||||
]
|
||||
"""
|
||||
|
||||
|
||||
def parse(data):
|
||||
|
||||
# code adapted from Conor Heine at:
|
||||
# https://gist.github.com/cahna/43a1a3ff4d075bcd71f9d7120037a501
|
||||
|
||||
cleandata = data.splitlines()
|
||||
|
||||
# remove final Entries row if -v was used
|
||||
if cleandata[-1].find("Entries:") == 0:
|
||||
cleandata.pop(-1)
|
||||
|
||||
# detect if linux or bsd style was used
|
||||
if cleandata[0].find('Address') == 0:
|
||||
|
||||
# fix header row to change Flags Mask to flags_mask
|
||||
cleandata[0] = cleandata[0].replace('Flags Mask', 'flags_mask')
|
||||
|
||||
headers = [h for h in ' '.join(cleandata[0].lower().strip().split()).split() if h]
|
||||
raw_data = map(lambda s: s.strip().split(None, len(headers) - 1), cleandata[1:])
|
||||
|
||||
return [dict(zip(headers, r)) for r in raw_data]
|
||||
|
||||
else:
|
||||
output = []
|
||||
for line in cleandata:
|
||||
line = line.split()
|
||||
output_line = {}
|
||||
output_line['name'] = line[0]
|
||||
output_line['address'] = line[1].lstrip('(').rstrip(')')
|
||||
output_line['hwtype'] = line[4].lstrip('[').rstrip(']')
|
||||
output_line['hwaddress'] = line[3]
|
||||
output_line['iface'] = line[6]
|
||||
output.append(output_line)
|
||||
|
||||
return output
|
314
jc/parsers/dig.py
Normal file
314
jc/parsers/dig.py
Normal file
@ -0,0 +1,314 @@
|
||||
"""jc - JSON CLI output utility dig Parser
|
||||
|
||||
Usage:
|
||||
Specify --dig as the first argument if the piped input is coming from dig
|
||||
|
||||
Examples:
|
||||
$ dig cnn.com www.cnn.com @205.251.194.64 | jc --dig -p
|
||||
[
|
||||
{
|
||||
"id": "28182",
|
||||
"opcode": "QUERY",
|
||||
"status": "NOERROR",
|
||||
"flags": "qr rd ra",
|
||||
"query_num": "1",
|
||||
"answer_num": "4",
|
||||
"authority_num": "0",
|
||||
"additional_num": "1",
|
||||
"question": {
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A"
|
||||
},
|
||||
"answer": [
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A",
|
||||
"ttl": "5",
|
||||
"data": "151.101.193.67"
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A",
|
||||
"ttl": "5",
|
||||
"data": "151.101.1.67"
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A",
|
||||
"ttl": "5",
|
||||
"data": "151.101.129.67"
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A",
|
||||
"ttl": "5",
|
||||
"data": "151.101.65.67"
|
||||
}
|
||||
],
|
||||
"query_time": "45 msec",
|
||||
"server": "192.168.71.2#53(192.168.71.2)",
|
||||
"when": "Wed Oct 30 03:11:21 PDT 2019",
|
||||
"rcvd": "100"
|
||||
},
|
||||
{
|
||||
"id": "23264",
|
||||
"opcode": "QUERY",
|
||||
"status": "NOERROR",
|
||||
"flags": "qr aa rd",
|
||||
"query_num": "1",
|
||||
"answer_num": "1",
|
||||
"authority_num": "4",
|
||||
"additional_num": "1",
|
||||
"question": {
|
||||
"name": "www.cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "A"
|
||||
},
|
||||
"answer": [
|
||||
{
|
||||
"name": "www.cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "CNAME",
|
||||
"ttl": "300",
|
||||
"data": "turner-tls.map.fastly.net."
|
||||
}
|
||||
],
|
||||
"authority": [
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "NS",
|
||||
"ttl": "3600",
|
||||
"data": "ns-1086.awsdns-07.org."
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "NS",
|
||||
"ttl": "3600",
|
||||
"data": "ns-1630.awsdns-11.co.uk."
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "NS",
|
||||
"ttl": "3600",
|
||||
"data": "ns-47.awsdns-05.com."
|
||||
},
|
||||
{
|
||||
"name": "cnn.com.",
|
||||
"class": "IN",
|
||||
"type": "NS",
|
||||
"ttl": "3600",
|
||||
"data": "ns-576.awsdns-08.net."
|
||||
}
|
||||
],
|
||||
"query_time": "33 msec",
|
||||
"server": "205.251.194.64#53(205.251.194.64)",
|
||||
"when": "Wed Oct 30 03:11:21 PDT 2019",
|
||||
"rcvd": "212"
|
||||
}
|
||||
]
|
||||
|
||||
$ dig -x 1.1.1.1 | jc --dig -p
|
||||
[
|
||||
{
|
||||
"id": "27526",
|
||||
"opcode": "QUERY",
|
||||
"status": "NOERROR",
|
||||
"flags": "qr rd ra",
|
||||
"query_num": "1",
|
||||
"answer_num": "1",
|
||||
"authority_num": "0",
|
||||
"additional_num": "1",
|
||||
"question": {
|
||||
"name": "1.1.1.1.in-addr.arpa.",
|
||||
"class": "IN",
|
||||
"type": "PTR"
|
||||
},
|
||||
"answer": [
|
||||
{
|
||||
"name": "1.1.1.1.IN-ADDR.ARPA.",
|
||||
"class": "IN",
|
||||
"type": "PTR",
|
||||
"ttl": "5",
|
||||
"data": "one.one.one.one."
|
||||
}
|
||||
],
|
||||
"query_time": "34 msec",
|
||||
"server": "192.168.71.2#53(192.168.71.2)",
|
||||
"when": "Wed Oct 30 03:13:48 PDT 2019",
|
||||
"rcvd": "98"
|
||||
}
|
||||
]
|
||||
"""
|
||||
|
||||
|
||||
def parse_header(header):
|
||||
# ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6140
|
||||
header = header.split()
|
||||
opcode = header[3].rstrip(',')
|
||||
status = header[5].rstrip(',')
|
||||
header_id = header[7]
|
||||
|
||||
return {'id': header_id,
|
||||
'opcode': opcode,
|
||||
'status': status}
|
||||
|
||||
|
||||
def parse_flags_line(flagsline):
|
||||
# ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
|
||||
flagsline = flagsline.split(';')
|
||||
flags = flagsline.pop(0)
|
||||
flags = flagsline.pop(0)
|
||||
flags = flagsline.pop(0).split(':')
|
||||
flags = flags[1].lstrip()
|
||||
|
||||
restline = flagsline[0].replace(',', ' ').replace(':', ' ')
|
||||
restlist = restline.split()
|
||||
|
||||
query_num = restlist[1]
|
||||
answer_num = restlist[3]
|
||||
authority_num = restlist[5]
|
||||
additional_num = restlist[7]
|
||||
|
||||
return {'flags': flags,
|
||||
'query_num': query_num,
|
||||
'answer_num': answer_num,
|
||||
'authority_num': authority_num,
|
||||
'additional_num': additional_num}
|
||||
|
||||
|
||||
def parse_question(question):
|
||||
# ;www.cnn.com. IN A
|
||||
question = question.split()
|
||||
dns_name = question[0].lstrip(';')
|
||||
dns_class = question[1]
|
||||
dns_type = question[2]
|
||||
|
||||
return {'name': dns_name,
|
||||
'class': dns_class,
|
||||
'type': dns_type}
|
||||
|
||||
|
||||
def parse_authority(authority):
|
||||
# cnn.com. 3600 IN NS ns-1086.awsdns-07.org.
|
||||
authority = authority.split()
|
||||
authority_name = authority[0]
|
||||
authority_class = authority[2]
|
||||
authority_type = authority[3]
|
||||
authority_ttl = authority[1]
|
||||
authority_data = authority[4]
|
||||
|
||||
return {'name': authority_name,
|
||||
'class': authority_class,
|
||||
'type': authority_type,
|
||||
'ttl': authority_ttl,
|
||||
'data': authority_data}
|
||||
|
||||
|
||||
def parse_answer(answer):
|
||||
# www.cnn.com. 5 IN CNAME turner-tls.map.fastly.net.
|
||||
answer = answer.split()
|
||||
answer_name = answer[0]
|
||||
answer_class = answer[2]
|
||||
answer_type = answer[3]
|
||||
answer_ttl = answer[1]
|
||||
answer_data = answer[4]
|
||||
|
||||
return {'name': answer_name,
|
||||
'class': answer_class,
|
||||
'type': answer_type,
|
||||
'ttl': answer_ttl,
|
||||
'data': answer_data}
|
||||
|
||||
|
||||
def parse(data):
|
||||
output = []
|
||||
cleandata = data.splitlines()
|
||||
# remove blank lines
|
||||
cleandata = list(filter(None, cleandata))
|
||||
|
||||
question = False
|
||||
authority = False
|
||||
answer = False
|
||||
|
||||
output_entry = {}
|
||||
for line in cleandata:
|
||||
|
||||
if line.find(';; ->>HEADER<<-') == 0:
|
||||
output_entry = {}
|
||||
output_entry.update(parse_header(line))
|
||||
continue
|
||||
|
||||
if line.find(';; flags:') == 0:
|
||||
output_entry.update(parse_flags_line(line))
|
||||
continue
|
||||
|
||||
if line.find(';; QUESTION SECTION:') == 0:
|
||||
question = True
|
||||
authority = False
|
||||
answer = False
|
||||
continue
|
||||
|
||||
if question:
|
||||
output_entry['question'] = parse_question(line)
|
||||
question = False
|
||||
authority = False
|
||||
answer = False
|
||||
continue
|
||||
|
||||
if line.find(';; AUTHORITY SECTION:') == 0:
|
||||
question = False
|
||||
authority = True
|
||||
answer = False
|
||||
authority_list = []
|
||||
continue
|
||||
|
||||
if line.find(';') == -1 and authority:
|
||||
authority_list.append(parse_authority(line))
|
||||
output_entry.update({'authority': authority_list})
|
||||
continue
|
||||
|
||||
if line.find(';; ANSWER SECTION:') == 0:
|
||||
question = False
|
||||
authority = False
|
||||
answer = True
|
||||
answer_list = []
|
||||
continue
|
||||
|
||||
if line.find(';') == -1 and answer:
|
||||
answer_list.append(parse_answer(line))
|
||||
output_entry.update({'answer': answer_list})
|
||||
continue
|
||||
|
||||
# footer consists of 4 lines
|
||||
# footer line 1
|
||||
if line.find(';; Query time:') == 0:
|
||||
output_entry.update({'query_time': line.split(':')[1].lstrip()})
|
||||
continue
|
||||
|
||||
# footer line 2
|
||||
if line.find(';; SERVER:') == 0:
|
||||
output_entry.update({'server': line.split(':')[1].lstrip()})
|
||||
continue
|
||||
|
||||
# footer line 3
|
||||
if line.find(';; WHEN:') == 0:
|
||||
output_entry.update({'when': line.split(':', maxsplit=1)[1].lstrip()})
|
||||
continue
|
||||
|
||||
# footer line 4 (last line)
|
||||
if line.find(';; MSG SIZE rcvd:') == 0:
|
||||
output_entry.update({'rcvd': line.split(':')[1].lstrip()})
|
||||
|
||||
if output_entry:
|
||||
output.append(output_entry)
|
||||
|
||||
clean_output = list(filter(None, output))
|
||||
return clean_output
|
@ -98,8 +98,6 @@ $ sudo netstat -lpn | jc --netstat -p
|
||||
"""
|
||||
import string
|
||||
|
||||
output = []
|
||||
|
||||
|
||||
def parse_line(entry):
|
||||
output_line = {}
|
||||
@ -151,6 +149,7 @@ def parse_line(entry):
|
||||
|
||||
|
||||
def parse(data):
|
||||
output = []
|
||||
cleandata = data.splitlines()
|
||||
|
||||
for line in cleandata:
|
||||
|
3
runtests.sh
Executable file
3
runtests.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
python3 -m unittest -v
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open('README.md', 'r') as f:
|
||||
|
||||
setuptools.setup(
|
||||
name='jc',
|
||||
version='1.0.1',
|
||||
version='1.1.1',
|
||||
author='Kelly Brazil',
|
||||
author_email='kellyjonbrazil@gmail.com',
|
||||
description='This tool serializes the output of popular command line tools to structured JSON output.',
|
||||
|
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
3
tests/fixtures/centos-7.7/arp-a.out
vendored
Normal file
3
tests/fixtures/centos-7.7/arp-a.out
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
gateway (192.168.71.2) at 00:50:56:f7:4a:fc [ether] on ens33
|
||||
? (192.168.71.1) at 00:50:56:c0:00:08 [ether] on ens33
|
||||
? (192.168.71.254) at 00:50:56:fe:7a:b4 [ether] on ens33
|
4
tests/fixtures/centos-7.7/arp-v.out
vendored
Normal file
4
tests/fixtures/centos-7.7/arp-v.out
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
Address HWtype HWaddress Flags Mask Iface
|
||||
gateway ether 00:50:56:f7:4a:fc C ens33
|
||||
192.168.71.254 ether 00:50:56:fe:7a:b4 C ens33
|
||||
Entries: 2 Skipped: 0 Found: 2
|
3
tests/fixtures/centos-7.7/arp.out
vendored
Normal file
3
tests/fixtures/centos-7.7/arp.out
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
Address HWtype HWaddress Flags Mask Iface
|
||||
gateway ether 00:50:56:f7:4a:fc C ens33
|
||||
192.168.71.254 ether 00:50:56:fe:7a:b4 C ens33
|
8
tests/fixtures/centos-7.7/df-h.out
vendored
Normal file
8
tests/fixtures/centos-7.7/df-h.out
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
Filesystem Size Used Avail Use% Mounted on
|
||||
devtmpfs 1.9G 0 1.9G 0% /dev
|
||||
tmpfs 1.9G 0 1.9G 0% /dev/shm
|
||||
tmpfs 1.9G 12M 1.9G 1% /run
|
||||
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
|
||||
/dev/mapper/centos-root 17G 1.8G 16G 11% /
|
||||
/dev/sda1 1014M 233M 782M 23% /boot
|
||||
tmpfs 378M 0 378M 0% /run/user/1000
|
8
tests/fixtures/centos-7.7/df.out
vendored
Normal file
8
tests/fixtures/centos-7.7/df.out
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
Filesystem 1K-blocks Used Available Use% Mounted on
|
||||
devtmpfs 1918816 0 1918816 0% /dev
|
||||
tmpfs 1930664 0 1930664 0% /dev/shm
|
||||
tmpfs 1930664 11832 1918832 1% /run
|
||||
tmpfs 1930664 0 1930664 0% /sys/fs/cgroup
|
||||
/dev/mapper/centos-root 17811456 1805580 16005876 11% /
|
||||
/dev/sda1 1038336 237600 800736 23% /boot
|
||||
tmpfs 386136 0 386136 0% /run/user/1000
|
20
tests/fixtures/centos-7.7/dig-aaaa.out
vendored
Normal file
20
tests/fixtures/centos-7.7/dig-aaaa.out
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-9.P2.el7 <<>> www.google.com AAAA
|
||||
;; global options: +cmd
|
||||
;; Got answer:
|
||||
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25779
|
||||
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
|
||||
|
||||
;; OPT PSEUDOSECTION:
|
||||
; EDNS: version: 0, flags:; MBZ: 0x0005, udp: 4096
|
||||
;; QUESTION SECTION:
|
||||
;www.google.com. IN AAAA
|
||||
|
||||
;; ANSWER SECTION:
|
||||
www.google.com. 5 IN AAAA 2607:f8b0:4000:808::2004
|
||||
|
||||
;; Query time: 28 msec
|
||||
;; SERVER: 192.168.71.2#53(192.168.71.2)
|
||||
;; WHEN: Wed Oct 30 05:12:53 PDT 2019
|
||||
;; MSG SIZE rcvd: 71
|
||||
|
20
tests/fixtures/centos-7.7/dig-x.out
vendored
Normal file
20
tests/fixtures/centos-7.7/dig-x.out
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-9.P2.el7 <<>> -x 1.1.1.1
|
||||
;; global options: +cmd
|
||||
;; Got answer:
|
||||
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36298
|
||||
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
|
||||
|
||||
;; OPT PSEUDOSECTION:
|
||||
; EDNS: version: 0, flags:; MBZ: 0x0005, udp: 4096
|
||||
;; QUESTION SECTION:
|
||||
;1.1.1.1.in-addr.arpa. IN PTR
|
||||
|
||||
;; ANSWER SECTION:
|
||||
1.1.1.1.in-addr.arpa. 5 IN PTR one.one.one.one.
|
||||
|
||||
;; Query time: 32 msec
|
||||
;; SERVER: 192.168.71.2#53(192.168.71.2)
|
||||
;; WHEN: Wed Oct 30 05:13:36 PDT 2019
|
||||
;; MSG SIZE rcvd: 78
|
||||
|
38
tests/fixtures/centos-7.7/dig.out
vendored
Normal file
38
tests/fixtures/centos-7.7/dig.out
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
|
||||
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-9.P2.el7 <<>> www.cnn.com www.google.com
|
||||
;; global options: +cmd
|
||||
;; Got answer:
|
||||
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44295
|
||||
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
|
||||
|
||||
;; OPT PSEUDOSECTION:
|
||||
; EDNS: version: 0, flags:; MBZ: 0x0005, udp: 4096
|
||||
;; QUESTION SECTION:
|
||||
;www.cnn.com. IN A
|
||||
|
||||
;; ANSWER SECTION:
|
||||
www.cnn.com. 5 IN CNAME turner-tls.map.fastly.net.
|
||||
turner-tls.map.fastly.net. 5 IN A 151.101.189.67
|
||||
|
||||
;; Query time: 25 msec
|
||||
;; SERVER: 192.168.71.2#53(192.168.71.2)
|
||||
;; WHEN: Wed Oct 30 05:13:22 PDT 2019
|
||||
;; MSG SIZE rcvd: 95
|
||||
|
||||
;; Got answer:
|
||||
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34074
|
||||
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
|
||||
|
||||
;; OPT PSEUDOSECTION:
|
||||
; EDNS: version: 0, flags:; MBZ: 0x0005, udp: 4096
|
||||
;; QUESTION SECTION:
|
||||
;www.google.com. IN A
|
||||
|
||||
;; ANSWER SECTION:
|
||||
www.google.com. 5 IN A 216.58.194.100
|
||||
|
||||
;; Query time: 25 msec
|
||||
;; SERVER: 192.168.71.2#53(192.168.71.2)
|
||||
;; WHEN: Wed Oct 30 05:13:22 PDT 2019
|
||||
;; MSG SIZE rcvd: 59
|
||||
|
24
tests/fixtures/centos-7.7/env.out
vendored
Normal file
24
tests/fixtures/centos-7.7/env.out
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
XDG_SESSION_ID=17
|
||||
HOSTNAME=localhost.localdomain
|
||||
SELINUX_ROLE_REQUESTED=
|
||||
SHELL=/bin/bash
|
||||
TERM=xterm-256color
|
||||
HISTSIZE=1000
|
||||
SSH_CLIENT=192.168.71.1 58727 22
|
||||
SELINUX_USE_CURRENT_RANGE=
|
||||
SSH_TTY=/dev/pts/0
|
||||
USER=kbrazil
|
||||
LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
|
||||
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/kbrazil/.local/bin:/home/kbrazil/bin
|
||||
MAIL=/var/spool/mail/kbrazil
|
||||
PWD=/home/kbrazil/testfiles
|
||||
LANG=en_US.UTF-8
|
||||
SELINUX_LEVEL_REQUESTED=
|
||||
HISTCONTROL=ignoredups
|
||||
HOME=/home/kbrazil
|
||||
SHLVL=2
|
||||
LOGNAME=kbrazil
|
||||
SSH_CONNECTION=192.168.71.1 58727 192.168.71.137 22
|
||||
LESSOPEN=||/usr/bin/lesspipe.sh %s
|
||||
XDG_RUNTIME_DIR=/run/user/1000
|
||||
_=/usr/bin/env
|
3
tests/fixtures/centos-7.7/free-h.out
vendored
Normal file
3
tests/fixtures/centos-7.7/free-h.out
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
total used free shared buff/cache available
|
||||
Mem: 3.7G 217M 3.2G 11M 267M 3.2G
|
||||
Swap: 2.0G 0B 2.0G
|
3
tests/fixtures/centos-7.7/free.out
vendored
Normal file
3
tests/fixtures/centos-7.7/free.out
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
total used free shared buff/cache available
|
||||
Mem: 3861332 222820 3364176 11832 274336 3389588
|
||||
Swap: 2097148 0 2097148
|
1000
tests/fixtures/centos-7.7/history.out
vendored
Normal file
1000
tests/fixtures/centos-7.7/history.out
vendored
Normal file
File diff suppressed because it is too large
Load Diff
26
tests/fixtures/centos-7.7/ifconfig.out
vendored
Normal file
26
tests/fixtures/centos-7.7/ifconfig.out
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
|
||||
inet 172.17.0.1 netmask 255.255.0.0 broadcast 0.0.0.0
|
||||
ether 02:42:b1:9a:ea:02 txqueuelen 0 (Ethernet)
|
||||
RX packets 0 bytes 0 (0.0 B)
|
||||
RX errors 0 dropped 0 overruns 0 frame 0
|
||||
TX packets 0 bytes 0 (0.0 B)
|
||||
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
||||
|
||||
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
|
||||
inet 192.168.71.137 netmask 255.255.255.0 broadcast 192.168.71.255
|
||||
inet6 fe80::c1cb:715d:bc3e:b8a0 prefixlen 64 scopeid 0x20<link>
|
||||
ether 00:0c:29:3b:58:0e txqueuelen 1000 (Ethernet)
|
||||
RX packets 8061 bytes 1514413 (1.4 MiB)
|
||||
RX errors 0 dropped 0 overruns 0 frame 0
|
||||
TX packets 4502 bytes 866622 (846.3 KiB)
|
||||
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
||||
|
||||
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
|
||||
inet 127.0.0.1 netmask 255.0.0.0
|
||||
inet6 ::1 prefixlen 128 scopeid 0x10<host>
|
||||
loop txqueuelen 1000 (Local Loopback)
|
||||
RX packets 73 bytes 6009 (5.8 KiB)
|
||||
RX errors 0 dropped 0 overruns 0 frame 0
|
||||
TX packets 73 bytes 6009 (5.8 KiB)
|
||||
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
||||
|
134
tests/fixtures/centos-7.7/iptables-filter-nv.out
vendored
Normal file
134
tests/fixtures/centos-7.7/iptables-filter-nv.out
vendored
Normal file
@ -0,0 +1,134 @@
|
||||
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
|
||||
pkts bytes target prot opt in out source destination
|
||||
4175 1130K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
|
||||
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
|
||||
2383 204K INPUT_direct all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
2383 204K INPUT_ZONES_SOURCE all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
2383 204K INPUT_ZONES all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
|
||||
2382 204K REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
|
||||
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
|
||||
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
|
||||
0 0 ACCEPT tcp -- * * 15.15.15.0/24 0.0.0.0/0 tcp dpt:22 ctstate NEW,ESTABLISHED
|
||||
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
|
||||
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
|
||||
0 0 DROP all -- lo * 15.15.15.51 0.0.0.0/0
|
||||
0 0 ACCEPT tcp -- * * 15.15.15.0/24 0.0.0.0/0 tcp dpt:22 ctstate NEW,ESTABLISHED
|
||||
|
||||
Chain FORWARD (policy DROP 0 packets, 0 bytes)
|
||||
pkts bytes target prot opt in out source destination
|
||||
0 0 DOCKER-ISOLATION all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 DOCKER all -- * docker0 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * docker0 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
|
||||
0 0 ACCEPT all -- docker0 !docker0 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- docker0 docker0 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
|
||||
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 FORWARD_direct all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 FORWARD_IN_ZONES_SOURCE all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 FORWARD_IN_ZONES all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 FORWARD_OUT_ZONES_SOURCE all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 FORWARD_OUT_ZONES all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
|
||||
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
|
||||
|
||||
Chain OUTPUT (policy ACCEPT 5 packets, 345 bytes)
|
||||
pkts bytes target prot opt in out source destination
|
||||
0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
|
||||
3419 573K OUTPUT_direct all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
|
||||
225 101K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate ESTABLISHED
|
||||
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:22 ctstate ESTABLISHED
|
||||
0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate ESTABLISHED
|
||||
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:22 ctstate ESTABLISHED
|
||||
|
||||
Chain DOCKER (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain DOCKER-ISOLATION (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
|
||||
Chain FORWARD_IN_ZONES (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
0 0 FWDI_public all -- ens33 * 0.0.0.0/0 0.0.0.0/0 [goto]
|
||||
0 0 FWDI_public all -- + * 0.0.0.0/0 0.0.0.0/0 [goto]
|
||||
|
||||
Chain FORWARD_IN_ZONES_SOURCE (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain FORWARD_OUT_ZONES (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
0 0 FWDO_public all -- * ens33 0.0.0.0/0 0.0.0.0/0 [goto]
|
||||
0 0 FWDO_public all -- * + 0.0.0.0/0 0.0.0.0/0 [goto]
|
||||
|
||||
Chain FORWARD_OUT_ZONES_SOURCE (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain FORWARD_direct (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain FWDI_public (2 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
0 0 FWDI_public_log all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 FWDI_public_deny all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 FWDI_public_allow all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
|
||||
Chain FWDI_public_allow (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain FWDI_public_deny (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain FWDI_public_log (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain FWDO_public (2 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
0 0 FWDO_public_log all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 FWDO_public_deny all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 FWDO_public_allow all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
|
||||
Chain FWDO_public_allow (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain FWDO_public_deny (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain FWDO_public_log (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain INPUT_ZONES (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
2367 202K IN_public all -- ens33 * 0.0.0.0/0 0.0.0.0/0 [goto]
|
||||
1 330 IN_public all -- + * 0.0.0.0/0 0.0.0.0/0 [goto]
|
||||
|
||||
Chain INPUT_ZONES_SOURCE (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain INPUT_direct (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain IN_public (2 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
2383 204K IN_public_log all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
2383 204K IN_public_deny all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
2383 204K IN_public_allow all -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
|
||||
|
||||
Chain IN_public_allow (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
1 64 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
||||
|
||||
Chain IN_public_deny (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain IN_public_log (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain OUTPUT_direct (1 references)
|
||||
pkts bytes target prot opt in out source destination
|
134
tests/fixtures/centos-7.7/iptables-filter.out
vendored
Normal file
134
tests/fixtures/centos-7.7/iptables-filter.out
vendored
Normal file
@ -0,0 +1,134 @@
|
||||
Chain INPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
||||
ACCEPT all -- anywhere anywhere
|
||||
INPUT_direct all -- anywhere anywhere
|
||||
INPUT_ZONES_SOURCE all -- anywhere anywhere
|
||||
INPUT_ZONES all -- anywhere anywhere
|
||||
DROP all -- anywhere anywhere ctstate INVALID
|
||||
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
||||
DROP all -- anywhere anywhere ctstate INVALID
|
||||
ACCEPT tcp -- 15.15.15.0/24 anywhere tcp dpt:ssh ctstate NEW,ESTABLISHED
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
||||
DROP all -- anywhere anywhere ctstate INVALID
|
||||
DROP all -- 15.15.15.51 anywhere
|
||||
ACCEPT tcp -- 15.15.15.0/24 anywhere tcp dpt:ssh ctstate NEW,ESTABLISHED
|
||||
|
||||
Chain FORWARD (policy DROP)
|
||||
target prot opt source destination
|
||||
DOCKER-ISOLATION all -- anywhere anywhere
|
||||
DOCKER all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
||||
ACCEPT all -- anywhere anywhere
|
||||
FORWARD_direct all -- anywhere anywhere
|
||||
FORWARD_IN_ZONES_SOURCE all -- anywhere anywhere
|
||||
FORWARD_IN_ZONES all -- anywhere anywhere
|
||||
FORWARD_OUT_ZONES_SOURCE all -- anywhere anywhere
|
||||
FORWARD_OUT_ZONES all -- anywhere anywhere
|
||||
DROP all -- anywhere anywhere ctstate INVALID
|
||||
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
|
||||
|
||||
Chain OUTPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
ACCEPT all -- anywhere anywhere
|
||||
OUTPUT_direct all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate ESTABLISHED
|
||||
ACCEPT tcp -- anywhere anywhere tcp spt:ssh ctstate ESTABLISHED
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate ESTABLISHED
|
||||
ACCEPT tcp -- anywhere anywhere tcp spt:ssh ctstate ESTABLISHED
|
||||
|
||||
Chain DOCKER (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain DOCKER-ISOLATION (1 references)
|
||||
target prot opt source destination
|
||||
RETURN all -- anywhere anywhere
|
||||
|
||||
Chain FORWARD_IN_ZONES (1 references)
|
||||
target prot opt source destination
|
||||
FWDI_public all -- anywhere anywhere [goto]
|
||||
FWDI_public all -- anywhere anywhere [goto]
|
||||
|
||||
Chain FORWARD_IN_ZONES_SOURCE (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain FORWARD_OUT_ZONES (1 references)
|
||||
target prot opt source destination
|
||||
FWDO_public all -- anywhere anywhere [goto]
|
||||
FWDO_public all -- anywhere anywhere [goto]
|
||||
|
||||
Chain FORWARD_OUT_ZONES_SOURCE (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain FORWARD_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain FWDI_public (2 references)
|
||||
target prot opt source destination
|
||||
FWDI_public_log all -- anywhere anywhere
|
||||
FWDI_public_deny all -- anywhere anywhere
|
||||
FWDI_public_allow all -- anywhere anywhere
|
||||
ACCEPT icmp -- anywhere anywhere
|
||||
|
||||
Chain FWDI_public_allow (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain FWDI_public_deny (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain FWDI_public_log (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain FWDO_public (2 references)
|
||||
target prot opt source destination
|
||||
FWDO_public_log all -- anywhere anywhere
|
||||
FWDO_public_deny all -- anywhere anywhere
|
||||
FWDO_public_allow all -- anywhere anywhere
|
||||
|
||||
Chain FWDO_public_allow (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain FWDO_public_deny (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain FWDO_public_log (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain INPUT_ZONES (1 references)
|
||||
target prot opt source destination
|
||||
IN_public all -- anywhere anywhere [goto]
|
||||
IN_public all -- anywhere anywhere [goto]
|
||||
|
||||
Chain INPUT_ZONES_SOURCE (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain INPUT_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain IN_public (2 references)
|
||||
target prot opt source destination
|
||||
IN_public_log all -- anywhere anywhere
|
||||
IN_public_deny all -- anywhere anywhere
|
||||
IN_public_allow all -- anywhere anywhere
|
||||
ACCEPT icmp -- anywhere anywhere
|
||||
|
||||
Chain IN_public_allow (1 references)
|
||||
target prot opt source destination
|
||||
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW,UNTRACKED
|
||||
|
||||
Chain IN_public_deny (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain IN_public_log (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain OUTPUT_direct (1 references)
|
||||
target prot opt source destination
|
59
tests/fixtures/centos-7.7/iptables-mangle.out
vendored
Normal file
59
tests/fixtures/centos-7.7/iptables-mangle.out
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
Chain PREROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
PREROUTING_direct all -- anywhere anywhere
|
||||
PREROUTING_ZONES_SOURCE all -- anywhere anywhere
|
||||
PREROUTING_ZONES all -- anywhere anywhere
|
||||
|
||||
Chain INPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
INPUT_direct all -- anywhere anywhere
|
||||
|
||||
Chain FORWARD (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
FORWARD_direct all -- anywhere anywhere
|
||||
|
||||
Chain OUTPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
OUTPUT_direct all -- anywhere anywhere
|
||||
|
||||
Chain POSTROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
POSTROUTING_direct all -- anywhere anywhere
|
||||
|
||||
Chain FORWARD_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain INPUT_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain OUTPUT_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain POSTROUTING_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PREROUTING_ZONES (1 references)
|
||||
target prot opt source destination
|
||||
PRE_public all -- anywhere anywhere [goto]
|
||||
PRE_public all -- anywhere anywhere [goto]
|
||||
|
||||
Chain PREROUTING_ZONES_SOURCE (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PREROUTING_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PRE_public (2 references)
|
||||
target prot opt source destination
|
||||
PRE_public_log all -- anywhere anywhere
|
||||
PRE_public_deny all -- anywhere anywhere
|
||||
PRE_public_allow all -- anywhere anywhere
|
||||
|
||||
Chain PRE_public_allow (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PRE_public_deny (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PRE_public_log (1 references)
|
||||
target prot opt source destination
|
80
tests/fixtures/centos-7.7/iptables-nat.out
vendored
Normal file
80
tests/fixtures/centos-7.7/iptables-nat.out
vendored
Normal file
@ -0,0 +1,80 @@
|
||||
Chain PREROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
PREROUTING_direct all -- anywhere anywhere
|
||||
PREROUTING_ZONES_SOURCE all -- anywhere anywhere
|
||||
PREROUTING_ZONES all -- anywhere anywhere
|
||||
DOCKER all -- anywhere anywhere ADDRTYPE match dst-type LOCAL
|
||||
|
||||
Chain INPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain OUTPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
OUTPUT_direct all -- anywhere anywhere
|
||||
DOCKER all -- anywhere !loopback/8 ADDRTYPE match dst-type LOCAL
|
||||
|
||||
Chain POSTROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
MASQUERADE all -- 172.17.0.0/16 anywhere
|
||||
POSTROUTING_direct all -- anywhere anywhere
|
||||
POSTROUTING_ZONES_SOURCE all -- anywhere anywhere
|
||||
POSTROUTING_ZONES all -- anywhere anywhere
|
||||
|
||||
Chain DOCKER (2 references)
|
||||
target prot opt source destination
|
||||
RETURN all -- anywhere anywhere
|
||||
|
||||
Chain OUTPUT_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain POSTROUTING_ZONES (1 references)
|
||||
target prot opt source destination
|
||||
POST_public all -- anywhere anywhere [goto]
|
||||
POST_public all -- anywhere anywhere [goto]
|
||||
|
||||
Chain POSTROUTING_ZONES_SOURCE (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain POSTROUTING_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain POST_public (2 references)
|
||||
target prot opt source destination
|
||||
POST_public_log all -- anywhere anywhere
|
||||
POST_public_deny all -- anywhere anywhere
|
||||
POST_public_allow all -- anywhere anywhere
|
||||
|
||||
Chain POST_public_allow (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain POST_public_deny (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain POST_public_log (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PREROUTING_ZONES (1 references)
|
||||
target prot opt source destination
|
||||
PRE_public all -- anywhere anywhere [goto]
|
||||
PRE_public all -- anywhere anywhere [goto]
|
||||
|
||||
Chain PREROUTING_ZONES_SOURCE (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PREROUTING_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PRE_public (2 references)
|
||||
target prot opt source destination
|
||||
PRE_public_log all -- anywhere anywhere
|
||||
PRE_public_deny all -- anywhere anywhere
|
||||
PRE_public_allow all -- anywhere anywhere
|
||||
|
||||
Chain PRE_public_allow (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PRE_public_deny (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PRE_public_log (1 references)
|
||||
target prot opt source destination
|
38
tests/fixtures/centos-7.7/iptables-raw.out
vendored
Normal file
38
tests/fixtures/centos-7.7/iptables-raw.out
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
Chain PREROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
PREROUTING_direct all -- anywhere anywhere
|
||||
PREROUTING_ZONES_SOURCE all -- anywhere anywhere
|
||||
PREROUTING_ZONES all -- anywhere anywhere
|
||||
|
||||
Chain OUTPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
OUTPUT_direct all -- anywhere anywhere
|
||||
|
||||
Chain OUTPUT_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PREROUTING_ZONES (1 references)
|
||||
target prot opt source destination
|
||||
PRE_public all -- anywhere anywhere [goto]
|
||||
PRE_public all -- anywhere anywhere [goto]
|
||||
|
||||
Chain PREROUTING_ZONES_SOURCE (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PREROUTING_direct (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PRE_public (2 references)
|
||||
target prot opt source destination
|
||||
PRE_public_log all -- anywhere anywhere
|
||||
PRE_public_deny all -- anywhere anywhere
|
||||
PRE_public_allow all -- anywhere anywhere
|
||||
|
||||
Chain PRE_public_allow (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PRE_public_deny (1 references)
|
||||
target prot opt source destination
|
||||
|
||||
Chain PRE_public_log (1 references)
|
||||
target prot opt source destination
|
4
tests/fixtures/centos-7.7/jobs.out
vendored
Normal file
4
tests/fixtures/centos-7.7/jobs.out
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
[1] Running sleep 11 &
|
||||
[2] Running sleep 12 &
|
||||
[3]- Running sleep 13 &
|
||||
[4]+ Running sleep 14 &
|
22
tests/fixtures/centos-7.7/ls-al.out
vendored
Normal file
22
tests/fixtures/centos-7.7/ls-al.out
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
total 20
|
||||
dr-xr-xr-x. 17 root root 224 Aug 15 10:56 .
|
||||
dr-xr-xr-x. 17 root root 224 Aug 15 10:56 ..
|
||||
lrwxrwxrwx. 1 root root 7 Aug 15 10:53 bin -> usr/bin
|
||||
dr-xr-xr-x. 5 root root 4096 Oct 21 13:18 boot
|
||||
drwxr-xr-x. 20 root root 3180 Oct 25 18:21 dev
|
||||
drwxr-xr-x. 78 root root 8192 Oct 25 18:47 etc
|
||||
drwxr-xr-x. 3 root root 21 Aug 15 10:56 home
|
||||
lrwxrwxrwx. 1 root root 7 Aug 15 10:53 lib -> usr/lib
|
||||
lrwxrwxrwx. 1 root root 9 Aug 15 10:53 lib64 -> usr/lib64
|
||||
drwxr-xr-x. 2 root root 6 Apr 10 2018 media
|
||||
drwxr-xr-x. 2 root root 6 Apr 10 2018 mnt
|
||||
drwxr-xr-x. 2 root root 6 Apr 10 2018 opt
|
||||
dr-xr-xr-x. 121 root root 0 Oct 25 18:21 proc
|
||||
dr-xr-x---. 3 root root 170 Oct 15 11:11 root
|
||||
drwxr-xr-x. 26 root root 800 Oct 25 18:47 run
|
||||
lrwxrwxrwx. 1 root root 8 Aug 15 10:53 sbin -> usr/sbin
|
||||
drwxr-xr-x. 2 root root 6 Apr 10 2018 srv
|
||||
dr-xr-xr-x. 13 root root 0 Oct 25 18:21 sys
|
||||
drwxrwxrwt. 19 root root 4096 Oct 26 10:14 tmp
|
||||
drwxr-xr-x. 13 root root 155 Aug 15 10:53 usr
|
||||
drwxr-xr-x. 19 root root 267 Aug 15 10:57 var
|
22
tests/fixtures/centos-7.7/ls-alh.out
vendored
Normal file
22
tests/fixtures/centos-7.7/ls-alh.out
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
total 20K
|
||||
dr-xr-xr-x. 17 root root 224 Aug 15 10:56 .
|
||||
dr-xr-xr-x. 17 root root 224 Aug 15 10:56 ..
|
||||
lrwxrwxrwx. 1 root root 7 Aug 15 10:53 bin -> usr/bin
|
||||
dr-xr-xr-x. 5 root root 4.0K Oct 21 13:18 boot
|
||||
drwxr-xr-x. 20 root root 3.2K Oct 25 18:21 dev
|
||||
drwxr-xr-x. 78 root root 8.0K Oct 25 18:47 etc
|
||||
drwxr-xr-x. 3 root root 21 Aug 15 10:56 home
|
||||
lrwxrwxrwx. 1 root root 7 Aug 15 10:53 lib -> usr/lib
|
||||
lrwxrwxrwx. 1 root root 9 Aug 15 10:53 lib64 -> usr/lib64
|
||||
drwxr-xr-x. 2 root root 6 Apr 10 2018 media
|
||||
drwxr-xr-x. 2 root root 6 Apr 10 2018 mnt
|
||||
drwxr-xr-x. 2 root root 6 Apr 10 2018 opt
|
||||
dr-xr-xr-x. 121 root root 0 Oct 25 18:21 proc
|
||||
dr-xr-x---. 3 root root 170 Oct 15 11:11 root
|
||||
drwxr-xr-x. 26 root root 800 Oct 25 18:47 run
|
||||
lrwxrwxrwx. 1 root root 8 Aug 15 10:53 sbin -> usr/sbin
|
||||
drwxr-xr-x. 2 root root 6 Apr 10 2018 srv
|
||||
dr-xr-xr-x. 13 root root 0 Oct 25 18:21 sys
|
||||
drwxrwxrwt. 19 root root 4.0K Oct 26 10:14 tmp
|
||||
drwxr-xr-x. 13 root root 155 Aug 15 10:53 usr
|
||||
drwxr-xr-x. 19 root root 267 Aug 15 10:57 var
|
19
tests/fixtures/centos-7.7/ls.out
vendored
Normal file
19
tests/fixtures/centos-7.7/ls.out
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
bin
|
||||
boot
|
||||
dev
|
||||
etc
|
||||
home
|
||||
lib
|
||||
lib64
|
||||
media
|
||||
mnt
|
||||
opt
|
||||
proc
|
||||
root
|
||||
run
|
||||
sbin
|
||||
srv
|
||||
sys
|
||||
tmp
|
||||
usr
|
||||
var
|
7
tests/fixtures/centos-7.7/lsblk.out
vendored
Normal file
7
tests/fixtures/centos-7.7/lsblk.out
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
|
||||
sda 8:0 0 20G 0 disk
|
||||
├─sda1 8:1 0 1G 0 part /boot
|
||||
└─sda2 8:2 0 19G 0 part
|
||||
├─centos-root 253:0 0 17G 0 lvm /
|
||||
└─centos-swap 253:1 0 2G 0 lvm [SWAP]
|
||||
sr0 11:0 1 1024M 0 rom
|
99
tests/fixtures/centos-7.7/lsmod.out
vendored
Normal file
99
tests/fixtures/centos-7.7/lsmod.out
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
Module Size Used by
|
||||
ipt_MASQUERADE 12678 1
|
||||
nf_nat_masquerade_ipv4 13430 1 ipt_MASQUERADE
|
||||
xt_addrtype 12676 2
|
||||
br_netfilter 22256 0
|
||||
bridge 151336 1 br_netfilter
|
||||
stp 12976 1 bridge
|
||||
llc 14552 2 stp,bridge
|
||||
ip6t_rpfilter 12595 1
|
||||
ip6t_REJECT 12625 2
|
||||
nf_reject_ipv6 13717 1 ip6t_REJECT
|
||||
ipt_REJECT 12541 2
|
||||
nf_reject_ipv4 13373 1 ipt_REJECT
|
||||
xt_conntrack 12760 22
|
||||
ebtable_nat 12807 1
|
||||
ip6table_nat 12864 1
|
||||
nf_conntrack_ipv6 18935 7
|
||||
nf_defrag_ipv6 35104 1 nf_conntrack_ipv6
|
||||
nf_nat_ipv6 14131 1 ip6table_nat
|
||||
ip6table_mangle 12700 1
|
||||
ip6table_security 12710 1
|
||||
ip6table_raw 12683 1
|
||||
iptable_nat 12875 1
|
||||
nf_conntrack_ipv4 15053 17
|
||||
nf_defrag_ipv4 12729 1 nf_conntrack_ipv4
|
||||
nf_nat_ipv4 14115 1 iptable_nat
|
||||
nf_nat 26583 3 nf_nat_ipv4,nf_nat_ipv6,nf_nat_masquerade_ipv4
|
||||
iptable_mangle 12695 1
|
||||
iptable_security 12705 1
|
||||
iptable_raw 12678 1
|
||||
nf_conntrack 139224 7 nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_conntrack_ipv6
|
||||
ip_set 45799 0
|
||||
nfnetlink 14519 1 ip_set
|
||||
ebtable_filter 12827 1
|
||||
ebtables 35009 2 ebtable_nat,ebtable_filter
|
||||
ip6table_filter 12815 1
|
||||
ip6_tables 26912 5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
|
||||
iptable_filter 12810 1
|
||||
overlay 91659 0
|
||||
iosf_mbi 15582 0
|
||||
crc32_pclmul 13133 0
|
||||
ppdev 17671 0
|
||||
ghash_clmulni_intel 13273 0
|
||||
vmw_balloon 18094 0
|
||||
btusb 41449 0
|
||||
aesni_intel 189456 0
|
||||
btrtl 12945 1 btusb
|
||||
btbcm 14040 1 btusb
|
||||
btintel 15709 1 btusb
|
||||
lrw 13286 1 aesni_intel
|
||||
bluetooth 548688 5 btbcm,btrtl,btusb,btintel
|
||||
gf128mul 15139 1 lrw
|
||||
glue_helper 13990 1 aesni_intel
|
||||
ablk_helper 13597 1 aesni_intel
|
||||
cryptd 21190 3 ghash_clmulni_intel,aesni_intel,ablk_helper
|
||||
joydev 17389 0
|
||||
pcspkr 12718 0
|
||||
sg 40719 0
|
||||
rfkill 22391 1 bluetooth
|
||||
vmw_vmci 67168 0
|
||||
i2c_piix4 22401 0
|
||||
parport_pc 28205 0
|
||||
parport 46395 2 ppdev,parport_pc
|
||||
ip_tables 27126 5 iptable_security,iptable_filter,iptable_mangle,iptable_nat,iptable_raw
|
||||
xfs 993020 2
|
||||
libcrc32c 12644 3 xfs,nf_nat,nf_conntrack
|
||||
sr_mod 22416 0
|
||||
cdrom 42556 1 sr_mod
|
||||
ata_generic 12923 0
|
||||
pata_acpi 13053 0
|
||||
vmwgfx 291993 1
|
||||
sd_mod 46281 3
|
||||
crc_t10dif 12912 1 sd_mod
|
||||
crct10dif_generic 12647 0
|
||||
drm_kms_helper 186531 1 vmwgfx
|
||||
syscopyarea 12529 1 drm_kms_helper
|
||||
sysfillrect 12701 1 drm_kms_helper
|
||||
sysimgblt 12640 1 drm_kms_helper
|
||||
fb_sys_fops 12703 1 drm_kms_helper
|
||||
crct10dif_pclmul 14307 1
|
||||
crct10dif_common 12595 3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
|
||||
ttm 96673 1 vmwgfx
|
||||
crc32c_intel 22094 1
|
||||
drm 456166 4 ttm,drm_kms_helper,vmwgfx
|
||||
ata_piix 35052 0
|
||||
serio_raw 13434 0
|
||||
nfit 55479 0
|
||||
mptspi 22673 2
|
||||
libata 243133 3 pata_acpi,ata_generic,ata_piix
|
||||
scsi_transport_spi 30732 1 mptspi
|
||||
libnvdimm 155545 1 nfit
|
||||
e1000 137624 0
|
||||
mptscsih 40150 1 mptspi
|
||||
mptbase 106036 2 mptspi,mptscsih
|
||||
drm_panel_orientation_quirks 17180 1 drm
|
||||
dm_mirror 22289 0
|
||||
dm_region_hash 20813 1 dm_mirror
|
||||
dm_log 18411 2 dm_region_hash,dm_mirror
|
||||
dm_mod 124501 8 dm_log,dm_mirror
|
3390
tests/fixtures/centos-7.7/lsof-sudo.out
vendored
Normal file
3390
tests/fixtures/centos-7.7/lsof-sudo.out
vendored
Normal file
File diff suppressed because it is too large
Load Diff
639
tests/fixtures/centos-7.7/lsof.out
vendored
Normal file
639
tests/fixtures/centos-7.7/lsof.out
vendored
Normal file
@ -0,0 +1,639 @@
|
||||
COMMAND PID TID USER FD TYPE DEVICE SIZE/OFF NODE NAME
|
||||
systemd 1 root cwd unknown /proc/1/cwd (readlink: Permission denied)
|
||||
systemd 1 root rtd unknown /proc/1/root (readlink: Permission denied)
|
||||
systemd 1 root txt unknown /proc/1/exe (readlink: Permission denied)
|
||||
systemd 1 root NOFD /proc/1/fd (opendir: Permission denied)
|
||||
kthreadd 2 root cwd unknown /proc/2/cwd (readlink: Permission denied)
|
||||
kthreadd 2 root rtd unknown /proc/2/root (readlink: Permission denied)
|
||||
kthreadd 2 root txt unknown /proc/2/exe (readlink: Permission denied)
|
||||
kthreadd 2 root NOFD /proc/2/fd (opendir: Permission denied)
|
||||
kworker/0 4 root cwd unknown /proc/4/cwd (readlink: Permission denied)
|
||||
kworker/0 4 root rtd unknown /proc/4/root (readlink: Permission denied)
|
||||
kworker/0 4 root txt unknown /proc/4/exe (readlink: Permission denied)
|
||||
kworker/0 4 root NOFD /proc/4/fd (opendir: Permission denied)
|
||||
kworker/u 5 root cwd unknown /proc/5/cwd (readlink: Permission denied)
|
||||
kworker/u 5 root rtd unknown /proc/5/root (readlink: Permission denied)
|
||||
kworker/u 5 root txt unknown /proc/5/exe (readlink: Permission denied)
|
||||
kworker/u 5 root NOFD /proc/5/fd (opendir: Permission denied)
|
||||
ksoftirqd 6 root cwd unknown /proc/6/cwd (readlink: Permission denied)
|
||||
ksoftirqd 6 root rtd unknown /proc/6/root (readlink: Permission denied)
|
||||
ksoftirqd 6 root txt unknown /proc/6/exe (readlink: Permission denied)
|
||||
ksoftirqd 6 root NOFD /proc/6/fd (opendir: Permission denied)
|
||||
migration 7 root cwd unknown /proc/7/cwd (readlink: Permission denied)
|
||||
migration 7 root rtd unknown /proc/7/root (readlink: Permission denied)
|
||||
migration 7 root txt unknown /proc/7/exe (readlink: Permission denied)
|
||||
migration 7 root NOFD /proc/7/fd (opendir: Permission denied)
|
||||
rcu_bh 8 root cwd unknown /proc/8/cwd (readlink: Permission denied)
|
||||
rcu_bh 8 root rtd unknown /proc/8/root (readlink: Permission denied)
|
||||
rcu_bh 8 root txt unknown /proc/8/exe (readlink: Permission denied)
|
||||
rcu_bh 8 root NOFD /proc/8/fd (opendir: Permission denied)
|
||||
rcu_sched 9 root cwd unknown /proc/9/cwd (readlink: Permission denied)
|
||||
rcu_sched 9 root rtd unknown /proc/9/root (readlink: Permission denied)
|
||||
rcu_sched 9 root txt unknown /proc/9/exe (readlink: Permission denied)
|
||||
rcu_sched 9 root NOFD /proc/9/fd (opendir: Permission denied)
|
||||
lru-add-d 10 root cwd unknown /proc/10/cwd (readlink: Permission denied)
|
||||
lru-add-d 10 root rtd unknown /proc/10/root (readlink: Permission denied)
|
||||
lru-add-d 10 root txt unknown /proc/10/exe (readlink: Permission denied)
|
||||
lru-add-d 10 root NOFD /proc/10/fd (opendir: Permission denied)
|
||||
watchdog/ 11 root cwd unknown /proc/11/cwd (readlink: Permission denied)
|
||||
watchdog/ 11 root rtd unknown /proc/11/root (readlink: Permission denied)
|
||||
watchdog/ 11 root txt unknown /proc/11/exe (readlink: Permission denied)
|
||||
watchdog/ 11 root NOFD /proc/11/fd (opendir: Permission denied)
|
||||
kdevtmpfs 13 root cwd unknown /proc/13/cwd (readlink: Permission denied)
|
||||
kdevtmpfs 13 root rtd unknown /proc/13/root (readlink: Permission denied)
|
||||
kdevtmpfs 13 root txt unknown /proc/13/exe (readlink: Permission denied)
|
||||
kdevtmpfs 13 root NOFD /proc/13/fd (opendir: Permission denied)
|
||||
netns 14 root cwd unknown /proc/14/cwd (readlink: Permission denied)
|
||||
netns 14 root rtd unknown /proc/14/root (readlink: Permission denied)
|
||||
netns 14 root txt unknown /proc/14/exe (readlink: Permission denied)
|
||||
netns 14 root NOFD /proc/14/fd (opendir: Permission denied)
|
||||
khungtask 15 root cwd unknown /proc/15/cwd (readlink: Permission denied)
|
||||
khungtask 15 root rtd unknown /proc/15/root (readlink: Permission denied)
|
||||
khungtask 15 root txt unknown /proc/15/exe (readlink: Permission denied)
|
||||
khungtask 15 root NOFD /proc/15/fd (opendir: Permission denied)
|
||||
writeback 16 root cwd unknown /proc/16/cwd (readlink: Permission denied)
|
||||
writeback 16 root rtd unknown /proc/16/root (readlink: Permission denied)
|
||||
writeback 16 root txt unknown /proc/16/exe (readlink: Permission denied)
|
||||
writeback 16 root NOFD /proc/16/fd (opendir: Permission denied)
|
||||
kintegrit 17 root cwd unknown /proc/17/cwd (readlink: Permission denied)
|
||||
kintegrit 17 root rtd unknown /proc/17/root (readlink: Permission denied)
|
||||
kintegrit 17 root txt unknown /proc/17/exe (readlink: Permission denied)
|
||||
kintegrit 17 root NOFD /proc/17/fd (opendir: Permission denied)
|
||||
bioset 18 root cwd unknown /proc/18/cwd (readlink: Permission denied)
|
||||
bioset 18 root rtd unknown /proc/18/root (readlink: Permission denied)
|
||||
bioset 18 root txt unknown /proc/18/exe (readlink: Permission denied)
|
||||
bioset 18 root NOFD /proc/18/fd (opendir: Permission denied)
|
||||
bioset 19 root cwd unknown /proc/19/cwd (readlink: Permission denied)
|
||||
bioset 19 root rtd unknown /proc/19/root (readlink: Permission denied)
|
||||
bioset 19 root txt unknown /proc/19/exe (readlink: Permission denied)
|
||||
bioset 19 root NOFD /proc/19/fd (opendir: Permission denied)
|
||||
bioset 20 root cwd unknown /proc/20/cwd (readlink: Permission denied)
|
||||
bioset 20 root rtd unknown /proc/20/root (readlink: Permission denied)
|
||||
bioset 20 root txt unknown /proc/20/exe (readlink: Permission denied)
|
||||
bioset 20 root NOFD /proc/20/fd (opendir: Permission denied)
|
||||
kblockd 21 root cwd unknown /proc/21/cwd (readlink: Permission denied)
|
||||
kblockd 21 root rtd unknown /proc/21/root (readlink: Permission denied)
|
||||
kblockd 21 root txt unknown /proc/21/exe (readlink: Permission denied)
|
||||
kblockd 21 root NOFD /proc/21/fd (opendir: Permission denied)
|
||||
md 22 root cwd unknown /proc/22/cwd (readlink: Permission denied)
|
||||
md 22 root rtd unknown /proc/22/root (readlink: Permission denied)
|
||||
md 22 root txt unknown /proc/22/exe (readlink: Permission denied)
|
||||
md 22 root NOFD /proc/22/fd (opendir: Permission denied)
|
||||
edac-poll 23 root cwd unknown /proc/23/cwd (readlink: Permission denied)
|
||||
edac-poll 23 root rtd unknown /proc/23/root (readlink: Permission denied)
|
||||
edac-poll 23 root txt unknown /proc/23/exe (readlink: Permission denied)
|
||||
edac-poll 23 root NOFD /proc/23/fd (opendir: Permission denied)
|
||||
watchdogd 24 root cwd unknown /proc/24/cwd (readlink: Permission denied)
|
||||
watchdogd 24 root rtd unknown /proc/24/root (readlink: Permission denied)
|
||||
watchdogd 24 root txt unknown /proc/24/exe (readlink: Permission denied)
|
||||
watchdogd 24 root NOFD /proc/24/fd (opendir: Permission denied)
|
||||
kswapd0 30 root cwd unknown /proc/30/cwd (readlink: Permission denied)
|
||||
kswapd0 30 root rtd unknown /proc/30/root (readlink: Permission denied)
|
||||
kswapd0 30 root txt unknown /proc/30/exe (readlink: Permission denied)
|
||||
kswapd0 30 root NOFD /proc/30/fd (opendir: Permission denied)
|
||||
ksmd 31 root cwd unknown /proc/31/cwd (readlink: Permission denied)
|
||||
ksmd 31 root rtd unknown /proc/31/root (readlink: Permission denied)
|
||||
ksmd 31 root txt unknown /proc/31/exe (readlink: Permission denied)
|
||||
ksmd 31 root NOFD /proc/31/fd (opendir: Permission denied)
|
||||
khugepage 32 root cwd unknown /proc/32/cwd (readlink: Permission denied)
|
||||
khugepage 32 root rtd unknown /proc/32/root (readlink: Permission denied)
|
||||
khugepage 32 root txt unknown /proc/32/exe (readlink: Permission denied)
|
||||
khugepage 32 root NOFD /proc/32/fd (opendir: Permission denied)
|
||||
crypto 33 root cwd unknown /proc/33/cwd (readlink: Permission denied)
|
||||
crypto 33 root rtd unknown /proc/33/root (readlink: Permission denied)
|
||||
crypto 33 root txt unknown /proc/33/exe (readlink: Permission denied)
|
||||
crypto 33 root NOFD /proc/33/fd (opendir: Permission denied)
|
||||
kthrotld 41 root cwd unknown /proc/41/cwd (readlink: Permission denied)
|
||||
kthrotld 41 root rtd unknown /proc/41/root (readlink: Permission denied)
|
||||
kthrotld 41 root txt unknown /proc/41/exe (readlink: Permission denied)
|
||||
kthrotld 41 root NOFD /proc/41/fd (opendir: Permission denied)
|
||||
kworker/u 42 root cwd unknown /proc/42/cwd (readlink: Permission denied)
|
||||
kworker/u 42 root rtd unknown /proc/42/root (readlink: Permission denied)
|
||||
kworker/u 42 root txt unknown /proc/42/exe (readlink: Permission denied)
|
||||
kworker/u 42 root NOFD /proc/42/fd (opendir: Permission denied)
|
||||
kmpath_rd 43 root cwd unknown /proc/43/cwd (readlink: Permission denied)
|
||||
kmpath_rd 43 root rtd unknown /proc/43/root (readlink: Permission denied)
|
||||
kmpath_rd 43 root txt unknown /proc/43/exe (readlink: Permission denied)
|
||||
kmpath_rd 43 root NOFD /proc/43/fd (opendir: Permission denied)
|
||||
kaluad 44 root cwd unknown /proc/44/cwd (readlink: Permission denied)
|
||||
kaluad 44 root rtd unknown /proc/44/root (readlink: Permission denied)
|
||||
kaluad 44 root txt unknown /proc/44/exe (readlink: Permission denied)
|
||||
kaluad 44 root NOFD /proc/44/fd (opendir: Permission denied)
|
||||
kpsmoused 45 root cwd unknown /proc/45/cwd (readlink: Permission denied)
|
||||
kpsmoused 45 root rtd unknown /proc/45/root (readlink: Permission denied)
|
||||
kpsmoused 45 root txt unknown /proc/45/exe (readlink: Permission denied)
|
||||
kpsmoused 45 root NOFD /proc/45/fd (opendir: Permission denied)
|
||||
ipv6_addr 47 root cwd unknown /proc/47/cwd (readlink: Permission denied)
|
||||
ipv6_addr 47 root rtd unknown /proc/47/root (readlink: Permission denied)
|
||||
ipv6_addr 47 root txt unknown /proc/47/exe (readlink: Permission denied)
|
||||
ipv6_addr 47 root NOFD /proc/47/fd (opendir: Permission denied)
|
||||
deferwq 60 root cwd unknown /proc/60/cwd (readlink: Permission denied)
|
||||
deferwq 60 root rtd unknown /proc/60/root (readlink: Permission denied)
|
||||
deferwq 60 root txt unknown /proc/60/exe (readlink: Permission denied)
|
||||
deferwq 60 root NOFD /proc/60/fd (opendir: Permission denied)
|
||||
kauditd 95 root cwd unknown /proc/95/cwd (readlink: Permission denied)
|
||||
kauditd 95 root rtd unknown /proc/95/root (readlink: Permission denied)
|
||||
kauditd 95 root txt unknown /proc/95/exe (readlink: Permission denied)
|
||||
kauditd 95 root NOFD /proc/95/fd (opendir: Permission denied)
|
||||
mpt_poll_ 272 root cwd unknown /proc/272/cwd (readlink: Permission denied)
|
||||
mpt_poll_ 272 root rtd unknown /proc/272/root (readlink: Permission denied)
|
||||
mpt_poll_ 272 root txt unknown /proc/272/exe (readlink: Permission denied)
|
||||
mpt_poll_ 272 root NOFD /proc/272/fd (opendir: Permission denied)
|
||||
mpt/0 273 root cwd unknown /proc/273/cwd (readlink: Permission denied)
|
||||
mpt/0 273 root rtd unknown /proc/273/root (readlink: Permission denied)
|
||||
mpt/0 273 root txt unknown /proc/273/exe (readlink: Permission denied)
|
||||
mpt/0 273 root NOFD /proc/273/fd (opendir: Permission denied)
|
||||
ata_sff 274 root cwd unknown /proc/274/cwd (readlink: Permission denied)
|
||||
ata_sff 274 root rtd unknown /proc/274/root (readlink: Permission denied)
|
||||
ata_sff 274 root txt unknown /proc/274/exe (readlink: Permission denied)
|
||||
ata_sff 274 root NOFD /proc/274/fd (opendir: Permission denied)
|
||||
nfit 275 root cwd unknown /proc/275/cwd (readlink: Permission denied)
|
||||
nfit 275 root rtd unknown /proc/275/root (readlink: Permission denied)
|
||||
nfit 275 root txt unknown /proc/275/exe (readlink: Permission denied)
|
||||
nfit 275 root NOFD /proc/275/fd (opendir: Permission denied)
|
||||
scsi_eh_0 291 root cwd unknown /proc/291/cwd (readlink: Permission denied)
|
||||
scsi_eh_0 291 root rtd unknown /proc/291/root (readlink: Permission denied)
|
||||
scsi_eh_0 291 root txt unknown /proc/291/exe (readlink: Permission denied)
|
||||
scsi_eh_0 291 root NOFD /proc/291/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 295 root cwd unknown /proc/295/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 295 root rtd unknown /proc/295/root (readlink: Permission denied)
|
||||
scsi_tmf_ 295 root txt unknown /proc/295/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 295 root NOFD /proc/295/fd (opendir: Permission denied)
|
||||
scsi_eh_1 330 root cwd unknown /proc/330/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 330 root rtd unknown /proc/330/root (readlink: Permission denied)
|
||||
scsi_eh_1 330 root txt unknown /proc/330/exe (readlink: Permission denied)
|
||||
scsi_eh_1 330 root NOFD /proc/330/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 331 root cwd unknown /proc/331/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 331 root rtd unknown /proc/331/root (readlink: Permission denied)
|
||||
scsi_tmf_ 331 root txt unknown /proc/331/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 331 root NOFD /proc/331/fd (opendir: Permission denied)
|
||||
scsi_eh_2 339 root cwd unknown /proc/339/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 339 root rtd unknown /proc/339/root (readlink: Permission denied)
|
||||
scsi_eh_2 339 root txt unknown /proc/339/exe (readlink: Permission denied)
|
||||
scsi_eh_2 339 root NOFD /proc/339/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 346 root cwd unknown /proc/346/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 346 root rtd unknown /proc/346/root (readlink: Permission denied)
|
||||
scsi_tmf_ 346 root txt unknown /proc/346/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 346 root NOFD /proc/346/fd (opendir: Permission denied)
|
||||
irq/16-vm 357 root cwd unknown /proc/357/cwd (readlink: Permission denied)
|
||||
irq/16-vm 357 root rtd unknown /proc/357/root (readlink: Permission denied)
|
||||
irq/16-vm 357 root txt unknown /proc/357/exe (readlink: Permission denied)
|
||||
irq/16-vm 357 root NOFD /proc/357/fd (opendir: Permission denied)
|
||||
ttm_swap 358 root cwd unknown /proc/358/cwd (readlink: Permission denied)
|
||||
ttm_swap 358 root rtd unknown /proc/358/root (readlink: Permission denied)
|
||||
ttm_swap 358 root txt unknown /proc/358/exe (readlink: Permission denied)
|
||||
ttm_swap 358 root NOFD /proc/358/fd (opendir: Permission denied)
|
||||
kdmflush 431 root cwd unknown /proc/431/cwd (readlink: Permission denied)
|
||||
kdmflush 431 root rtd unknown /proc/431/root (readlink: Permission denied)
|
||||
kdmflush 431 root txt unknown /proc/431/exe (readlink: Permission denied)
|
||||
kdmflush 431 root NOFD /proc/431/fd (opendir: Permission denied)
|
||||
bioset 432 root cwd unknown /proc/432/cwd (readlink: Permission denied)
|
||||
bioset 432 root rtd unknown /proc/432/root (readlink: Permission denied)
|
||||
bioset 432 root txt unknown /proc/432/exe (readlink: Permission denied)
|
||||
bioset 432 root NOFD /proc/432/fd (opendir: Permission denied)
|
||||
kdmflush 442 root cwd unknown /proc/442/cwd (readlink: Permission denied)
|
||||
kdmflush 442 root rtd unknown /proc/442/root (readlink: Permission denied)
|
||||
kdmflush 442 root txt unknown /proc/442/exe (readlink: Permission denied)
|
||||
kdmflush 442 root NOFD /proc/442/fd (opendir: Permission denied)
|
||||
bioset 443 root cwd unknown /proc/443/cwd (readlink: Permission denied)
|
||||
bioset 443 root rtd unknown /proc/443/root (readlink: Permission denied)
|
||||
bioset 443 root txt unknown /proc/443/exe (readlink: Permission denied)
|
||||
bioset 443 root NOFD /proc/443/fd (opendir: Permission denied)
|
||||
bioset 455 root cwd unknown /proc/455/cwd (readlink: Permission denied)
|
||||
bioset 455 root rtd unknown /proc/455/root (readlink: Permission denied)
|
||||
bioset 455 root txt unknown /proc/455/exe (readlink: Permission denied)
|
||||
bioset 455 root NOFD /proc/455/fd (opendir: Permission denied)
|
||||
xfsalloc 456 root cwd unknown /proc/456/cwd (readlink: Permission denied)
|
||||
xfsalloc 456 root rtd unknown /proc/456/root (readlink: Permission denied)
|
||||
xfsalloc 456 root txt unknown /proc/456/exe (readlink: Permission denied)
|
||||
xfsalloc 456 root NOFD /proc/456/fd (opendir: Permission denied)
|
||||
xfs_mru_c 457 root cwd unknown /proc/457/cwd (readlink: Permission denied)
|
||||
xfs_mru_c 457 root rtd unknown /proc/457/root (readlink: Permission denied)
|
||||
xfs_mru_c 457 root txt unknown /proc/457/exe (readlink: Permission denied)
|
||||
xfs_mru_c 457 root NOFD /proc/457/fd (opendir: Permission denied)
|
||||
xfs-buf/d 458 root cwd unknown /proc/458/cwd (readlink: Permission denied)
|
||||
xfs-buf/d 458 root rtd unknown /proc/458/root (readlink: Permission denied)
|
||||
xfs-buf/d 458 root txt unknown /proc/458/exe (readlink: Permission denied)
|
||||
xfs-buf/d 458 root NOFD /proc/458/fd (opendir: Permission denied)
|
||||
xfs-data/ 459 root cwd unknown /proc/459/cwd (readlink: Permission denied)
|
||||
xfs-data/ 459 root rtd unknown /proc/459/root (readlink: Permission denied)
|
||||
xfs-data/ 459 root txt unknown /proc/459/exe (readlink: Permission denied)
|
||||
xfs-data/ 459 root NOFD /proc/459/fd (opendir: Permission denied)
|
||||
xfs-conv/ 460 root cwd unknown /proc/460/cwd (readlink: Permission denied)
|
||||
xfs-conv/ 460 root rtd unknown /proc/460/root (readlink: Permission denied)
|
||||
xfs-conv/ 460 root txt unknown /proc/460/exe (readlink: Permission denied)
|
||||
xfs-conv/ 460 root NOFD /proc/460/fd (opendir: Permission denied)
|
||||
xfs-cil/d 461 root cwd unknown /proc/461/cwd (readlink: Permission denied)
|
||||
xfs-cil/d 461 root rtd unknown /proc/461/root (readlink: Permission denied)
|
||||
xfs-cil/d 461 root txt unknown /proc/461/exe (readlink: Permission denied)
|
||||
xfs-cil/d 461 root NOFD /proc/461/fd (opendir: Permission denied)
|
||||
xfs-recla 462 root cwd unknown /proc/462/cwd (readlink: Permission denied)
|
||||
xfs-recla 462 root rtd unknown /proc/462/root (readlink: Permission denied)
|
||||
xfs-recla 462 root txt unknown /proc/462/exe (readlink: Permission denied)
|
||||
xfs-recla 462 root NOFD /proc/462/fd (opendir: Permission denied)
|
||||
xfs-log/d 463 root cwd unknown /proc/463/cwd (readlink: Permission denied)
|
||||
xfs-log/d 463 root rtd unknown /proc/463/root (readlink: Permission denied)
|
||||
xfs-log/d 463 root txt unknown /proc/463/exe (readlink: Permission denied)
|
||||
xfs-log/d 463 root NOFD /proc/463/fd (opendir: Permission denied)
|
||||
xfs-eofbl 464 root cwd unknown /proc/464/cwd (readlink: Permission denied)
|
||||
xfs-eofbl 464 root rtd unknown /proc/464/root (readlink: Permission denied)
|
||||
xfs-eofbl 464 root txt unknown /proc/464/exe (readlink: Permission denied)
|
||||
xfs-eofbl 464 root NOFD /proc/464/fd (opendir: Permission denied)
|
||||
xfsaild/d 465 root cwd unknown /proc/465/cwd (readlink: Permission denied)
|
||||
xfsaild/d 465 root rtd unknown /proc/465/root (readlink: Permission denied)
|
||||
xfsaild/d 465 root txt unknown /proc/465/exe (readlink: Permission denied)
|
||||
xfsaild/d 465 root NOFD /proc/465/fd (opendir: Permission denied)
|
||||
kworker/0 466 root cwd unknown /proc/466/cwd (readlink: Permission denied)
|
||||
kworker/0 466 root rtd unknown /proc/466/root (readlink: Permission denied)
|
||||
kworker/0 466 root txt unknown /proc/466/exe (readlink: Permission denied)
|
||||
kworker/0 466 root NOFD /proc/466/fd (opendir: Permission denied)
|
||||
systemd-j 544 root cwd unknown /proc/544/cwd (readlink: Permission denied)
|
||||
systemd-j 544 root rtd unknown /proc/544/root (readlink: Permission denied)
|
||||
systemd-j 544 root txt unknown /proc/544/exe (readlink: Permission denied)
|
||||
systemd-j 544 root NOFD /proc/544/fd (opendir: Permission denied)
|
||||
lvmetad 560 root cwd unknown /proc/560/cwd (readlink: Permission denied)
|
||||
lvmetad 560 root rtd unknown /proc/560/root (readlink: Permission denied)
|
||||
lvmetad 560 root txt unknown /proc/560/exe (readlink: Permission denied)
|
||||
lvmetad 560 root NOFD /proc/560/fd (opendir: Permission denied)
|
||||
systemd-u 577 root cwd unknown /proc/577/cwd (readlink: Permission denied)
|
||||
systemd-u 577 root rtd unknown /proc/577/root (readlink: Permission denied)
|
||||
systemd-u 577 root txt unknown /proc/577/exe (readlink: Permission denied)
|
||||
systemd-u 577 root NOFD /proc/577/fd (opendir: Permission denied)
|
||||
xfs-buf/s 629 root cwd unknown /proc/629/cwd (readlink: Permission denied)
|
||||
xfs-buf/s 629 root rtd unknown /proc/629/root (readlink: Permission denied)
|
||||
xfs-buf/s 629 root txt unknown /proc/629/exe (readlink: Permission denied)
|
||||
xfs-buf/s 629 root NOFD /proc/629/fd (opendir: Permission denied)
|
||||
xfs-data/ 638 root cwd unknown /proc/638/cwd (readlink: Permission denied)
|
||||
xfs-data/ 638 root rtd unknown /proc/638/root (readlink: Permission denied)
|
||||
xfs-data/ 638 root txt unknown /proc/638/exe (readlink: Permission denied)
|
||||
xfs-data/ 638 root NOFD /proc/638/fd (opendir: Permission denied)
|
||||
xfs-conv/ 641 root cwd unknown /proc/641/cwd (readlink: Permission denied)
|
||||
xfs-conv/ 641 root rtd unknown /proc/641/root (readlink: Permission denied)
|
||||
xfs-conv/ 641 root txt unknown /proc/641/exe (readlink: Permission denied)
|
||||
xfs-conv/ 641 root NOFD /proc/641/fd (opendir: Permission denied)
|
||||
xfs-cil/s 646 root cwd unknown /proc/646/cwd (readlink: Permission denied)
|
||||
xfs-cil/s 646 root rtd unknown /proc/646/root (readlink: Permission denied)
|
||||
xfs-cil/s 646 root txt unknown /proc/646/exe (readlink: Permission denied)
|
||||
xfs-cil/s 646 root NOFD /proc/646/fd (opendir: Permission denied)
|
||||
xfs-recla 651 root cwd unknown /proc/651/cwd (readlink: Permission denied)
|
||||
xfs-recla 651 root rtd unknown /proc/651/root (readlink: Permission denied)
|
||||
xfs-recla 651 root txt unknown /proc/651/exe (readlink: Permission denied)
|
||||
xfs-recla 651 root NOFD /proc/651/fd (opendir: Permission denied)
|
||||
xfs-log/s 654 root cwd unknown /proc/654/cwd (readlink: Permission denied)
|
||||
xfs-log/s 654 root rtd unknown /proc/654/root (readlink: Permission denied)
|
||||
xfs-log/s 654 root txt unknown /proc/654/exe (readlink: Permission denied)
|
||||
xfs-log/s 654 root NOFD /proc/654/fd (opendir: Permission denied)
|
||||
xfs-eofbl 658 root cwd unknown /proc/658/cwd (readlink: Permission denied)
|
||||
xfs-eofbl 658 root rtd unknown /proc/658/root (readlink: Permission denied)
|
||||
xfs-eofbl 658 root txt unknown /proc/658/exe (readlink: Permission denied)
|
||||
xfs-eofbl 658 root NOFD /proc/658/fd (opendir: Permission denied)
|
||||
xfsaild/s 667 root cwd unknown /proc/667/cwd (readlink: Permission denied)
|
||||
xfsaild/s 667 root rtd unknown /proc/667/root (readlink: Permission denied)
|
||||
xfsaild/s 667 root txt unknown /proc/667/exe (readlink: Permission denied)
|
||||
xfsaild/s 667 root NOFD /proc/667/fd (opendir: Permission denied)
|
||||
kworker/u 675 root cwd unknown /proc/675/cwd (readlink: Permission denied)
|
||||
kworker/u 675 root rtd unknown /proc/675/root (readlink: Permission denied)
|
||||
kworker/u 675 root txt unknown /proc/675/exe (readlink: Permission denied)
|
||||
kworker/u 675 root NOFD /proc/675/fd (opendir: Permission denied)
|
||||
hci0 677 root cwd unknown /proc/677/cwd (readlink: Permission denied)
|
||||
hci0 677 root rtd unknown /proc/677/root (readlink: Permission denied)
|
||||
hci0 677 root txt unknown /proc/677/exe (readlink: Permission denied)
|
||||
hci0 677 root NOFD /proc/677/fd (opendir: Permission denied)
|
||||
hci0 678 root cwd unknown /proc/678/cwd (readlink: Permission denied)
|
||||
hci0 678 root rtd unknown /proc/678/root (readlink: Permission denied)
|
||||
hci0 678 root txt unknown /proc/678/exe (readlink: Permission denied)
|
||||
hci0 678 root NOFD /proc/678/fd (opendir: Permission denied)
|
||||
kworker/u 681 root cwd unknown /proc/681/cwd (readlink: Permission denied)
|
||||
kworker/u 681 root rtd unknown /proc/681/root (readlink: Permission denied)
|
||||
kworker/u 681 root txt unknown /proc/681/exe (readlink: Permission denied)
|
||||
kworker/u 681 root NOFD /proc/681/fd (opendir: Permission denied)
|
||||
auditd 756 root cwd unknown /proc/756/cwd (readlink: Permission denied)
|
||||
auditd 756 root rtd unknown /proc/756/root (readlink: Permission denied)
|
||||
auditd 756 root txt unknown /proc/756/exe (readlink: Permission denied)
|
||||
auditd 756 root NOFD /proc/756/fd (opendir: Permission denied)
|
||||
auditd 756 757 root cwd unknown /proc/756/task/757/cwd (readlink: Permission denied)
|
||||
auditd 756 757 root rtd unknown /proc/756/task/757/root (readlink: Permission denied)
|
||||
auditd 756 757 root txt unknown /proc/756/task/757/exe (readlink: Permission denied)
|
||||
auditd 756 757 root NOFD /proc/756/task/757/fd (opendir: Permission denied)
|
||||
dbus-daem 778 dbus cwd unknown /proc/778/cwd (readlink: Permission denied)
|
||||
dbus-daem 778 dbus rtd unknown /proc/778/root (readlink: Permission denied)
|
||||
dbus-daem 778 dbus txt unknown /proc/778/exe (readlink: Permission denied)
|
||||
dbus-daem 778 dbus NOFD /proc/778/fd (opendir: Permission denied)
|
||||
dbus-daem 778 779 dbus cwd unknown /proc/778/task/779/cwd (readlink: Permission denied)
|
||||
dbus-daem 778 779 dbus rtd unknown /proc/778/task/779/root (readlink: Permission denied)
|
||||
dbus-daem 778 779 dbus txt unknown /proc/778/task/779/exe (readlink: Permission denied)
|
||||
dbus-daem 778 779 dbus NOFD /proc/778/task/779/fd (opendir: Permission denied)
|
||||
polkitd 781 polkitd cwd unknown /proc/781/cwd (readlink: Permission denied)
|
||||
polkitd 781 polkitd rtd unknown /proc/781/root (readlink: Permission denied)
|
||||
polkitd 781 polkitd txt unknown /proc/781/exe (readlink: Permission denied)
|
||||
polkitd 781 polkitd NOFD /proc/781/fd (opendir: Permission denied)
|
||||
gmain 781 802 polkitd cwd unknown /proc/781/task/802/cwd (readlink: Permission denied)
|
||||
gmain 781 802 polkitd rtd unknown /proc/781/task/802/root (readlink: Permission denied)
|
||||
gmain 781 802 polkitd txt unknown /proc/781/task/802/exe (readlink: Permission denied)
|
||||
gmain 781 802 polkitd NOFD /proc/781/task/802/fd (opendir: Permission denied)
|
||||
gdbus 781 805 polkitd cwd unknown /proc/781/task/805/cwd (readlink: Permission denied)
|
||||
gdbus 781 805 polkitd rtd unknown /proc/781/task/805/root (readlink: Permission denied)
|
||||
gdbus 781 805 polkitd txt unknown /proc/781/task/805/exe (readlink: Permission denied)
|
||||
gdbus 781 805 polkitd NOFD /proc/781/task/805/fd (opendir: Permission denied)
|
||||
polkitd 781 808 polkitd cwd unknown /proc/781/task/808/cwd (readlink: Permission denied)
|
||||
polkitd 781 808 polkitd rtd unknown /proc/781/task/808/root (readlink: Permission denied)
|
||||
polkitd 781 808 polkitd txt unknown /proc/781/task/808/exe (readlink: Permission denied)
|
||||
polkitd 781 808 polkitd NOFD /proc/781/task/808/fd (opendir: Permission denied)
|
||||
JS 781 812 polkitd cwd unknown /proc/781/task/812/cwd (readlink: Permission denied)
|
||||
JS 781 812 polkitd rtd unknown /proc/781/task/812/root (readlink: Permission denied)
|
||||
JS 781 812 polkitd txt unknown /proc/781/task/812/exe (readlink: Permission denied)
|
||||
JS 781 812 polkitd NOFD /proc/781/task/812/fd (opendir: Permission denied)
|
||||
JS 781 814 polkitd cwd unknown /proc/781/task/814/cwd (readlink: Permission denied)
|
||||
JS 781 814 polkitd rtd unknown /proc/781/task/814/root (readlink: Permission denied)
|
||||
JS 781 814 polkitd txt unknown /proc/781/task/814/exe (readlink: Permission denied)
|
||||
JS 781 814 polkitd NOFD /proc/781/task/814/fd (opendir: Permission denied)
|
||||
polkitd 781 818 polkitd cwd unknown /proc/781/task/818/cwd (readlink: Permission denied)
|
||||
polkitd 781 818 polkitd rtd unknown /proc/781/task/818/root (readlink: Permission denied)
|
||||
polkitd 781 818 polkitd txt unknown /proc/781/task/818/exe (readlink: Permission denied)
|
||||
polkitd 781 818 polkitd NOFD /proc/781/task/818/fd (opendir: Permission denied)
|
||||
systemd-l 784 root cwd unknown /proc/784/cwd (readlink: Permission denied)
|
||||
systemd-l 784 root rtd unknown /proc/784/root (readlink: Permission denied)
|
||||
systemd-l 784 root txt unknown /proc/784/exe (readlink: Permission denied)
|
||||
systemd-l 784 root NOFD /proc/784/fd (opendir: Permission denied)
|
||||
crond 792 root cwd unknown /proc/792/cwd (readlink: Permission denied)
|
||||
crond 792 root rtd unknown /proc/792/root (readlink: Permission denied)
|
||||
crond 792 root txt unknown /proc/792/exe (readlink: Permission denied)
|
||||
crond 792 root NOFD /proc/792/fd (opendir: Permission denied)
|
||||
chronyd 795 chrony cwd unknown /proc/795/cwd (readlink: Permission denied)
|
||||
chronyd 795 chrony rtd unknown /proc/795/root (readlink: Permission denied)
|
||||
chronyd 795 chrony txt unknown /proc/795/exe (readlink: Permission denied)
|
||||
chronyd 795 chrony NOFD /proc/795/fd (opendir: Permission denied)
|
||||
agetty 815 root cwd unknown /proc/815/cwd (readlink: Permission denied)
|
||||
agetty 815 root rtd unknown /proc/815/root (readlink: Permission denied)
|
||||
agetty 815 root txt unknown /proc/815/exe (readlink: Permission denied)
|
||||
agetty 815 root NOFD /proc/815/fd (opendir: Permission denied)
|
||||
login 817 root cwd unknown /proc/817/cwd (readlink: Permission denied)
|
||||
login 817 root rtd unknown /proc/817/root (readlink: Permission denied)
|
||||
login 817 root txt unknown /proc/817/exe (readlink: Permission denied)
|
||||
login 817 root NOFD /proc/817/fd (opendir: Permission denied)
|
||||
firewalld 823 root cwd unknown /proc/823/cwd (readlink: Permission denied)
|
||||
firewalld 823 root rtd unknown /proc/823/root (readlink: Permission denied)
|
||||
firewalld 823 root txt unknown /proc/823/exe (readlink: Permission denied)
|
||||
firewalld 823 root NOFD /proc/823/fd (opendir: Permission denied)
|
||||
gmain 823 1013 root cwd unknown /proc/823/task/1013/cwd (readlink: Permission denied)
|
||||
gmain 823 1013 root rtd unknown /proc/823/task/1013/root (readlink: Permission denied)
|
||||
gmain 823 1013 root txt unknown /proc/823/task/1013/exe (readlink: Permission denied)
|
||||
gmain 823 1013 root NOFD /proc/823/task/1013/fd (opendir: Permission denied)
|
||||
NetworkMa 865 root cwd unknown /proc/865/cwd (readlink: Permission denied)
|
||||
NetworkMa 865 root rtd unknown /proc/865/root (readlink: Permission denied)
|
||||
NetworkMa 865 root txt unknown /proc/865/exe (readlink: Permission denied)
|
||||
NetworkMa 865 root NOFD /proc/865/fd (opendir: Permission denied)
|
||||
gmain 865 875 root cwd unknown /proc/865/task/875/cwd (readlink: Permission denied)
|
||||
gmain 865 875 root rtd unknown /proc/865/task/875/root (readlink: Permission denied)
|
||||
gmain 865 875 root txt unknown /proc/865/task/875/exe (readlink: Permission denied)
|
||||
gmain 865 875 root NOFD /proc/865/task/875/fd (opendir: Permission denied)
|
||||
gdbus 865 878 root cwd unknown /proc/865/task/878/cwd (readlink: Permission denied)
|
||||
gdbus 865 878 root rtd unknown /proc/865/task/878/root (readlink: Permission denied)
|
||||
gdbus 865 878 root txt unknown /proc/865/task/878/exe (readlink: Permission denied)
|
||||
gdbus 865 878 root NOFD /proc/865/task/878/fd (opendir: Permission denied)
|
||||
dockerd-c 1205 root cwd unknown /proc/1205/cwd (readlink: Permission denied)
|
||||
dockerd-c 1205 root rtd unknown /proc/1205/root (readlink: Permission denied)
|
||||
dockerd-c 1205 root txt unknown /proc/1205/exe (readlink: Permission denied)
|
||||
dockerd-c 1205 root NOFD /proc/1205/fd (opendir: Permission denied)
|
||||
dockerd-c 1205 1214 root cwd unknown /proc/1205/task/1214/cwd (readlink: Permission denied)
|
||||
dockerd-c 1205 1214 root rtd unknown /proc/1205/task/1214/root (readlink: Permission denied)
|
||||
dockerd-c 1205 1214 root txt unknown /proc/1205/task/1214/exe (readlink: Permission denied)
|
||||
dockerd-c 1205 1214 root NOFD /proc/1205/task/1214/fd (opendir: Permission denied)
|
||||
dockerd-c 1205 1215 root cwd unknown /proc/1205/task/1215/cwd (readlink: Permission denied)
|
||||
dockerd-c 1205 1215 root rtd unknown /proc/1205/task/1215/root (readlink: Permission denied)
|
||||
dockerd-c 1205 1215 root txt unknown /proc/1205/task/1215/exe (readlink: Permission denied)
|
||||
dockerd-c 1205 1215 root NOFD /proc/1205/task/1215/fd (opendir: Permission denied)
|
||||
dockerd-c 1205 1217 root cwd unknown /proc/1205/task/1217/cwd (readlink: Permission denied)
|
||||
dockerd-c 1205 1217 root rtd unknown /proc/1205/task/1217/root (readlink: Permission denied)
|
||||
dockerd-c 1205 1217 root txt unknown /proc/1205/task/1217/exe (readlink: Permission denied)
|
||||
dockerd-c 1205 1217 root NOFD /proc/1205/task/1217/fd (opendir: Permission denied)
|
||||
dockerd-c 1205 1231 root cwd unknown /proc/1205/task/1231/cwd (readlink: Permission denied)
|
||||
dockerd-c 1205 1231 root rtd unknown /proc/1205/task/1231/root (readlink: Permission denied)
|
||||
dockerd-c 1205 1231 root txt unknown /proc/1205/task/1231/exe (readlink: Permission denied)
|
||||
dockerd-c 1205 1231 root NOFD /proc/1205/task/1231/fd (opendir: Permission denied)
|
||||
dockerd-c 1205 1260 root cwd unknown /proc/1205/task/1260/cwd (readlink: Permission denied)
|
||||
dockerd-c 1205 1260 root rtd unknown /proc/1205/task/1260/root (readlink: Permission denied)
|
||||
dockerd-c 1205 1260 root txt unknown /proc/1205/task/1260/exe (readlink: Permission denied)
|
||||
dockerd-c 1205 1260 root NOFD /proc/1205/task/1260/fd (opendir: Permission denied)
|
||||
dockerd-c 1205 1449 root cwd unknown /proc/1205/task/1449/cwd (readlink: Permission denied)
|
||||
dockerd-c 1205 1449 root rtd unknown /proc/1205/task/1449/root (readlink: Permission denied)
|
||||
dockerd-c 1205 1449 root txt unknown /proc/1205/task/1449/exe (readlink: Permission denied)
|
||||
dockerd-c 1205 1449 root NOFD /proc/1205/task/1449/fd (opendir: Permission denied)
|
||||
dockerd-c 1205 1450 root cwd unknown /proc/1205/task/1450/cwd (readlink: Permission denied)
|
||||
dockerd-c 1205 1450 root rtd unknown /proc/1205/task/1450/root (readlink: Permission denied)
|
||||
dockerd-c 1205 1450 root txt unknown /proc/1205/task/1450/exe (readlink: Permission denied)
|
||||
dockerd-c 1205 1450 root NOFD /proc/1205/task/1450/fd (opendir: Permission denied)
|
||||
dockerd-c 1205 1451 root cwd unknown /proc/1205/task/1451/cwd (readlink: Permission denied)
|
||||
dockerd-c 1205 1451 root rtd unknown /proc/1205/task/1451/root (readlink: Permission denied)
|
||||
dockerd-c 1205 1451 root txt unknown /proc/1205/task/1451/exe (readlink: Permission denied)
|
||||
dockerd-c 1205 1451 root NOFD /proc/1205/task/1451/fd (opendir: Permission denied)
|
||||
sshd 1206 root cwd unknown /proc/1206/cwd (readlink: Permission denied)
|
||||
sshd 1206 root rtd unknown /proc/1206/root (readlink: Permission denied)
|
||||
sshd 1206 root txt unknown /proc/1206/exe (readlink: Permission denied)
|
||||
sshd 1206 root NOFD /proc/1206/fd (opendir: Permission denied)
|
||||
tuned 1207 root cwd unknown /proc/1207/cwd (readlink: Permission denied)
|
||||
tuned 1207 root rtd unknown /proc/1207/root (readlink: Permission denied)
|
||||
tuned 1207 root txt unknown /proc/1207/exe (readlink: Permission denied)
|
||||
tuned 1207 root NOFD /proc/1207/fd (opendir: Permission denied)
|
||||
gmain 1207 1719 root cwd unknown /proc/1207/task/1719/cwd (readlink: Permission denied)
|
||||
gmain 1207 1719 root rtd unknown /proc/1207/task/1719/root (readlink: Permission denied)
|
||||
gmain 1207 1719 root txt unknown /proc/1207/task/1719/exe (readlink: Permission denied)
|
||||
gmain 1207 1719 root NOFD /proc/1207/task/1719/fd (opendir: Permission denied)
|
||||
tuned 1207 1720 root cwd unknown /proc/1207/task/1720/cwd (readlink: Permission denied)
|
||||
tuned 1207 1720 root rtd unknown /proc/1207/task/1720/root (readlink: Permission denied)
|
||||
tuned 1207 1720 root txt unknown /proc/1207/task/1720/exe (readlink: Permission denied)
|
||||
tuned 1207 1720 root NOFD /proc/1207/task/1720/fd (opendir: Permission denied)
|
||||
tuned 1207 1725 root cwd unknown /proc/1207/task/1725/cwd (readlink: Permission denied)
|
||||
tuned 1207 1725 root rtd unknown /proc/1207/task/1725/root (readlink: Permission denied)
|
||||
tuned 1207 1725 root txt unknown /proc/1207/task/1725/exe (readlink: Permission denied)
|
||||
tuned 1207 1725 root NOFD /proc/1207/task/1725/fd (opendir: Permission denied)
|
||||
tuned 1207 1727 root cwd unknown /proc/1207/task/1727/cwd (readlink: Permission denied)
|
||||
tuned 1207 1727 root rtd unknown /proc/1207/task/1727/root (readlink: Permission denied)
|
||||
tuned 1207 1727 root txt unknown /proc/1207/task/1727/exe (readlink: Permission denied)
|
||||
tuned 1207 1727 root NOFD /proc/1207/task/1727/fd (opendir: Permission denied)
|
||||
rsyslogd 1209 root cwd unknown /proc/1209/cwd (readlink: Permission denied)
|
||||
rsyslogd 1209 root rtd unknown /proc/1209/root (readlink: Permission denied)
|
||||
rsyslogd 1209 root txt unknown /proc/1209/exe (readlink: Permission denied)
|
||||
rsyslogd 1209 root NOFD /proc/1209/fd (opendir: Permission denied)
|
||||
in:imjour 1209 1212 root cwd unknown /proc/1209/task/1212/cwd (readlink: Permission denied)
|
||||
in:imjour 1209 1212 root rtd unknown /proc/1209/task/1212/root (readlink: Permission denied)
|
||||
in:imjour 1209 1212 root txt unknown /proc/1209/task/1212/exe (readlink: Permission denied)
|
||||
in:imjour 1209 1212 root NOFD /proc/1209/task/1212/fd (opendir: Permission denied)
|
||||
rs:main 1209 1213 root cwd unknown /proc/1209/task/1213/cwd (readlink: Permission denied)
|
||||
rs:main 1209 1213 root rtd unknown /proc/1209/task/1213/root (readlink: Permission denied)
|
||||
rs:main 1209 1213 root txt unknown /proc/1209/task/1213/exe (readlink: Permission denied)
|
||||
rs:main 1209 1213 root NOFD /proc/1209/task/1213/fd (opendir: Permission denied)
|
||||
docker-co 1256 root cwd unknown /proc/1256/cwd (readlink: Permission denied)
|
||||
docker-co 1256 root rtd unknown /proc/1256/root (readlink: Permission denied)
|
||||
docker-co 1256 root txt unknown /proc/1256/exe (readlink: Permission denied)
|
||||
docker-co 1256 root NOFD /proc/1256/fd (opendir: Permission denied)
|
||||
docker-co 1256 1272 root cwd unknown /proc/1256/task/1272/cwd (readlink: Permission denied)
|
||||
docker-co 1256 1272 root rtd unknown /proc/1256/task/1272/root (readlink: Permission denied)
|
||||
docker-co 1256 1272 root txt unknown /proc/1256/task/1272/exe (readlink: Permission denied)
|
||||
docker-co 1256 1272 root NOFD /proc/1256/task/1272/fd (opendir: Permission denied)
|
||||
docker-co 1256 1273 root cwd unknown /proc/1256/task/1273/cwd (readlink: Permission denied)
|
||||
docker-co 1256 1273 root rtd unknown /proc/1256/task/1273/root (readlink: Permission denied)
|
||||
docker-co 1256 1273 root txt unknown /proc/1256/task/1273/exe (readlink: Permission denied)
|
||||
docker-co 1256 1273 root NOFD /proc/1256/task/1273/fd (opendir: Permission denied)
|
||||
docker-co 1256 1275 root cwd unknown /proc/1256/task/1275/cwd (readlink: Permission denied)
|
||||
docker-co 1256 1275 root rtd unknown /proc/1256/task/1275/root (readlink: Permission denied)
|
||||
docker-co 1256 1275 root txt unknown /proc/1256/task/1275/exe (readlink: Permission denied)
|
||||
docker-co 1256 1275 root NOFD /proc/1256/task/1275/fd (opendir: Permission denied)
|
||||
docker-co 1256 1279 root cwd unknown /proc/1256/task/1279/cwd (readlink: Permission denied)
|
||||
docker-co 1256 1279 root rtd unknown /proc/1256/task/1279/root (readlink: Permission denied)
|
||||
docker-co 1256 1279 root txt unknown /proc/1256/task/1279/exe (readlink: Permission denied)
|
||||
docker-co 1256 1279 root NOFD /proc/1256/task/1279/fd (opendir: Permission denied)
|
||||
docker-co 1256 1280 root cwd unknown /proc/1256/task/1280/cwd (readlink: Permission denied)
|
||||
docker-co 1256 1280 root rtd unknown /proc/1256/task/1280/root (readlink: Permission denied)
|
||||
docker-co 1256 1280 root txt unknown /proc/1256/task/1280/exe (readlink: Permission denied)
|
||||
docker-co 1256 1280 root NOFD /proc/1256/task/1280/fd (opendir: Permission denied)
|
||||
docker-co 1256 1281 root cwd unknown /proc/1256/task/1281/cwd (readlink: Permission denied)
|
||||
docker-co 1256 1281 root rtd unknown /proc/1256/task/1281/root (readlink: Permission denied)
|
||||
docker-co 1256 1281 root txt unknown /proc/1256/task/1281/exe (readlink: Permission denied)
|
||||
docker-co 1256 1281 root NOFD /proc/1256/task/1281/fd (opendir: Permission denied)
|
||||
docker-co 1256 1282 root cwd unknown /proc/1256/task/1282/cwd (readlink: Permission denied)
|
||||
docker-co 1256 1282 root rtd unknown /proc/1256/task/1282/root (readlink: Permission denied)
|
||||
docker-co 1256 1282 root txt unknown /proc/1256/task/1282/exe (readlink: Permission denied)
|
||||
docker-co 1256 1282 root NOFD /proc/1256/task/1282/fd (opendir: Permission denied)
|
||||
master 1469 root cwd unknown /proc/1469/cwd (readlink: Permission denied)
|
||||
master 1469 root rtd unknown /proc/1469/root (readlink: Permission denied)
|
||||
master 1469 root txt unknown /proc/1469/exe (readlink: Permission denied)
|
||||
master 1469 root NOFD /proc/1469/fd (opendir: Permission denied)
|
||||
qmgr 1474 postfix cwd unknown /proc/1474/cwd (readlink: Permission denied)
|
||||
qmgr 1474 postfix rtd unknown /proc/1474/root (readlink: Permission denied)
|
||||
qmgr 1474 postfix txt unknown /proc/1474/exe (readlink: Permission denied)
|
||||
qmgr 1474 postfix NOFD /proc/1474/fd (opendir: Permission denied)
|
||||
bash 1835 kbrazil cwd DIR 253,0 6 503040 /home/kbrazil/git
|
||||
bash 1835 kbrazil rtd DIR 253,0 224 64 /
|
||||
bash 1835 kbrazil txt REG 253,0 964600 50332501 /usr/bin/bash
|
||||
bash 1835 kbrazil mem REG 253,0 106075056 16781164 /usr/lib/locale/locale-archive
|
||||
bash 1835 kbrazil mem REG 253,0 61624 503058 /usr/lib64/libnss_files-2.17.so
|
||||
bash 1835 kbrazil mem REG 253,0 2156160 24399 /usr/lib64/libc-2.17.so
|
||||
bash 1835 kbrazil mem REG 253,0 19288 34141 /usr/lib64/libdl-2.17.so
|
||||
bash 1835 kbrazil mem REG 253,0 174576 9816 /usr/lib64/libtinfo.so.5.9
|
||||
bash 1835 kbrazil mem REG 253,0 163400 7824 /usr/lib64/ld-2.17.so
|
||||
bash 1835 kbrazil mem REG 253,0 26254 16789060 /usr/lib64/gconv/gconv-modules.cache
|
||||
bash 1835 kbrazil 0u CHR 4,64 0t0 8462 /dev/ttyS0
|
||||
bash 1835 kbrazil 1u CHR 4,64 0t0 8462 /dev/ttyS0
|
||||
bash 1835 kbrazil 2u CHR 4,64 0t0 8462 /dev/ttyS0
|
||||
bash 1835 kbrazil 255u CHR 4,64 0t0 8462 /dev/ttyS0
|
||||
dhclient 1939 root cwd unknown /proc/1939/cwd (readlink: Permission denied)
|
||||
dhclient 1939 root rtd unknown /proc/1939/root (readlink: Permission denied)
|
||||
dhclient 1939 root txt unknown /proc/1939/exe (readlink: Permission denied)
|
||||
dhclient 1939 root NOFD /proc/1939/fd (opendir: Permission denied)
|
||||
pickup 4262 postfix cwd unknown /proc/4262/cwd (readlink: Permission denied)
|
||||
pickup 4262 postfix rtd unknown /proc/4262/root (readlink: Permission denied)
|
||||
pickup 4262 postfix txt unknown /proc/4262/exe (readlink: Permission denied)
|
||||
pickup 4262 postfix NOFD /proc/4262/fd (opendir: Permission denied)
|
||||
sshd 4314 root cwd unknown /proc/4314/cwd (readlink: Permission denied)
|
||||
sshd 4314 root rtd unknown /proc/4314/root (readlink: Permission denied)
|
||||
sshd 4314 root txt unknown /proc/4314/exe (readlink: Permission denied)
|
||||
sshd 4314 root NOFD /proc/4314/fd (opendir: Permission denied)
|
||||
sshd 4318 kbrazil cwd unknown /proc/4318/cwd (readlink: Permission denied)
|
||||
sshd 4318 kbrazil rtd unknown /proc/4318/root (readlink: Permission denied)
|
||||
sshd 4318 kbrazil txt unknown /proc/4318/exe (readlink: Permission denied)
|
||||
sshd 4318 kbrazil NOFD /proc/4318/fd (opendir: Permission denied)
|
||||
bash 4319 kbrazil cwd DIR 253,0 4096 16790392 /home/kbrazil/testfiles
|
||||
bash 4319 kbrazil rtd DIR 253,0 224 64 /
|
||||
bash 4319 kbrazil txt REG 253,0 964600 50332501 /usr/bin/bash
|
||||
bash 4319 kbrazil mem REG 253,0 61624 503058 /usr/lib64/libnss_files-2.17.so
|
||||
bash 4319 kbrazil mem REG 253,0 106075056 16781164 /usr/lib/locale/locale-archive
|
||||
bash 4319 kbrazil mem REG 253,0 2156160 24399 /usr/lib64/libc-2.17.so
|
||||
bash 4319 kbrazil mem REG 253,0 19288 34141 /usr/lib64/libdl-2.17.so
|
||||
bash 4319 kbrazil mem REG 253,0 174576 9816 /usr/lib64/libtinfo.so.5.9
|
||||
bash 4319 kbrazil mem REG 253,0 163400 7824 /usr/lib64/ld-2.17.so
|
||||
bash 4319 kbrazil mem REG 253,0 26254 16789060 /usr/lib64/gconv/gconv-modules.cache
|
||||
bash 4319 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
bash 4319 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
bash 4319 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
bash 4319 kbrazil 255u CHR 136,0 0t0 3 /dev/pts/0
|
||||
kworker/0 4587 root cwd unknown /proc/4587/cwd (readlink: Permission denied)
|
||||
kworker/0 4587 root rtd unknown /proc/4587/root (readlink: Permission denied)
|
||||
kworker/0 4587 root txt unknown /proc/4587/exe (readlink: Permission denied)
|
||||
kworker/0 4587 root NOFD /proc/4587/fd (opendir: Permission denied)
|
||||
kworker/0 4715 root cwd unknown /proc/4715/cwd (readlink: Permission denied)
|
||||
kworker/0 4715 root rtd unknown /proc/4715/root (readlink: Permission denied)
|
||||
kworker/0 4715 root txt unknown /proc/4715/exe (readlink: Permission denied)
|
||||
kworker/0 4715 root NOFD /proc/4715/fd (opendir: Permission denied)
|
||||
kworker/0 4716 root cwd unknown /proc/4716/cwd (readlink: Permission denied)
|
||||
kworker/0 4716 root rtd unknown /proc/4716/root (readlink: Permission denied)
|
||||
kworker/0 4716 root txt unknown /proc/4716/exe (readlink: Permission denied)
|
||||
kworker/0 4716 root NOFD /proc/4716/fd (opendir: Permission denied)
|
||||
tests.sh 4720 kbrazil cwd DIR 253,0 4096 16790392 /home/kbrazil/testfiles
|
||||
tests.sh 4720 kbrazil rtd DIR 253,0 224 64 /
|
||||
tests.sh 4720 kbrazil txt REG 253,0 964600 50332501 /usr/bin/bash
|
||||
tests.sh 4720 kbrazil mem REG 253,0 106075056 16781164 /usr/lib/locale/locale-archive
|
||||
tests.sh 4720 kbrazil mem REG 253,0 2156160 24399 /usr/lib64/libc-2.17.so
|
||||
tests.sh 4720 kbrazil mem REG 253,0 19288 34141 /usr/lib64/libdl-2.17.so
|
||||
tests.sh 4720 kbrazil mem REG 253,0 174576 9816 /usr/lib64/libtinfo.so.5.9
|
||||
tests.sh 4720 kbrazil mem REG 253,0 163400 7824 /usr/lib64/ld-2.17.so
|
||||
tests.sh 4720 kbrazil mem REG 253,0 26254 16789060 /usr/lib64/gconv/gconv-modules.cache
|
||||
tests.sh 4720 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
tests.sh 4720 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
tests.sh 4720 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
tests.sh 4720 kbrazil 255r REG 253,0 1568 16993585 /home/kbrazil/testfiles/tests.sh
|
||||
sleep 4768 kbrazil cwd DIR 253,0 4096 16790392 /home/kbrazil/testfiles
|
||||
sleep 4768 kbrazil rtd DIR 253,0 224 64 /
|
||||
sleep 4768 kbrazil txt REG 253,0 33128 50338469 /usr/bin/sleep
|
||||
sleep 4768 kbrazil mem REG 253,0 106075056 16781164 /usr/lib/locale/locale-archive
|
||||
sleep 4768 kbrazil mem REG 253,0 2156160 24399 /usr/lib64/libc-2.17.so
|
||||
sleep 4768 kbrazil mem REG 253,0 163400 7824 /usr/lib64/ld-2.17.so
|
||||
sleep 4768 kbrazil 0r CHR 1,3 0t0 6485 /dev/null
|
||||
sleep 4768 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4768 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4769 kbrazil cwd DIR 253,0 4096 16790392 /home/kbrazil/testfiles
|
||||
sleep 4769 kbrazil rtd DIR 253,0 224 64 /
|
||||
sleep 4769 kbrazil txt REG 253,0 33128 50338469 /usr/bin/sleep
|
||||
sleep 4769 kbrazil mem REG 253,0 106075056 16781164 /usr/lib/locale/locale-archive
|
||||
sleep 4769 kbrazil mem REG 253,0 2156160 24399 /usr/lib64/libc-2.17.so
|
||||
sleep 4769 kbrazil mem REG 253,0 163400 7824 /usr/lib64/ld-2.17.so
|
||||
sleep 4769 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4769 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4769 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4770 kbrazil cwd DIR 253,0 4096 16790392 /home/kbrazil/testfiles
|
||||
sleep 4770 kbrazil rtd DIR 253,0 224 64 /
|
||||
sleep 4770 kbrazil txt REG 253,0 33128 50338469 /usr/bin/sleep
|
||||
sleep 4770 kbrazil mem REG 253,0 106075056 16781164 /usr/lib/locale/locale-archive
|
||||
sleep 4770 kbrazil mem REG 253,0 2156160 24399 /usr/lib64/libc-2.17.so
|
||||
sleep 4770 kbrazil mem REG 253,0 163400 7824 /usr/lib64/ld-2.17.so
|
||||
sleep 4770 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4770 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4770 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4771 kbrazil cwd DIR 253,0 4096 16790392 /home/kbrazil/testfiles
|
||||
sleep 4771 kbrazil rtd DIR 253,0 224 64 /
|
||||
sleep 4771 kbrazil txt REG 253,0 33128 50338469 /usr/bin/sleep
|
||||
sleep 4771 kbrazil mem REG 253,0 106075056 16781164 /usr/lib/locale/locale-archive
|
||||
sleep 4771 kbrazil mem REG 253,0 2156160 24399 /usr/lib64/libc-2.17.so
|
||||
sleep 4771 kbrazil mem REG 253,0 163400 7824 /usr/lib64/ld-2.17.so
|
||||
sleep 4771 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4771 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 4771 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
lsof 4777 kbrazil cwd DIR 253,0 4096 16790392 /home/kbrazil/testfiles
|
||||
lsof 4777 kbrazil rtd DIR 253,0 224 64 /
|
||||
lsof 4777 kbrazil txt REG 253,0 154184 1092 /usr/sbin/lsof
|
||||
lsof 4777 kbrazil mem REG 253,0 106075056 16781164 /usr/lib/locale/locale-archive
|
||||
lsof 4777 kbrazil mem REG 253,0 142232 503071 /usr/lib64/libpthread-2.17.so
|
||||
lsof 4777 kbrazil mem REG 253,0 19288 34141 /usr/lib64/libdl-2.17.so
|
||||
lsof 4777 kbrazil mem REG 253,0 402384 9847 /usr/lib64/libpcre.so.1.2.0
|
||||
lsof 4777 kbrazil mem REG 253,0 2156160 24399 /usr/lib64/libc-2.17.so
|
||||
lsof 4777 kbrazil mem REG 253,0 155784 9857 /usr/lib64/libselinux.so.1
|
||||
lsof 4777 kbrazil mem REG 253,0 163400 7824 /usr/lib64/ld-2.17.so
|
||||
lsof 4777 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
lsof 4777 kbrazil 1w REG 253,0 0 16825878 /home/kbrazil/testfiles/lsof.out
|
||||
lsof 4777 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
lsof 4777 kbrazil 3r DIR 0,3 0 1 /proc
|
||||
lsof 4777 kbrazil 4r DIR 0,3 0 49414 /proc/4777/fd
|
||||
lsof 4777 kbrazil 5w FIFO 0,9 0t0 49419 pipe
|
||||
lsof 4777 kbrazil 6r FIFO 0,9 0t0 49420 pipe
|
||||
lsof 4778 kbrazil cwd DIR 253,0 4096 16790392 /home/kbrazil/testfiles
|
||||
lsof 4778 kbrazil rtd DIR 253,0 224 64 /
|
||||
lsof 4778 kbrazil txt REG 253,0 154184 1092 /usr/sbin/lsof
|
||||
lsof 4778 kbrazil mem REG 253,0 106075056 16781164 /usr/lib/locale/locale-archive
|
||||
lsof 4778 kbrazil mem REG 253,0 142232 503071 /usr/lib64/libpthread-2.17.so
|
||||
lsof 4778 kbrazil mem REG 253,0 19288 34141 /usr/lib64/libdl-2.17.so
|
||||
lsof 4778 kbrazil mem REG 253,0 402384 9847 /usr/lib64/libpcre.so.1.2.0
|
||||
lsof 4778 kbrazil mem REG 253,0 2156160 24399 /usr/lib64/libc-2.17.so
|
||||
lsof 4778 kbrazil mem REG 253,0 155784 9857 /usr/lib64/libselinux.so.1
|
||||
lsof 4778 kbrazil mem REG 253,0 163400 7824 /usr/lib64/ld-2.17.so
|
||||
lsof 4778 kbrazil 4r FIFO 0,9 0t0 49419 pipe
|
||||
lsof 4778 kbrazil 7w FIFO 0,9 0t0 49420 pipe
|
31
tests/fixtures/centos-7.7/mount.out
vendored
Normal file
31
tests/fixtures/centos-7.7/mount.out
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
|
||||
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
|
||||
devtmpfs on /dev type devtmpfs (rw,nosuid,seclabel,size=1918816k,nr_inodes=479704,mode=755)
|
||||
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
|
||||
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
|
||||
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
|
||||
tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
|
||||
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)
|
||||
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
|
||||
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
|
||||
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,cpuset)
|
||||
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,net_prio,net_cls)
|
||||
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,cpuacct,cpu)
|
||||
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,blkio)
|
||||
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,pids)
|
||||
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,devices)
|
||||
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,hugetlb)
|
||||
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,memory)
|
||||
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,freezer)
|
||||
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,perf_event)
|
||||
configfs on /sys/kernel/config type configfs (rw,relatime)
|
||||
/dev/mapper/centos-root on / type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
|
||||
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
|
||||
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13903)
|
||||
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
|
||||
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
|
||||
mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
|
||||
/dev/sda1 on /boot type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
|
||||
/dev/mapper/centos-root on /var/lib/docker/containers type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
|
||||
/dev/mapper/centos-root on /var/lib/docker/overlay2 type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
|
||||
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=386136k,mode=700,uid=1000,gid=1000)
|
45
tests/fixtures/centos-7.7/netstat-l.out
vendored
Normal file
45
tests/fixtures/centos-7.7/netstat-l.out
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
Active Internet connections (only servers)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State
|
||||
tcp 0 0 localhost:smtp 0.0.0.0:* LISTEN
|
||||
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
|
||||
tcp6 0 0 localhost:smtp [::]:* LISTEN
|
||||
tcp6 0 0 [::]:ssh [::]:* LISTEN
|
||||
udp 0 0 0.0.0.0:bootpc 0.0.0.0:*
|
||||
udp 0 0 localhost:323 0.0.0.0:*
|
||||
udp6 0 0 localhost:323 [::]:*
|
||||
raw6 0 0 [::]:ipv6-icmp [::]:* 7
|
||||
Active UNIX domain sockets (only servers)
|
||||
Proto RefCnt Flags Type State I-Node Path
|
||||
unix 2 [ ACC ] STREAM LISTENING 13851 /run/lvm/lvmpolld.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 8991 /run/systemd/journal/stdout
|
||||
unix 2 [ ACC ] STREAM LISTENING 22321 public/pickup
|
||||
unix 2 [ ACC ] STREAM LISTENING 22332 private/tlsmgr
|
||||
unix 2 [ ACC ] STREAM LISTENING 22839 /run/docker/libnetwork/fe53fe5029258e61eb7a9173ec80150ea3595abe7d69e47af064f451212110bf.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 21822 /var/run/docker.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 13918 /run/lvm/lvmetad.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 21877 /var/run/docker/libcontainerd/docker-containerd.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 20600 /var/run/NetworkManager/private-dhcp
|
||||
unix 2 [ ACC ] STREAM LISTENING 17785 /run/dbus/system_bus_socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 22325 public/cleanup
|
||||
unix 2 [ ACC ] SEQPACKET LISTENING 13962 /run/udev/control
|
||||
unix 2 [ ACC ] STREAM LISTENING 22328 public/qmgr
|
||||
unix 2 [ ACC ] STREAM LISTENING 22350 public/flush
|
||||
unix 2 [ ACC ] STREAM LISTENING 22365 public/showq
|
||||
unix 2 [ ACC ] STREAM LISTENING 22335 private/rewrite
|
||||
unix 2 [ ACC ] STREAM LISTENING 13771 /run/systemd/private
|
||||
unix 2 [ ACC ] STREAM LISTENING 22338 private/bounce
|
||||
unix 2 [ ACC ] STREAM LISTENING 22341 private/defer
|
||||
unix 2 [ ACC ] STREAM LISTENING 22344 private/trace
|
||||
unix 2 [ ACC ] STREAM LISTENING 22347 private/verify
|
||||
unix 2 [ ACC ] STREAM LISTENING 22353 private/proxymap
|
||||
unix 2 [ ACC ] STREAM LISTENING 22356 private/proxywrite
|
||||
unix 2 [ ACC ] STREAM LISTENING 22359 private/smtp
|
||||
unix 2 [ ACC ] STREAM LISTENING 22362 private/relay
|
||||
unix 2 [ ACC ] STREAM LISTENING 22368 private/error
|
||||
unix 2 [ ACC ] STREAM LISTENING 22371 private/retry
|
||||
unix 2 [ ACC ] STREAM LISTENING 22374 private/discard
|
||||
unix 2 [ ACC ] STREAM LISTENING 22377 private/local
|
||||
unix 2 [ ACC ] STREAM LISTENING 22380 private/virtual
|
||||
unix 2 [ ACC ] STREAM LISTENING 22383 private/lmtp
|
||||
unix 2 [ ACC ] STREAM LISTENING 22386 private/anvil
|
||||
unix 2 [ ACC ] STREAM LISTENING 22389 private/scache
|
121
tests/fixtures/centos-7.7/netstat-p.out
vendored
Normal file
121
tests/fixtures/centos-7.7/netstat-p.out
vendored
Normal file
@ -0,0 +1,121 @@
|
||||
Active Internet connections (w/o servers)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
||||
tcp 0 0 localhost.localdoma:ssh 192.168.71.1:58727 ESTABLISHED -
|
||||
Active UNIX domain sockets (w/o servers)
|
||||
Proto RefCnt Flags Type State I-Node PID/Program name Path
|
||||
unix 3 [ ] DGRAM 8971 - /run/systemd/notify
|
||||
unix 2 [ ] DGRAM 8973 - /run/systemd/cgroups-agent
|
||||
unix 6 [ ] DGRAM 8994 - /run/systemd/journal/socket
|
||||
unix 15 [ ] DGRAM 8996 - /dev/log
|
||||
unix 2 [ ] DGRAM 13864 - /run/systemd/shutdownd
|
||||
unix 2 [ ] DGRAM 18547 - /var/run/chrony/chronyd.sock
|
||||
unix 2 [ ] DGRAM 44430 -
|
||||
unix 3 [ ] STREAM CONNECTED 22366 -
|
||||
unix 3 [ ] STREAM CONNECTED 22390 -
|
||||
unix 3 [ ] STREAM CONNECTED 21429 -
|
||||
unix 3 [ ] STREAM CONNECTED 22387 -
|
||||
unix 3 [ ] STREAM CONNECTED 22388 -
|
||||
unix 2 [ ] DGRAM 19075 -
|
||||
unix 3 [ ] STREAM CONNECTED 22385 -
|
||||
unix 3 [ ] STREAM CONNECTED 18892 -
|
||||
unix 3 [ ] STREAM CONNECTED 17796 -
|
||||
unix 2 [ ] DGRAM 22409 -
|
||||
unix 3 [ ] STREAM CONNECTED 18893 - /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 18364 - /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 44965 -
|
||||
unix 3 [ ] STREAM CONNECTED 22384 -
|
||||
unix 3 [ ] STREAM CONNECTED 21430 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 14760 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 19005 -
|
||||
unix 3 [ ] STREAM CONNECTED 17861 - /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 19006 - /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 22330 -
|
||||
unix 3 [ ] STREAM CONNECTED 17630 -
|
||||
unix 2 [ ] DGRAM 22509 -
|
||||
unix 3 [ ] STREAM CONNECTED 20119 -
|
||||
unix 2 [ ] DGRAM 21563 -
|
||||
unix 3 [ ] STREAM CONNECTED 22391 -
|
||||
unix 3 [ ] STREAM CONNECTED 18955 -
|
||||
unix 3 [ ] STREAM CONNECTED 22373 -
|
||||
unix 3 [ ] STREAM CONNECTED 22478 -
|
||||
unix 3 [ ] STREAM CONNECTED 17844 -
|
||||
unix 3 [ ] STREAM CONNECTED 22372 -
|
||||
unix 2 [ ] DGRAM 17621 -
|
||||
unix 2 [ ] DGRAM 44962 -
|
||||
unix 3 [ ] STREAM CONNECTED 14759 -
|
||||
unix 3 [ ] STREAM CONNECTED 22369 -
|
||||
unix 3 [ ] STREAM CONNECTED 22370 -
|
||||
unix 3 [ ] STREAM CONNECTED 17845 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 22367 -
|
||||
unix 2 [ ] DGRAM 21801 -
|
||||
unix 3 [ ] STREAM CONNECTED 18363 -
|
||||
unix 3 [ ] STREAM CONNECTED 22479 - /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 17631 -
|
||||
unix 3 [ ] STREAM CONNECTED 22381 -
|
||||
unix 3 [ ] STREAM CONNECTED 20120 - /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 17859 -
|
||||
unix 3 [ ] STREAM CONNECTED 22382 -
|
||||
unix 3 [ ] STREAM CONNECTED 22379 -
|
||||
unix 3 [ ] STREAM CONNECTED 22364 -
|
||||
unix 3 [ ] STREAM CONNECTED 17860 -
|
||||
unix 3 [ ] STREAM CONNECTED 44966 -
|
||||
unix 3 [ ] STREAM CONNECTED 22378 -
|
||||
unix 3 [ ] STREAM CONNECTED 22375 -
|
||||
unix 3 [ ] STREAM CONNECTED 21373 -
|
||||
unix 3 [ ] STREAM CONNECTED 18956 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 22376 -
|
||||
unix 3 [ ] STREAM CONNECTED 21448 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] DGRAM 14873 -
|
||||
unix 3 [ ] STREAM CONNECTED 23047 - /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 22352 -
|
||||
unix 3 [ ] STREAM CONNECTED 22327 -
|
||||
unix 3 [ ] STREAM CONNECTED 22355 -
|
||||
unix 3 [ ] STREAM CONNECTED 22320 -
|
||||
unix 3 [ ] DGRAM 14872 -
|
||||
unix 3 [ ] STREAM CONNECTED 14408 -
|
||||
unix 3 [ ] STREAM CONNECTED 22354 -
|
||||
unix 2 [ ] DGRAM 18498 -
|
||||
unix 3 [ ] STREAM CONNECTED 22349 -
|
||||
unix 3 [ ] STREAM CONNECTED 22322 -
|
||||
unix 3 [ ] STREAM CONNECTED 22326 -
|
||||
unix 3 [ ] STREAM CONNECTED 22348 -
|
||||
unix 3 [ ] STREAM CONNECTED 22351 -
|
||||
unix 3 [ ] STREAM CONNECTED 18140 -
|
||||
unix 2 [ ] DGRAM 24201 -
|
||||
unix 3 [ ] STREAM CONNECTED 18141 - /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 18549 -
|
||||
unix 2 [ ] DGRAM 14252 -
|
||||
unix 3 [ ] STREAM CONNECTED 22361 -
|
||||
unix 3 [ ] STREAM CONNECTED 18610 - /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 22360 -
|
||||
unix 3 [ ] STREAM CONNECTED 22240 -
|
||||
unix 2 [ ] DGRAM 14029 -
|
||||
unix 3 [ ] STREAM CONNECTED 22363 -
|
||||
unix 3 [ ] STREAM CONNECTED 22357 -
|
||||
unix 3 [ ] STREAM CONNECTED 22329 -
|
||||
unix 3 [ ] STREAM CONNECTED 22241 - /var/run/docker/libcontainerd/docker-containerd.sock
|
||||
unix 3 [ ] STREAM CONNECTED 18418 -
|
||||
unix 3 [ ] STREAM CONNECTED 21303 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 18419 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 22358 -
|
||||
unix 3 [ ] STREAM CONNECTED 22337 -
|
||||
unix 3 [ ] STREAM CONNECTED 22336 -
|
||||
unix 3 [ ] STREAM CONNECTED 22323 -
|
||||
unix 3 [ ] STREAM CONNECTED 18604 -
|
||||
unix 3 [ ] STREAM CONNECTED 22339 -
|
||||
unix 2 [ ] DGRAM 18730 -
|
||||
unix 2 [ ] DGRAM 18979 -
|
||||
unix 3 [ ] STREAM CONNECTED 22334 -
|
||||
unix 3 [ ] STREAM CONNECTED 22333 -
|
||||
unix 2 [ ] DGRAM 18269 -
|
||||
unix 3 [ ] STREAM CONNECTED 22345 -
|
||||
unix 2 [ ] DGRAM 22293 -
|
||||
unix 3 [ ] STREAM CONNECTED 21302 -
|
||||
unix 3 [ ] STREAM CONNECTED 22346 -
|
||||
unix 3 [ ] STREAM CONNECTED 23046 -
|
||||
unix 2 [ ] DGRAM 14838 -
|
||||
unix 3 [ ] STREAM CONNECTED 22340 -
|
||||
unix 3 [ ] STREAM CONNECTED 22343 -
|
||||
unix 3 [ ] STREAM CONNECTED 14409 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 22342 -
|
||||
unix 3 [ ] STREAM CONNECTED 22319 -
|
45
tests/fixtures/centos-7.7/netstat-sudo-lnp.out
vendored
Normal file
45
tests/fixtures/centos-7.7/netstat-sudo-lnp.out
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
Active Internet connections (only servers)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
||||
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1469/master
|
||||
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1206/sshd
|
||||
tcp6 0 0 ::1:25 :::* LISTEN 1469/master
|
||||
tcp6 0 0 :::22 :::* LISTEN 1206/sshd
|
||||
udp 0 0 0.0.0.0:68 0.0.0.0:* 1939/dhclient
|
||||
udp 0 0 127.0.0.1:323 0.0.0.0:* 795/chronyd
|
||||
udp6 0 0 ::1:323 :::* 795/chronyd
|
||||
raw6 0 0 :::58 :::* 7 865/NetworkManager
|
||||
Active UNIX domain sockets (only servers)
|
||||
Proto RefCnt Flags Type State I-Node PID/Program name Path
|
||||
unix 2 [ ACC ] STREAM LISTENING 13851 1/systemd /run/lvm/lvmpolld.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 8991 1/systemd /run/systemd/journal/stdout
|
||||
unix 2 [ ACC ] STREAM LISTENING 22321 1469/master public/pickup
|
||||
unix 2 [ ACC ] STREAM LISTENING 22332 1469/master private/tlsmgr
|
||||
unix 2 [ ACC ] STREAM LISTENING 22839 1205/dockerd-curren /run/docker/libnetwork/fe53fe5029258e61eb7a9173ec80150ea3595abe7d69e47af064f451212110bf.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 21822 1205/dockerd-curren /var/run/docker.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 13918 1/systemd /run/lvm/lvmetad.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 21877 1256/docker-contain /var/run/docker/libcontainerd/docker-containerd.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 20600 865/NetworkManager /var/run/NetworkManager/private-dhcp
|
||||
unix 2 [ ACC ] STREAM LISTENING 17785 1/systemd /run/dbus/system_bus_socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 22325 1469/master public/cleanup
|
||||
unix 2 [ ACC ] SEQPACKET LISTENING 13962 1/systemd /run/udev/control
|
||||
unix 2 [ ACC ] STREAM LISTENING 22328 1469/master public/qmgr
|
||||
unix 2 [ ACC ] STREAM LISTENING 22350 1469/master public/flush
|
||||
unix 2 [ ACC ] STREAM LISTENING 22365 1469/master public/showq
|
||||
unix 2 [ ACC ] STREAM LISTENING 22335 1469/master private/rewrite
|
||||
unix 2 [ ACC ] STREAM LISTENING 13771 1/systemd /run/systemd/private
|
||||
unix 2 [ ACC ] STREAM LISTENING 22338 1469/master private/bounce
|
||||
unix 2 [ ACC ] STREAM LISTENING 22341 1469/master private/defer
|
||||
unix 2 [ ACC ] STREAM LISTENING 22344 1469/master private/trace
|
||||
unix 2 [ ACC ] STREAM LISTENING 22347 1469/master private/verify
|
||||
unix 2 [ ACC ] STREAM LISTENING 22353 1469/master private/proxymap
|
||||
unix 2 [ ACC ] STREAM LISTENING 22356 1469/master private/proxywrite
|
||||
unix 2 [ ACC ] STREAM LISTENING 22359 1469/master private/smtp
|
||||
unix 2 [ ACC ] STREAM LISTENING 22362 1469/master private/relay
|
||||
unix 2 [ ACC ] STREAM LISTENING 22368 1469/master private/error
|
||||
unix 2 [ ACC ] STREAM LISTENING 22371 1469/master private/retry
|
||||
unix 2 [ ACC ] STREAM LISTENING 22374 1469/master private/discard
|
||||
unix 2 [ ACC ] STREAM LISTENING 22377 1469/master private/local
|
||||
unix 2 [ ACC ] STREAM LISTENING 22380 1469/master private/virtual
|
||||
unix 2 [ ACC ] STREAM LISTENING 22383 1469/master private/lmtp
|
||||
unix 2 [ ACC ] STREAM LISTENING 22386 1469/master private/anvil
|
||||
unix 2 [ ACC ] STREAM LISTENING 22389 1469/master private/scache
|
123
tests/fixtures/centos-7.7/netstat.out
vendored
Normal file
123
tests/fixtures/centos-7.7/netstat.out
vendored
Normal file
@ -0,0 +1,123 @@
|
||||
Active Internet connections (w/o servers)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State
|
||||
tcp 0 0 localhost.localdo:35450 lb-192-30-255-112:https ESTABLISHED
|
||||
tcp 0 0 localhost.localdoma:ssh 192.168.71.1:58727 ESTABLISHED
|
||||
tcp 0 0 localhost.localdo:47300 lb-192-30-255-113:https ESTABLISHED
|
||||
Active UNIX domain sockets (w/o servers)
|
||||
Proto RefCnt Flags Type State I-Node Path
|
||||
unix 3 [ ] DGRAM 8971 /run/systemd/notify
|
||||
unix 2 [ ] DGRAM 8973 /run/systemd/cgroups-agent
|
||||
unix 6 [ ] DGRAM 8994 /run/systemd/journal/socket
|
||||
unix 15 [ ] DGRAM 8996 /dev/log
|
||||
unix 2 [ ] DGRAM 13864 /run/systemd/shutdownd
|
||||
unix 2 [ ] DGRAM 18547 /var/run/chrony/chronyd.sock
|
||||
unix 2 [ ] DGRAM 44430
|
||||
unix 3 [ ] STREAM CONNECTED 22366
|
||||
unix 3 [ ] STREAM CONNECTED 22390
|
||||
unix 3 [ ] STREAM CONNECTED 21429
|
||||
unix 3 [ ] STREAM CONNECTED 22387
|
||||
unix 3 [ ] STREAM CONNECTED 22388
|
||||
unix 2 [ ] DGRAM 19075
|
||||
unix 3 [ ] STREAM CONNECTED 22385
|
||||
unix 3 [ ] STREAM CONNECTED 18892
|
||||
unix 3 [ ] STREAM CONNECTED 17796
|
||||
unix 2 [ ] DGRAM 22409
|
||||
unix 3 [ ] STREAM CONNECTED 18893 /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 18364 /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 44965
|
||||
unix 3 [ ] STREAM CONNECTED 22384
|
||||
unix 3 [ ] STREAM CONNECTED 21430 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 14760 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 19005
|
||||
unix 3 [ ] STREAM CONNECTED 17861 /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 19006 /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 22330
|
||||
unix 3 [ ] STREAM CONNECTED 17630
|
||||
unix 2 [ ] DGRAM 22509
|
||||
unix 3 [ ] STREAM CONNECTED 20119
|
||||
unix 2 [ ] DGRAM 21563
|
||||
unix 3 [ ] STREAM CONNECTED 22391
|
||||
unix 3 [ ] STREAM CONNECTED 18955
|
||||
unix 3 [ ] STREAM CONNECTED 22373
|
||||
unix 3 [ ] STREAM CONNECTED 22478
|
||||
unix 3 [ ] STREAM CONNECTED 17844
|
||||
unix 3 [ ] STREAM CONNECTED 22372
|
||||
unix 2 [ ] DGRAM 17621
|
||||
unix 2 [ ] DGRAM 44962
|
||||
unix 3 [ ] STREAM CONNECTED 14759
|
||||
unix 3 [ ] STREAM CONNECTED 22369
|
||||
unix 3 [ ] STREAM CONNECTED 22370
|
||||
unix 3 [ ] STREAM CONNECTED 17845 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 22367
|
||||
unix 2 [ ] DGRAM 21801
|
||||
unix 3 [ ] STREAM CONNECTED 18363
|
||||
unix 3 [ ] STREAM CONNECTED 22479 /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 17631
|
||||
unix 3 [ ] STREAM CONNECTED 22381
|
||||
unix 3 [ ] STREAM CONNECTED 20120 /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 17859
|
||||
unix 3 [ ] STREAM CONNECTED 22382
|
||||
unix 3 [ ] STREAM CONNECTED 22379
|
||||
unix 3 [ ] STREAM CONNECTED 22364
|
||||
unix 3 [ ] STREAM CONNECTED 17860
|
||||
unix 3 [ ] STREAM CONNECTED 44966
|
||||
unix 3 [ ] STREAM CONNECTED 22378
|
||||
unix 3 [ ] STREAM CONNECTED 22375
|
||||
unix 3 [ ] STREAM CONNECTED 21373
|
||||
unix 3 [ ] STREAM CONNECTED 18956 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 22376
|
||||
unix 3 [ ] STREAM CONNECTED 21448 /run/systemd/journal/stdout
|
||||
unix 3 [ ] DGRAM 14873
|
||||
unix 3 [ ] STREAM CONNECTED 23047 /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 22352
|
||||
unix 3 [ ] STREAM CONNECTED 22327
|
||||
unix 3 [ ] STREAM CONNECTED 22355
|
||||
unix 3 [ ] STREAM CONNECTED 22320
|
||||
unix 3 [ ] DGRAM 14872
|
||||
unix 3 [ ] STREAM CONNECTED 14408
|
||||
unix 3 [ ] STREAM CONNECTED 22354
|
||||
unix 2 [ ] DGRAM 18498
|
||||
unix 3 [ ] STREAM CONNECTED 22349
|
||||
unix 3 [ ] STREAM CONNECTED 22322
|
||||
unix 3 [ ] STREAM CONNECTED 22326
|
||||
unix 3 [ ] STREAM CONNECTED 22348
|
||||
unix 3 [ ] STREAM CONNECTED 22351
|
||||
unix 3 [ ] STREAM CONNECTED 18140
|
||||
unix 2 [ ] DGRAM 24201
|
||||
unix 3 [ ] STREAM CONNECTED 18141 /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 18549
|
||||
unix 2 [ ] DGRAM 14252
|
||||
unix 3 [ ] STREAM CONNECTED 22361
|
||||
unix 3 [ ] STREAM CONNECTED 18610 /run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 22360
|
||||
unix 3 [ ] STREAM CONNECTED 22240
|
||||
unix 2 [ ] DGRAM 14029
|
||||
unix 3 [ ] STREAM CONNECTED 22363
|
||||
unix 3 [ ] STREAM CONNECTED 22357
|
||||
unix 3 [ ] STREAM CONNECTED 22329
|
||||
unix 3 [ ] STREAM CONNECTED 22241 /var/run/docker/libcontainerd/docker-containerd.sock
|
||||
unix 3 [ ] STREAM CONNECTED 18418
|
||||
unix 3 [ ] STREAM CONNECTED 21303 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 18419 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 22358
|
||||
unix 3 [ ] STREAM CONNECTED 22337
|
||||
unix 3 [ ] STREAM CONNECTED 22336
|
||||
unix 3 [ ] STREAM CONNECTED 22323
|
||||
unix 3 [ ] STREAM CONNECTED 18604
|
||||
unix 3 [ ] STREAM CONNECTED 22339
|
||||
unix 2 [ ] DGRAM 18730
|
||||
unix 2 [ ] DGRAM 18979
|
||||
unix 3 [ ] STREAM CONNECTED 22334
|
||||
unix 3 [ ] STREAM CONNECTED 22333
|
||||
unix 2 [ ] DGRAM 18269
|
||||
unix 3 [ ] STREAM CONNECTED 22345
|
||||
unix 2 [ ] DGRAM 22293
|
||||
unix 3 [ ] STREAM CONNECTED 21302
|
||||
unix 3 [ ] STREAM CONNECTED 22346
|
||||
unix 3 [ ] STREAM CONNECTED 23046
|
||||
unix 2 [ ] DGRAM 14838
|
||||
unix 3 [ ] STREAM CONNECTED 22340
|
||||
unix 3 [ ] STREAM CONNECTED 22343
|
||||
unix 3 [ ] STREAM CONNECTED 14409 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 22342
|
||||
unix 3 [ ] STREAM CONNECTED 22319
|
110
tests/fixtures/centos-7.7/ps-axu.out
vendored
Normal file
110
tests/fixtures/centos-7.7/ps-axu.out
vendored
Normal file
@ -0,0 +1,110 @@
|
||||
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
|
||||
root 1 0.0 0.1 128068 6676 ? Ss Oct25 0:03 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
|
||||
root 2 0.0 0.0 0 0 ? S Oct25 0:00 [kthreadd]
|
||||
root 4 0.0 0.0 0 0 ? S< Oct25 0:00 [kworker/0:0H]
|
||||
root 5 0.0 0.0 0 0 ? S Oct25 0:00 [kworker/u256:0]
|
||||
root 6 0.0 0.0 0 0 ? R Oct25 0:00 [ksoftirqd/0]
|
||||
root 7 0.0 0.0 0 0 ? S Oct25 0:00 [migration/0]
|
||||
root 8 0.0 0.0 0 0 ? S Oct25 0:00 [rcu_bh]
|
||||
root 9 0.0 0.0 0 0 ? R Oct25 0:01 [rcu_sched]
|
||||
root 10 0.0 0.0 0 0 ? S< Oct25 0:00 [lru-add-drain]
|
||||
root 11 0.0 0.0 0 0 ? S Oct25 0:00 [watchdog/0]
|
||||
root 13 0.0 0.0 0 0 ? S Oct25 0:00 [kdevtmpfs]
|
||||
root 14 0.0 0.0 0 0 ? S< Oct25 0:00 [netns]
|
||||
root 15 0.0 0.0 0 0 ? S Oct25 0:00 [khungtaskd]
|
||||
root 16 0.0 0.0 0 0 ? S< Oct25 0:00 [writeback]
|
||||
root 17 0.0 0.0 0 0 ? S< Oct25 0:00 [kintegrityd]
|
||||
root 18 0.0 0.0 0 0 ? S< Oct25 0:00 [bioset]
|
||||
root 19 0.0 0.0 0 0 ? S< Oct25 0:00 [bioset]
|
||||
root 20 0.0 0.0 0 0 ? S< Oct25 0:00 [bioset]
|
||||
root 21 0.0 0.0 0 0 ? S< Oct25 0:00 [kblockd]
|
||||
root 22 0.0 0.0 0 0 ? S< Oct25 0:00 [md]
|
||||
root 23 0.0 0.0 0 0 ? S< Oct25 0:00 [edac-poller]
|
||||
root 24 0.0 0.0 0 0 ? S< Oct25 0:00 [watchdogd]
|
||||
root 30 0.0 0.0 0 0 ? S Oct25 0:00 [kswapd0]
|
||||
root 31 0.0 0.0 0 0 ? SN Oct25 0:00 [ksmd]
|
||||
root 32 0.0 0.0 0 0 ? SN Oct25 0:00 [khugepaged]
|
||||
root 33 0.0 0.0 0 0 ? S< Oct25 0:00 [crypto]
|
||||
root 41 0.0 0.0 0 0 ? S< Oct25 0:00 [kthrotld]
|
||||
root 42 0.0 0.0 0 0 ? S Oct25 0:01 [kworker/u256:1]
|
||||
root 43 0.0 0.0 0 0 ? S< Oct25 0:00 [kmpath_rdacd]
|
||||
root 44 0.0 0.0 0 0 ? S< Oct25 0:00 [kaluad]
|
||||
root 45 0.0 0.0 0 0 ? S< Oct25 0:00 [kpsmoused]
|
||||
root 47 0.0 0.0 0 0 ? S< Oct25 0:00 [ipv6_addrconf]
|
||||
root 60 0.0 0.0 0 0 ? S< Oct25 0:00 [deferwq]
|
||||
root 95 0.0 0.0 0 0 ? S Oct25 0:00 [kauditd]
|
||||
root 272 0.0 0.0 0 0 ? S< Oct25 0:00 [mpt_poll_0]
|
||||
root 273 0.0 0.0 0 0 ? S< Oct25 0:00 [mpt/0]
|
||||
root 274 0.0 0.0 0 0 ? S< Oct25 0:00 [ata_sff]
|
||||
root 275 0.0 0.0 0 0 ? S< Oct25 0:00 [nfit]
|
||||
root 291 0.0 0.0 0 0 ? S Oct25 0:00 [scsi_eh_0]
|
||||
root 295 0.0 0.0 0 0 ? S< Oct25 0:00 [scsi_tmf_0]
|
||||
root 330 0.0 0.0 0 0 ? S Oct25 0:00 [scsi_eh_1]
|
||||
root 331 0.0 0.0 0 0 ? S< Oct25 0:00 [scsi_tmf_1]
|
||||
root 339 0.0 0.0 0 0 ? S Oct25 0:00 [scsi_eh_2]
|
||||
root 346 0.0 0.0 0 0 ? S< Oct25 0:00 [scsi_tmf_2]
|
||||
root 357 0.0 0.0 0 0 ? S Oct25 0:00 [irq/16-vmwgfx]
|
||||
root 358 0.0 0.0 0 0 ? S< Oct25 0:00 [ttm_swap]
|
||||
root 431 0.0 0.0 0 0 ? S< Oct25 0:00 [kdmflush]
|
||||
root 432 0.0 0.0 0 0 ? S< Oct25 0:00 [bioset]
|
||||
root 442 0.0 0.0 0 0 ? S< Oct25 0:00 [kdmflush]
|
||||
root 443 0.0 0.0 0 0 ? S< Oct25 0:00 [bioset]
|
||||
root 455 0.0 0.0 0 0 ? S< Oct25 0:00 [bioset]
|
||||
root 456 0.0 0.0 0 0 ? S< Oct25 0:00 [xfsalloc]
|
||||
root 457 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs_mru_cache]
|
||||
root 458 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-buf/dm-0]
|
||||
root 459 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-data/dm-0]
|
||||
root 460 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-conv/dm-0]
|
||||
root 461 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-cil/dm-0]
|
||||
root 462 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-reclaim/dm-]
|
||||
root 463 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-log/dm-0]
|
||||
root 464 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-eofblocks/d]
|
||||
root 465 0.0 0.0 0 0 ? S Oct25 0:05 [xfsaild/dm-0]
|
||||
root 466 0.0 0.0 0 0 ? S< Oct25 0:00 [kworker/0:1H]
|
||||
root 544 0.0 0.1 39080 4636 ? Ss Oct25 0:01 /usr/lib/systemd/systemd-journald
|
||||
root 560 0.0 0.1 127392 4132 ? Ss Oct25 0:00 /usr/sbin/lvmetad -f
|
||||
root 577 0.0 0.1 48124 5324 ? Ss Oct25 0:00 /usr/lib/systemd/systemd-udevd
|
||||
root 629 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-buf/sda1]
|
||||
root 638 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-data/sda1]
|
||||
root 641 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-conv/sda1]
|
||||
root 646 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-cil/sda1]
|
||||
root 651 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-reclaim/sda]
|
||||
root 654 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-log/sda1]
|
||||
root 658 0.0 0.0 0 0 ? S< Oct25 0:00 [xfs-eofblocks/s]
|
||||
root 667 0.0 0.0 0 0 ? S Oct25 0:00 [xfsaild/sda1]
|
||||
root 675 0.0 0.0 0 0 ? S< Oct25 0:00 [kworker/u257:0]
|
||||
root 677 0.0 0.0 0 0 ? S< Oct25 0:00 [hci0]
|
||||
root 678 0.0 0.0 0 0 ? S< Oct25 0:00 [hci0]
|
||||
root 681 0.0 0.0 0 0 ? S< Oct25 0:00 [kworker/u257:2]
|
||||
root 756 0.0 0.0 55528 888 ? S<sl Oct25 0:00 /sbin/auditd
|
||||
dbus 778 0.0 0.0 66472 2592 ? Ssl Oct25 0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
|
||||
polkitd 781 0.0 0.3 613016 15052 ? Ssl Oct25 0:00 /usr/lib/polkit-1/polkitd --no-debug
|
||||
root 784 0.0 0.0 26380 1760 ? Ss Oct25 0:00 /usr/lib/systemd/systemd-logind
|
||||
root 792 0.0 0.0 126292 1672 ? Ss Oct25 0:00 /usr/sbin/crond -n
|
||||
chrony 795 0.0 0.0 117804 1848 ? S Oct25 0:02 /usr/sbin/chronyd
|
||||
root 815 0.0 0.0 110108 860 tty1 Ss+ Oct25 0:00 /sbin/agetty --noclear tty1 linux
|
||||
root 817 0.0 0.0 200196 2656 ? Ss Oct25 0:00 login -- kbrazil
|
||||
root 823 0.0 0.7 358752 29528 ? Ssl Oct25 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
|
||||
root 865 0.0 0.2 636400 11256 ? Ssl Oct25 0:03 /usr/sbin/NetworkManager --no-daemon
|
||||
root 1205 0.1 0.7 644304 27244 ? Ssl Oct25 1:26 /usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --init-path=/usr/libexec/docker/docker-init-current --seccomp-profile=/etc/docker/seccomp.json --selinux-enabled --log-driver=journald --signature-verification=false --storage-driver overlay2
|
||||
root 1206 0.0 0.1 112920 4316 ? Ss Oct25 0:00 /usr/sbin/sshd -D
|
||||
root 1207 0.0 0.4 574204 17436 ? Ssl Oct25 0:13 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
|
||||
root 1209 0.0 0.1 216420 5300 ? Ssl Oct25 0:09 /usr/sbin/rsyslogd -n
|
||||
root 1256 0.0 0.2 287236 11428 ? Ssl Oct25 0:53 /usr/bin/docker-containerd-current -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim docker-containerd-shim --runtime docker-runc --runtime-args --systemd-cgroup=true
|
||||
root 1469 0.0 0.0 89700 2184 ? Ss Oct25 0:00 /usr/libexec/postfix/master -w
|
||||
postfix 1474 0.0 0.1 89872 4080 ? S Oct25 0:00 qmgr -l -t unix -u
|
||||
kbrazil 1835 0.0 0.0 115712 2440 ttyS0 Ss+ Oct25 0:02 -bash
|
||||
root 1939 0.0 0.1 102896 5484 ? S Oct25 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-ens33.pid -lf /var/lib/NetworkManager/dhclient-d92ece08-9e02-47d5-b2d2-92c80e155744-ens33.lease -cf /var/lib/NetworkManager/dhclient-ens33.conf ens33
|
||||
postfix 4262 0.0 0.1 89804 4056 ? S 09:22 0:00 pickup -l -t unix -u
|
||||
root 4314 0.0 0.1 158924 5700 ? Ss 09:53 0:00 sshd: kbrazil [priv]
|
||||
kbrazil 4318 0.0 0.0 158924 2464 ? S 09:53 0:00 sshd: kbrazil@pts/0
|
||||
kbrazil 4319 0.0 0.0 115580 2204 pts/0 Ss 09:53 0:00 -bash
|
||||
root 4587 0.1 0.0 0 0 ? S 10:01 0:01 [kworker/0:2]
|
||||
root 4715 0.0 0.0 0 0 ? S 10:19 0:00 [kworker/0:1]
|
||||
root 4716 0.0 0.0 0 0 ? S 10:24 0:00 [kworker/0:0]
|
||||
kbrazil 4720 0.0 0.0 113188 1432 pts/0 S+ 10:25 0:00 /bin/bash ./tests.sh
|
||||
kbrazil 4768 0.0 0.0 107956 356 pts/0 S+ 10:25 0:00 sleep 11
|
||||
kbrazil 4769 0.0 0.0 107956 356 pts/0 S+ 10:25 0:00 sleep 12
|
||||
kbrazil 4770 0.0 0.0 107956 356 pts/0 S+ 10:25 0:00 sleep 13
|
||||
kbrazil 4771 0.0 0.0 107956 356 pts/0 S+ 10:25 0:00 sleep 14
|
||||
kbrazil 4801 0.0 0.0 155372 1864 pts/0 R+ 10:25 0:00 ps axu
|
110
tests/fixtures/centos-7.7/ps-ef.out
vendored
Normal file
110
tests/fixtures/centos-7.7/ps-ef.out
vendored
Normal file
@ -0,0 +1,110 @@
|
||||
UID PID PPID C STIME TTY TIME CMD
|
||||
root 1 0 0 Oct25 ? 00:00:03 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
|
||||
root 2 0 0 Oct25 ? 00:00:00 [kthreadd]
|
||||
root 4 2 0 Oct25 ? 00:00:00 [kworker/0:0H]
|
||||
root 5 2 0 Oct25 ? 00:00:00 [kworker/u256:0]
|
||||
root 6 2 0 Oct25 ? 00:00:00 [ksoftirqd/0]
|
||||
root 7 2 0 Oct25 ? 00:00:00 [migration/0]
|
||||
root 8 2 0 Oct25 ? 00:00:00 [rcu_bh]
|
||||
root 9 2 0 Oct25 ? 00:00:01 [rcu_sched]
|
||||
root 10 2 0 Oct25 ? 00:00:00 [lru-add-drain]
|
||||
root 11 2 0 Oct25 ? 00:00:00 [watchdog/0]
|
||||
root 13 2 0 Oct25 ? 00:00:00 [kdevtmpfs]
|
||||
root 14 2 0 Oct25 ? 00:00:00 [netns]
|
||||
root 15 2 0 Oct25 ? 00:00:00 [khungtaskd]
|
||||
root 16 2 0 Oct25 ? 00:00:00 [writeback]
|
||||
root 17 2 0 Oct25 ? 00:00:00 [kintegrityd]
|
||||
root 18 2 0 Oct25 ? 00:00:00 [bioset]
|
||||
root 19 2 0 Oct25 ? 00:00:00 [bioset]
|
||||
root 20 2 0 Oct25 ? 00:00:00 [bioset]
|
||||
root 21 2 0 Oct25 ? 00:00:00 [kblockd]
|
||||
root 22 2 0 Oct25 ? 00:00:00 [md]
|
||||
root 23 2 0 Oct25 ? 00:00:00 [edac-poller]
|
||||
root 24 2 0 Oct25 ? 00:00:00 [watchdogd]
|
||||
root 30 2 0 Oct25 ? 00:00:00 [kswapd0]
|
||||
root 31 2 0 Oct25 ? 00:00:00 [ksmd]
|
||||
root 32 2 0 Oct25 ? 00:00:00 [khugepaged]
|
||||
root 33 2 0 Oct25 ? 00:00:00 [crypto]
|
||||
root 41 2 0 Oct25 ? 00:00:00 [kthrotld]
|
||||
root 42 2 0 Oct25 ? 00:00:01 [kworker/u256:1]
|
||||
root 43 2 0 Oct25 ? 00:00:00 [kmpath_rdacd]
|
||||
root 44 2 0 Oct25 ? 00:00:00 [kaluad]
|
||||
root 45 2 0 Oct25 ? 00:00:00 [kpsmoused]
|
||||
root 47 2 0 Oct25 ? 00:00:00 [ipv6_addrconf]
|
||||
root 60 2 0 Oct25 ? 00:00:00 [deferwq]
|
||||
root 95 2 0 Oct25 ? 00:00:00 [kauditd]
|
||||
root 272 2 0 Oct25 ? 00:00:00 [mpt_poll_0]
|
||||
root 273 2 0 Oct25 ? 00:00:00 [mpt/0]
|
||||
root 274 2 0 Oct25 ? 00:00:00 [ata_sff]
|
||||
root 275 2 0 Oct25 ? 00:00:00 [nfit]
|
||||
root 291 2 0 Oct25 ? 00:00:00 [scsi_eh_0]
|
||||
root 295 2 0 Oct25 ? 00:00:00 [scsi_tmf_0]
|
||||
root 330 2 0 Oct25 ? 00:00:00 [scsi_eh_1]
|
||||
root 331 2 0 Oct25 ? 00:00:00 [scsi_tmf_1]
|
||||
root 339 2 0 Oct25 ? 00:00:00 [scsi_eh_2]
|
||||
root 346 2 0 Oct25 ? 00:00:00 [scsi_tmf_2]
|
||||
root 357 2 0 Oct25 ? 00:00:00 [irq/16-vmwgfx]
|
||||
root 358 2 0 Oct25 ? 00:00:00 [ttm_swap]
|
||||
root 431 2 0 Oct25 ? 00:00:00 [kdmflush]
|
||||
root 432 2 0 Oct25 ? 00:00:00 [bioset]
|
||||
root 442 2 0 Oct25 ? 00:00:00 [kdmflush]
|
||||
root 443 2 0 Oct25 ? 00:00:00 [bioset]
|
||||
root 455 2 0 Oct25 ? 00:00:00 [bioset]
|
||||
root 456 2 0 Oct25 ? 00:00:00 [xfsalloc]
|
||||
root 457 2 0 Oct25 ? 00:00:00 [xfs_mru_cache]
|
||||
root 458 2 0 Oct25 ? 00:00:00 [xfs-buf/dm-0]
|
||||
root 459 2 0 Oct25 ? 00:00:00 [xfs-data/dm-0]
|
||||
root 460 2 0 Oct25 ? 00:00:00 [xfs-conv/dm-0]
|
||||
root 461 2 0 Oct25 ? 00:00:00 [xfs-cil/dm-0]
|
||||
root 462 2 0 Oct25 ? 00:00:00 [xfs-reclaim/dm-]
|
||||
root 463 2 0 Oct25 ? 00:00:00 [xfs-log/dm-0]
|
||||
root 464 2 0 Oct25 ? 00:00:00 [xfs-eofblocks/d]
|
||||
root 465 2 0 Oct25 ? 00:00:05 [xfsaild/dm-0]
|
||||
root 466 2 0 Oct25 ? 00:00:00 [kworker/0:1H]
|
||||
root 544 1 0 Oct25 ? 00:00:01 /usr/lib/systemd/systemd-journald
|
||||
root 560 1 0 Oct25 ? 00:00:00 /usr/sbin/lvmetad -f
|
||||
root 577 1 0 Oct25 ? 00:00:00 /usr/lib/systemd/systemd-udevd
|
||||
root 629 2 0 Oct25 ? 00:00:00 [xfs-buf/sda1]
|
||||
root 638 2 0 Oct25 ? 00:00:00 [xfs-data/sda1]
|
||||
root 641 2 0 Oct25 ? 00:00:00 [xfs-conv/sda1]
|
||||
root 646 2 0 Oct25 ? 00:00:00 [xfs-cil/sda1]
|
||||
root 651 2 0 Oct25 ? 00:00:00 [xfs-reclaim/sda]
|
||||
root 654 2 0 Oct25 ? 00:00:00 [xfs-log/sda1]
|
||||
root 658 2 0 Oct25 ? 00:00:00 [xfs-eofblocks/s]
|
||||
root 667 2 0 Oct25 ? 00:00:00 [xfsaild/sda1]
|
||||
root 675 2 0 Oct25 ? 00:00:00 [kworker/u257:0]
|
||||
root 677 2 0 Oct25 ? 00:00:00 [hci0]
|
||||
root 678 2 0 Oct25 ? 00:00:00 [hci0]
|
||||
root 681 2 0 Oct25 ? 00:00:00 [kworker/u257:2]
|
||||
root 756 1 0 Oct25 ? 00:00:00 /sbin/auditd
|
||||
dbus 778 1 0 Oct25 ? 00:00:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
|
||||
polkitd 781 1 0 Oct25 ? 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
|
||||
root 784 1 0 Oct25 ? 00:00:00 /usr/lib/systemd/systemd-logind
|
||||
root 792 1 0 Oct25 ? 00:00:00 /usr/sbin/crond -n
|
||||
chrony 795 1 0 Oct25 ? 00:00:02 /usr/sbin/chronyd
|
||||
root 815 1 0 Oct25 tty1 00:00:00 /sbin/agetty --noclear tty1 linux
|
||||
root 817 1 0 Oct25 ? 00:00:00 login -- kbrazil
|
||||
root 823 1 0 Oct25 ? 00:00:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
|
||||
root 865 1 0 Oct25 ? 00:00:03 /usr/sbin/NetworkManager --no-daemon
|
||||
root 1205 1 0 Oct25 ? 00:01:26 /usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --init-path=/usr/libexec/docker/docker-init-current --seccomp-profile=/etc/docker/seccomp.json --selinux-enabled --log-driver=journald --signature-verification=false --storage-driver overlay2
|
||||
root 1206 1 0 Oct25 ? 00:00:00 /usr/sbin/sshd -D
|
||||
root 1207 1 0 Oct25 ? 00:00:13 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
|
||||
root 1209 1 0 Oct25 ? 00:00:09 /usr/sbin/rsyslogd -n
|
||||
root 1256 1205 0 Oct25 ? 00:00:53 /usr/bin/docker-containerd-current -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim docker-containerd-shim --runtime docker-runc --runtime-args --systemd-cgroup=true
|
||||
root 1469 1 0 Oct25 ? 00:00:00 /usr/libexec/postfix/master -w
|
||||
postfix 1474 1469 0 Oct25 ? 00:00:00 qmgr -l -t unix -u
|
||||
kbrazil 1835 817 0 Oct25 ttyS0 00:00:02 -bash
|
||||
root 1939 865 0 Oct25 ? 00:00:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-ens33.pid -lf /var/lib/NetworkManager/dhclient-d92ece08-9e02-47d5-b2d2-92c80e155744-ens33.lease -cf /var/lib/NetworkManager/dhclient-ens33.conf ens33
|
||||
postfix 4262 1469 0 09:22 ? 00:00:00 pickup -l -t unix -u
|
||||
root 4314 1206 0 09:53 ? 00:00:00 sshd: kbrazil [priv]
|
||||
kbrazil 4318 4314 0 09:53 ? 00:00:00 sshd: kbrazil@pts/0
|
||||
kbrazil 4319 4318 0 09:53 pts/0 00:00:00 -bash
|
||||
root 4587 2 0 10:01 ? 00:00:01 [kworker/0:2]
|
||||
root 4715 2 0 10:19 ? 00:00:00 [kworker/0:1]
|
||||
root 4716 2 0 10:24 ? 00:00:00 [kworker/0:0]
|
||||
kbrazil 4720 4319 0 10:25 pts/0 00:00:00 /bin/bash ./tests.sh
|
||||
kbrazil 4768 4720 0 10:25 pts/0 00:00:00 sleep 11
|
||||
kbrazil 4769 4720 0 10:25 pts/0 00:00:00 sleep 12
|
||||
kbrazil 4770 4720 0 10:25 pts/0 00:00:00 sleep 13
|
||||
kbrazil 4771 4720 0 10:25 pts/0 00:00:00 sleep 14
|
||||
kbrazil 4800 4720 0 10:25 pts/0 00:00:00 ps -ef
|
5
tests/fixtures/centos-7.7/route-vn.out
vendored
Normal file
5
tests/fixtures/centos-7.7/route-vn.out
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
Kernel IP routing table
|
||||
Destination Gateway Genmask Flags Metric Ref Use Iface
|
||||
0.0.0.0 192.168.71.2 0.0.0.0 UG 100 0 0 ens33
|
||||
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
|
||||
192.168.71.0 0.0.0.0 255.255.255.0 U 100 0 0 ens33
|
5
tests/fixtures/centos-7.7/route.out
vendored
Normal file
5
tests/fixtures/centos-7.7/route.out
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
Kernel IP routing table
|
||||
Destination Gateway Genmask Flags Metric Ref Use Iface
|
||||
default gateway 0.0.0.0 UG 100 0 0 ens33
|
||||
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
|
||||
192.168.71.0 0.0.0.0 255.255.255.0 U 100 0 0 ens33
|
1
tests/fixtures/centos-7.7/uname-a.out
vendored
Normal file
1
tests/fixtures/centos-7.7/uname-a.out
vendored
Normal file
@ -0,0 +1 @@
|
||||
Linux localhost.localdomain 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
|
1
tests/fixtures/centos-7.7/uptime.out
vendored
Normal file
1
tests/fixtures/centos-7.7/uptime.out
vendored
Normal file
@ -0,0 +1 @@
|
||||
10:25:20 up 16:03, 2 users, load average: 0.00, 0.01, 0.05
|
4
tests/fixtures/centos-7.7/w.out
vendored
Normal file
4
tests/fixtures/centos-7.7/w.out
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
10:25:20 up 16:03, 2 users, load average: 0.00, 0.01, 0.05
|
||||
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
|
||||
kbrazil ttyS0 Fri18 32:16 2.66s 2.66s -bash
|
||||
kbrazil pts/0 192.168.71.1 09:53 8.00s 0.10s 0.00s w
|
55
tests/fixtures/create_fixtures.sh
vendored
Normal file
55
tests/fixtures/create_fixtures.sh
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
#!/bin/bash
|
||||
|
||||
arp > arp.out
|
||||
arp -v > arp-v.out
|
||||
arp -a > arp-a.out
|
||||
df > df.out
|
||||
df -h > df-h.out
|
||||
dig www.google.com AAAA > dig-aaaa.out
|
||||
dig www.cnn.com www.google.com > dig.out
|
||||
dig -x 1.1.1.1 > dig-x.out
|
||||
env > env.out
|
||||
free > free.out
|
||||
free -h > free-h.out
|
||||
history > history.out
|
||||
ifconfig > ifconfig.out
|
||||
|
||||
sudo iptables -A INPUT -i lo -j ACCEPT
|
||||
sudo iptables -A OUTPUT -o lo -j ACCEPT
|
||||
sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
||||
sudo iptables -A OUTPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
|
||||
sudo iptables -A INPUT -m conntrack --ctstate INVALID -j DROP
|
||||
sudo iptables -A INPUT -i lo -s 15.15.15.51 -j DROP
|
||||
sudo iptables -A INPUT -p tcp -s 15.15.15.0/24 --dport 22 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
|
||||
sudo iptables -A OUTPUT -p tcp --sport 22 -m conntrack --ctstate ESTABLISHED -j ACCEPT
|
||||
sudo iptables -L -t filter > iptables-filter.out
|
||||
sudo iptables -L -t nat > iptables-nat.out
|
||||
sudo iptables -L -t mangle > iptables-mangle.out
|
||||
sudo iptables -L -t raw > iptables-raw.out
|
||||
sudo iptables -nvL -t filter > iptables-filter-nv.out
|
||||
|
||||
sleep 11 & sleep 12 & sleep 13 & sleep 14 &
|
||||
jobs > jobs.out
|
||||
|
||||
ls / > ls.out
|
||||
ls -al / > ls-al.out
|
||||
ls -alh / > ls-alh.out
|
||||
lsblk > lsblk.out
|
||||
lsmod > lsmod.out
|
||||
lsof > lsof.out
|
||||
sudo lsof > lsof-sudo.out
|
||||
mount > mount.out
|
||||
|
||||
rm -rf /tmp/jc
|
||||
git clone https://github.com/kellyjonbrazil/jc.git /tmp/jc & sleep 1; netstat > netstat.out
|
||||
netstat -p > netstat-p.out
|
||||
netstat -l > netstat-l.out
|
||||
sudo netstat -lnp > netstat-sudo-lnp.out
|
||||
|
||||
ps -ef > ps-ef.out
|
||||
ps axu > ps-axu.out
|
||||
route > route.out
|
||||
route -vn > route-vn.out
|
||||
uname -a > uname-a.out
|
||||
uptime > uptime.out
|
||||
w > w.out
|
3
tests/fixtures/ubuntu-18.04/arp-a.out
vendored
Normal file
3
tests/fixtures/ubuntu-18.04/arp-a.out
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
? (192.168.71.1) at 00:50:56:c0:00:08 [ether] on ens33
|
||||
? (192.168.71.254) at 00:50:56:fe:7a:b4 [ether] on ens33
|
||||
_gateway (192.168.71.2) at 00:50:56:f7:4a:fc [ether] on ens33
|
4
tests/fixtures/ubuntu-18.04/arp-v.out
vendored
Normal file
4
tests/fixtures/ubuntu-18.04/arp-v.out
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
Address HWtype HWaddress Flags Mask Iface
|
||||
192.168.71.254 ether 00:50:56:fe:7a:b4 C ens33
|
||||
_gateway ether 00:50:56:f7:4a:fc C ens33
|
||||
Entries: 2 Skipped: 0 Found: 2
|
3
tests/fixtures/ubuntu-18.04/arp.out
vendored
Normal file
3
tests/fixtures/ubuntu-18.04/arp.out
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
Address HWtype HWaddress Flags Mask Iface
|
||||
192.168.71.254 ether 00:50:56:fe:7a:b4 C ens33
|
||||
_gateway ether 00:50:56:f7:4a:fc C ens33
|
19
tests/fixtures/ubuntu-18.04/df-h.out
vendored
Normal file
19
tests/fixtures/ubuntu-18.04/df-h.out
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
Filesystem Size Used Avail Use% Mounted on
|
||||
udev 955M 0 955M 0% /dev
|
||||
tmpfs 198M 1.2M 196M 1% /run
|
||||
/dev/sda2 20G 5.5G 14G 30% /
|
||||
tmpfs 986M 0 986M 0% /dev/shm
|
||||
tmpfs 5.0M 0 5.0M 0% /run/lock
|
||||
tmpfs 986M 0 986M 0% /sys/fs/cgroup
|
||||
/dev/loop0 55M 55M 0 100% /snap/core18/1223
|
||||
/dev/loop1 11M 11M 0 100% /snap/slcli/383
|
||||
/dev/loop2 89M 89M 0 100% /snap/core/7396
|
||||
/dev/loop3 67M 67M 0 100% /snap/google-cloud-sdk/103
|
||||
/dev/loop5 55M 55M 0 100% /snap/core18/1074
|
||||
/dev/loop7 8.7M 8.7M 0 100% /snap/doctl/187
|
||||
/dev/loop8 3.2M 3.2M 0 100% /snap/stress-ng/847
|
||||
/dev/loop10 90M 90M 0 100% /snap/core/7917
|
||||
/dev/loop11 3.3M 3.3M 0 100% /snap/stress-ng/924
|
||||
tmpfs 197M 0 197M 0% /run/user/1000
|
||||
/dev/loop9 8.7M 8.7M 0 100% /snap/doctl/215
|
||||
/dev/loop4 67M 67M 0 100% /snap/google-cloud-sdk/104
|
19
tests/fixtures/ubuntu-18.04/df.out
vendored
Normal file
19
tests/fixtures/ubuntu-18.04/df.out
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
Filesystem 1K-blocks Used Available Use% Mounted on
|
||||
udev 977500 0 977500 0% /dev
|
||||
tmpfs 201732 1204 200528 1% /run
|
||||
/dev/sda2 20508240 5748028 13695408 30% /
|
||||
tmpfs 1008648 0 1008648 0% /dev/shm
|
||||
tmpfs 5120 0 5120 0% /run/lock
|
||||
tmpfs 1008648 0 1008648 0% /sys/fs/cgroup
|
||||
/dev/loop0 55936 55936 0 100% /snap/core18/1223
|
||||
/dev/loop1 11264 11264 0 100% /snap/slcli/383
|
||||
/dev/loop2 90880 90880 0 100% /snap/core/7396
|
||||
/dev/loop3 68096 68096 0 100% /snap/google-cloud-sdk/103
|
||||
/dev/loop5 55808 55808 0 100% /snap/core18/1074
|
||||
/dev/loop7 8832 8832 0 100% /snap/doctl/187
|
||||
/dev/loop8 3200 3200 0 100% /snap/stress-ng/847
|
||||
/dev/loop10 91264 91264 0 100% /snap/core/7917
|
||||
/dev/loop11 3328 3328 0 100% /snap/stress-ng/924
|
||||
tmpfs 201728 0 201728 0% /run/user/1000
|
||||
/dev/loop9 8832 8832 0 100% /snap/doctl/215
|
||||
/dev/loop4 68224 68224 0 100% /snap/google-cloud-sdk/104
|
20
tests/fixtures/ubuntu-18.04/dig-aaaa.out
vendored
Normal file
20
tests/fixtures/ubuntu-18.04/dig-aaaa.out
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> www.google.com AAAA
|
||||
;; global options: +cmd
|
||||
;; Got answer:
|
||||
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45806
|
||||
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
|
||||
|
||||
;; OPT PSEUDOSECTION:
|
||||
; EDNS: version: 0, flags:; udp: 65494
|
||||
;; QUESTION SECTION:
|
||||
;www.google.com. IN AAAA
|
||||
|
||||
;; ANSWER SECTION:
|
||||
www.google.com. 5 IN AAAA 2607:f8b0:4000:812::2004
|
||||
|
||||
;; Query time: 39 msec
|
||||
;; SERVER: 127.0.0.53#53(127.0.0.53)
|
||||
;; WHEN: Thu Oct 31 14:21:04 UTC 2019
|
||||
;; MSG SIZE rcvd: 71
|
||||
|
20
tests/fixtures/ubuntu-18.04/dig-x.out
vendored
Normal file
20
tests/fixtures/ubuntu-18.04/dig-x.out
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> -x 1.1.1.1
|
||||
;; global options: +cmd
|
||||
;; Got answer:
|
||||
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28514
|
||||
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
|
||||
|
||||
;; OPT PSEUDOSECTION:
|
||||
; EDNS: version: 0, flags:; udp: 65494
|
||||
;; QUESTION SECTION:
|
||||
;1.1.1.1.in-addr.arpa. IN PTR
|
||||
|
||||
;; ANSWER SECTION:
|
||||
1.1.1.1.in-addr.arpa. 5 IN PTR one.one.one.one.
|
||||
|
||||
;; Query time: 37 msec
|
||||
;; SERVER: 127.0.0.53#53(127.0.0.53)
|
||||
;; WHEN: Thu Oct 31 14:21:05 UTC 2019
|
||||
;; MSG SIZE rcvd: 78
|
||||
|
41
tests/fixtures/ubuntu-18.04/dig.out
vendored
Normal file
41
tests/fixtures/ubuntu-18.04/dig.out
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
|
||||
; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> www.cnn.com www.google.com
|
||||
;; global options: +cmd
|
||||
;; Got answer:
|
||||
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52284
|
||||
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1
|
||||
|
||||
;; OPT PSEUDOSECTION:
|
||||
; EDNS: version: 0, flags:; udp: 65494
|
||||
;; QUESTION SECTION:
|
||||
;www.cnn.com. IN A
|
||||
|
||||
;; ANSWER SECTION:
|
||||
www.cnn.com. 5 IN CNAME turner-tls.map.fastly.net.
|
||||
turner-tls.map.fastly.net. 4 IN A 151.101.65.67
|
||||
turner-tls.map.fastly.net. 4 IN A 151.101.1.67
|
||||
turner-tls.map.fastly.net. 4 IN A 151.101.193.67
|
||||
turner-tls.map.fastly.net. 4 IN A 151.101.129.67
|
||||
|
||||
;; Query time: 31 msec
|
||||
;; SERVER: 127.0.0.53#53(127.0.0.53)
|
||||
;; WHEN: Thu Oct 31 14:21:04 UTC 2019
|
||||
;; MSG SIZE rcvd: 143
|
||||
|
||||
;; Got answer:
|
||||
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47686
|
||||
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
|
||||
|
||||
;; OPT PSEUDOSECTION:
|
||||
; EDNS: version: 0, flags:; udp: 65494
|
||||
;; QUESTION SECTION:
|
||||
;www.google.com. IN A
|
||||
|
||||
;; ANSWER SECTION:
|
||||
www.google.com. 5 IN A 172.217.1.228
|
||||
|
||||
;; Query time: 32 msec
|
||||
;; SERVER: 127.0.0.53#53(127.0.0.53)
|
||||
;; WHEN: Thu Oct 31 14:21:04 UTC 2019
|
||||
;; MSG SIZE rcvd: 59
|
||||
|
21
tests/fixtures/ubuntu-18.04/env.out
vendored
Normal file
21
tests/fixtures/ubuntu-18.04/env.out
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
|
||||
SSH_CONNECTION=192.168.71.1 65159 192.168.71.131 22
|
||||
LESSCLOSE=/usr/bin/lesspipe %s %s
|
||||
LANG=en_US.UTF-8
|
||||
OLDPWD=/home/kbrazil
|
||||
XDG_SESSION_ID=49
|
||||
USER=kbrazil
|
||||
PWD=/home/kbrazil/testfiles
|
||||
HOME=/home/kbrazil
|
||||
SSH_CLIENT=192.168.71.1 65159 22
|
||||
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
|
||||
SSH_TTY=/dev/pts/0
|
||||
MAIL=/var/mail/kbrazil
|
||||
SHELL=/bin/bash
|
||||
TERM=xterm-256color
|
||||
SHLVL=2
|
||||
LOGNAME=kbrazil
|
||||
XDG_RUNTIME_DIR=/run/user/1000
|
||||
PATH=/home/kbrazil/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
|
||||
LESSOPEN=| /usr/bin/lesspipe %s
|
||||
_=/usr/bin/env
|
3
tests/fixtures/ubuntu-18.04/free-h.out
vendored
Normal file
3
tests/fixtures/ubuntu-18.04/free-h.out
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
total used free shared buff/cache available
|
||||
Mem: 1.9G 237M 466M 1.2M 1.2G 1.5G
|
||||
Swap: 2.0G 268K 2.0G
|
3
tests/fixtures/ubuntu-18.04/free.out
vendored
Normal file
3
tests/fixtures/ubuntu-18.04/free.out
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
total used free shared buff/cache available
|
||||
Mem: 2017300 242740 478228 1196 1296332 1585920
|
||||
Swap: 2097148 268 2096880
|
453
tests/fixtures/ubuntu-18.04/history.out
vendored
Normal file
453
tests/fixtures/ubuntu-18.04/history.out
vendored
Normal file
@ -0,0 +1,453 @@
|
||||
1 ls
|
||||
2 top
|
||||
3 cd /etc/systemd/system/
|
||||
4 ls
|
||||
5 docker ps
|
||||
6 sudo su
|
||||
7 sudo su -
|
||||
8 vi resizeterm.sh
|
||||
9 chmod +x resizeterm.sh
|
||||
10 .
|
||||
11 clear
|
||||
12 ./resizeterm.sh
|
||||
13 ls
|
||||
14 cd ..
|
||||
15 ls
|
||||
16 cd ..
|
||||
17 ls
|
||||
18 cd root/
|
||||
19 ls
|
||||
20 sudo su -
|
||||
21 snap
|
||||
22 snap update
|
||||
23 snap help
|
||||
24 snap help --all
|
||||
25 top
|
||||
26 vi
|
||||
27 ls
|
||||
28 ./resizeterm.sh
|
||||
29 top
|
||||
30 ls
|
||||
31 exit
|
||||
32 ./resizeterm.sh
|
||||
33 docker ps
|
||||
34 sudo su -
|
||||
35 ls
|
||||
36 top
|
||||
37 vi trafficgen.sh
|
||||
38 chmod +x trafficgen.sh
|
||||
39 ./trafficgen.sh
|
||||
40 sudo su -
|
||||
41 ls
|
||||
42 nmap
|
||||
43 ./trafficgen.sh
|
||||
44 nmap --help
|
||||
45 ./trafficgen.sh
|
||||
46 ifconfig ens33 | grep "inet " | cut -d " " -f 10
|
||||
47 ifconfig ens33 | grep "inet " | cut -d " " -f 11
|
||||
48 ifconfig ens33 | grep "inet " | cut -d " " -f 12
|
||||
49 ifconfig ens33 | grep "inet " | cut -d " " -f 13
|
||||
50 ip address
|
||||
51 ifconfig ens33 | grep "inet " | cut -d " " -f 10
|
||||
52 ifconfig ens33 | grep "inet " | cut -d " " -f 9
|
||||
53 ifconfig ens33 | grep "inet " | cut -d " " -f 10
|
||||
54 ifconfig ens33 | grep "inet " | cut -d " " -f 11
|
||||
55 ifconfig ens33 | grep "inet " | cut -d " " -f 12
|
||||
56 ifconfig ens33 | grep "inet " | cut -d " " -f 13
|
||||
57 ifconfig ens33 | grep "inet " | cut -d "/"
|
||||
58 ifconfig ens33 | grep "inet " | cut -d "/" -f 1
|
||||
59 ifconfig ens33 | grep "inet " | cut -d "\/" -f 1
|
||||
60 ifconfig ens33 | grep "inet " | tr "/" " "
|
||||
61 ifconfig -a ens33 | grep "inet " | tr "/" " "
|
||||
62 ifconfig ens33 | grep "inet " | cut -d " " -f 10
|
||||
63 ifconfig ens33 | grep "inet "
|
||||
64 ifconfig ens33 -a | grep "inet "
|
||||
65 ifconfig -a ens33 | grep "inet "
|
||||
66 ifconfig -v ens33 | grep "inet "
|
||||
67 ifconfig ens33 | grep "inet "
|
||||
68 ip address
|
||||
69 rm trafficgen.sh
|
||||
70 vi trafficgen.sh
|
||||
71 chmod +x trafficgen.sh
|
||||
72 ./trafficgen.sh
|
||||
73 vi trafficgen.sh
|
||||
74 ./trafficgen.sh
|
||||
75 sudo su -
|
||||
76 snap update
|
||||
77 ls
|
||||
78 ./trafficgen.sh
|
||||
79 sudo su -
|
||||
80 nmap
|
||||
81 nmap 192.168.71.10
|
||||
82 ls
|
||||
83 ./resizeterm.sh
|
||||
84 ./trafficgen.sh
|
||||
85 sudo su
|
||||
86 docker ps
|
||||
87 sudo docker ps
|
||||
88 systemctl reboot
|
||||
89 sudo su
|
||||
90 docker ps
|
||||
91 sudo su
|
||||
92 pip
|
||||
93 python3
|
||||
94 sudo apt update
|
||||
95 sudo apt upgrade
|
||||
96 apt list --upgradable
|
||||
97 sudo apt update all
|
||||
98 sudo apt update
|
||||
99 sudo apt-get upgrade
|
||||
100 ps
|
||||
101 ps -ef
|
||||
102 top
|
||||
103 pip3
|
||||
104 sudo apt install python3-pip
|
||||
105 ./resizeterm.sh
|
||||
106 pip3 install jc
|
||||
107 jc
|
||||
108 which jc
|
||||
109 pip3 install --user jc
|
||||
110 jc
|
||||
111 sudo pip3 install jc
|
||||
112 jc
|
||||
113 which jc
|
||||
114 exit
|
||||
115 jc
|
||||
116 ifconfig | jc --ifconfig
|
||||
117 ifconfig | jc --ifconfig -p
|
||||
118 ls -l | jc --ls
|
||||
119 ls -l | jc --ls -p
|
||||
120 ls -l /bin | jc --ls -p
|
||||
121 netstat
|
||||
122 netstat | jc --netstat -p
|
||||
123 netstat -l | jc --netstat -p
|
||||
124 netstat -nl | jc --netstat -p
|
||||
125 netstat -n | jc --netstat -p
|
||||
126 netstat -n | jc --netstat | jq .
|
||||
127 sudo apt-get jq
|
||||
128 sudo apt-get install jq
|
||||
129 netstat -n | jc --netstat | jq .
|
||||
130 netstat -lnp | jc --netstat | jq .
|
||||
131 netstat -lp | jc --netstat | jq .
|
||||
132 netstat -l | jc --netstat | jq .
|
||||
133 netstat -lnp
|
||||
134 netstat -ln
|
||||
135 netstat
|
||||
136 netstat -l | jc --netstat | jq .
|
||||
137 curl
|
||||
138 netstat -p
|
||||
139 sudo netstat -p
|
||||
140 apt update & sudo netstat
|
||||
141 apt update & sleep 1; sudo netstat
|
||||
142 sudo apt update & sleep 1; sudo netstat
|
||||
143 sudo apt update & sleep 2; sudo netstat -p
|
||||
144 sudo apt update & sleep 1; sudo netstat -p
|
||||
145 sudo netstat -lp | jc --netstat -p
|
||||
146 sudo netstat -lp | jc --netstat | jq .
|
||||
147 netstat -lp | jc --netstat | jq .
|
||||
148 sudo netstat -lp | jc --netstat | jq .
|
||||
149 sudo netstat -lpn | jc --netstat | jq .
|
||||
150 sudo netstat -lpnw | jc --netstat | jq .
|
||||
151 man netstat
|
||||
152 ./resizeterm.sh
|
||||
153 man netstat
|
||||
154 sudo netstat -lpnW | jc --netstat | jq .
|
||||
155 sudo netstat -lpn -W | jc --netstat | jq .
|
||||
156 man netstat
|
||||
157 sudo netstat -lp -W | jc --netstat | jq .
|
||||
158 ls -l /usr/bin | jc --ls | jq .[] | jq 'select(.bytes > 50000000)'
|
||||
159 ls -l /usr/bin | jc --ls | jq .[].'select(.bytes > 50000000)'
|
||||
160 ls -l /usr/bin | jc --ls | jq .[]'select(.bytes > 50000000)'
|
||||
161 ls -l /usr/bin | jc --ls | jq [].'select(.bytes > 50000000)'
|
||||
162 ls -l /usr/bin | jc --ls | jq [.'select(.bytes > 50000000)]'
|
||||
163 ls -l /usr/bin | jc --ls | jq .'select(.bytes > 50000000)'
|
||||
164 ls -l /usr/bin | jc --ls | jq [].'select(.bytes > 50000000)'
|
||||
165 ls -l /usr/bin | jc --ls | jq .[].'select(.bytes > 50000000)'
|
||||
166 ls -l /usr/bin | jc --ls | jq .[] | jq 'select(.bytes > 50000000)'
|
||||
167 netstat | jc --netstat
|
||||
168 netstat -l | jc --netstat
|
||||
169 netstat -l | jc --netstat | jq .
|
||||
170 sudo netstat -lp | jc --netstat | jq .
|
||||
171 ls -l /usr/bin | jc --ls | jq .[] | jq 'select(.bytes > 50000000)'
|
||||
172 ls -l /usr/bin | jc --ls | jq .[] 'select(.bytes > 50000000)'
|
||||
173 ls -l /usr/bin | jc --ls | jq .[]. 'select(.bytes > 50000000)'
|
||||
174 ls -l /usr/bin | jc --ls | jq .[]'
|
||||
175 ls -l /usr/bin | jc --ls | jq .[].'
|
||||
176 ls -l /usr/bin | jc --ls | jq .[]
|
||||
177 ls -l /usr/bin | jc --ls | jq .[].
|
||||
178 ls -l /usr/bin | jc --ls | jq '.[] select(.bytes > 50000000)'
|
||||
179 ls -l /usr/bin | jc --ls | jq '.[]. select(.bytes > 50000000)'
|
||||
180 ls -l /usr/bin | jc --ls | jq '.[] select(.bytes > 50000000)'
|
||||
181 ls -l /usr/bin | jc --ls | jq '.[] . select(.bytes > 50000000)'
|
||||
182 ls -l /usr/bin | jc --ls | jq '[]. select(.bytes > 50000000)'
|
||||
183 ls -l /usr/bin | jc --ls | jq '[].select(.bytes > 50000000)'
|
||||
184 ls -l /usr/bin | jc --ls | jq '.[].select(.bytes > 50000000)'
|
||||
185 ls -l /usr/bin | jc --ls | jq .[] | jq 'select(.bytes > 50000000)'
|
||||
186 ls
|
||||
187 mkdir git
|
||||
188 cd git/
|
||||
189 ls
|
||||
190 git clone https://github.com/kellyjonbrazil/jc.git
|
||||
191 cd jc/
|
||||
192 ls
|
||||
193 cat README.md
|
||||
194 cd ..
|
||||
195 ls
|
||||
196 rm -rf jc/
|
||||
197 git clone --single-branch --branch dev https://github.com/kellyjonbrazil/jc.git
|
||||
198 ls
|
||||
199 cd jc/
|
||||
200 ls
|
||||
201 cat README.md
|
||||
202 pip3 list
|
||||
203 pip3 unistall jc
|
||||
204 pip3 uninstall jc
|
||||
205 jc
|
||||
206 ls
|
||||
207 pip3 install --upgrade -e .
|
||||
208 jc
|
||||
209 ls
|
||||
210 cd jc
|
||||
211 ls
|
||||
212 cd parsers/
|
||||
213 ls
|
||||
214 netstat -lp | jc --netstat
|
||||
215 ls
|
||||
216 netstat -p | jc --netstat
|
||||
217 netstat -lp | jc --netstat
|
||||
218 rm netstat.py
|
||||
219 vi netstat.py
|
||||
220 netstat -lp | jc --netstat
|
||||
221 netstat -l | jc --netstat
|
||||
222 netstat -l | jc --netstat -p
|
||||
223 netstat -lp | jc --netstat -p
|
||||
224 netstat -lp
|
||||
225 sudo netstat -lp | jc --netstat -p
|
||||
226 rm netstat.py
|
||||
227 vi netstat.py
|
||||
228 sudo netstat -lp | jc --netstat -p
|
||||
229 netstat -lp | jc --netstat -p
|
||||
230 rm netstat.py
|
||||
231 vi netstat.py
|
||||
232 netstat -lp | jc --netstat -p
|
||||
233 sudo netstat -lp | jc --netstat -p
|
||||
234 sudo netstat -p | jc --netstat -p
|
||||
235 netstat -p | jc --netstat -p
|
||||
236 cd ..
|
||||
237 cd ~
|
||||
238 ls
|
||||
239 cat trafficgen.sh
|
||||
240 mkdir tmp
|
||||
241 cd tmp
|
||||
242 history | grep clone
|
||||
243 git clone https://github.com/kellyjonbrazil/jc.git & sleep 1; netstat | jc --netstat
|
||||
244 ls
|
||||
245 rm -rf jc/
|
||||
246 git clone https://github.com/kellyjonbrazil/jc.git & sleep 1; netstat
|
||||
247 rm -rf jc/
|
||||
248 git clone https://github.com/kellyjonbrazil/jc.git & sleep 1; netstat | jc --netstat
|
||||
249 rm -rf jc/
|
||||
250 git clone https://github.com/kellyjonbrazil/jc.git & sleep 1; netstat -p | jc --netstat
|
||||
251 git clone https://github.com/kellyjonbrazil/jc.git & sleep 1; netstat -p | jc --netstat -p
|
||||
252 rm -rf jc/
|
||||
253 git clone https://github.com/kellyjonbrazil/jc.git & sleep 1; netstat -p | jc --netstat -p
|
||||
254 rm -rf jc/
|
||||
255 git clone https://github.com/kellyjonbrazil/jc.git & sleep 1; netstat -p | jc --netstat -p
|
||||
256 netstat -l | jc --netstat -p
|
||||
257 netstat -ln | jc --netstat -p
|
||||
258 netstat -lnp | jc --netstat -p
|
||||
259 sudo netstat -lnp | jc --netstat -p
|
||||
260 history | grep clone
|
||||
261 git clone --single-branch --branch dev https://github.com/kellyjonbrazil/jc.git
|
||||
262 ls
|
||||
263 ps -a
|
||||
264 ps -ef
|
||||
265 ps -axz
|
||||
266 ps -ax
|
||||
267 ps -axu
|
||||
268 cd ~/git/
|
||||
269 pip3 uninstall jc
|
||||
270 history | grep clone
|
||||
271 ls
|
||||
272 rm -rf jc/
|
||||
273 git clone --single-branch --branch dev https://github.com/kellyjonbrazil/jc.git
|
||||
274 pip3 install --user -e .
|
||||
275 cd jc/
|
||||
276 pip3 install --user -e .
|
||||
277 jc
|
||||
278 ps | jc --ps
|
||||
279 ps | jc --ps -p
|
||||
280 ps -ef | jc --ps -p
|
||||
281 ps -ax | jc --ps -p
|
||||
282 ps -axu | jc --ps -p
|
||||
283 ps -axu | jc --ps | jq .
|
||||
284 ps -ef | jc --ps -p
|
||||
285 route
|
||||
286 route -n
|
||||
287 ls
|
||||
288 cd ..
|
||||
289 pip3 uninstall jc
|
||||
290 ls
|
||||
291 rm -rf jc/
|
||||
292 history | grep clone
|
||||
293 git clone --single-branch --branch dev https://github.com/kellyjonbrazil/jc.git
|
||||
294 ls
|
||||
295 cd jc/
|
||||
296 pip3 install --user -e .
|
||||
297 route | jc --route -p
|
||||
298 route -v | jc --route -p
|
||||
299 route | jc --route -p
|
||||
300 route -n | jc --route -p
|
||||
301 route -n | jc --route
|
||||
302 ls -l | jc --ls
|
||||
303 netstat -l | jc --ls
|
||||
304 netstat -l | jc --netstat
|
||||
305 netstat -l | jc
|
||||
306 ifconfig | jc --ifconfig
|
||||
307 route | jc --route
|
||||
308 ps -ef | jc --ps -p
|
||||
309 pip list
|
||||
310 pip3 list
|
||||
311 ls
|
||||
312 netstat | jc --netstat -p
|
||||
313 netstat -l | jc --netstat -p
|
||||
314 pip3 list
|
||||
315 cd jc/parsers/
|
||||
316 ls
|
||||
317 ls -l | jc --ls
|
||||
318 ls -l | jc --ls -p
|
||||
319 ls -l /var | jc --ls -p
|
||||
320 ls -l /usr/local/bin | jc --ls -p
|
||||
321 ls -l /usr/local/bin/
|
||||
322 ls -l /usr/local
|
||||
323 ls -l ~/.local/
|
||||
324 ls -l ~/.local/bin/
|
||||
325 ls -l ~/.local/lib
|
||||
326 ls -l ~/.local/lib/python3.6/
|
||||
327 ls -l ~/.local/lib/python3.6/site-packages/
|
||||
328 ls -l ~/.local/lib/python3.6/site-packages/ifconfigparser/
|
||||
329 ls -l ~/.local/lib/python3.6/site-packages/ifconfigparser/__pycache__/
|
||||
330 ls -l /
|
||||
331 ls -l / | jc --ls
|
||||
332 ls -l / | jc --ls -p
|
||||
333 rm ls.py
|
||||
334 vi ls.py
|
||||
335 ls -l / | jc --ls -p
|
||||
336 ls -l /
|
||||
337 rm ls.py
|
||||
338 vi ls.py
|
||||
339 ls -l / | jc --ls -p
|
||||
340 rm ls.py
|
||||
341 vi ls.py
|
||||
342 ls -l / | jc --ls -p
|
||||
343 ls -l /usr/local/bin | jc --ls -p
|
||||
344 rm ls.py
|
||||
345 vi ls.py
|
||||
346 ls -l /usr/local/bin | jc --ls -p
|
||||
347 ls -l / | jc --ls -p
|
||||
348 cd ~
|
||||
349 pip3 uninstall jc
|
||||
350 cd git/
|
||||
351 ls
|
||||
352 rm -rf jc/
|
||||
353 history | grep clone
|
||||
354 git clone --single-branch --branch dev https://github.com/kellyjonbrazil/jc.git
|
||||
355 ls
|
||||
356 cd jc/
|
||||
357 pip3 install --user --upgrade -e .
|
||||
358 jc
|
||||
359 ls /usr/local/bin | jc --ls
|
||||
360 ls /usr/local/bin
|
||||
361 ls /usr/local/bin -l
|
||||
362 cd jc/parsers/
|
||||
363 ls
|
||||
364 rm ls.py
|
||||
365 vi ls.py
|
||||
366 ls /usr/local/bin
|
||||
367 ls /usr/local/bin | jc --ls
|
||||
368 ls -l /usr/local/bin | jc --ls
|
||||
369 ls -al /usr/local/bin | jc --ls
|
||||
370 ls -al /usr/local/bin | jc --ls -p
|
||||
371 cd ..
|
||||
372 pip3 uninstall jc
|
||||
373 rm -rf jc/
|
||||
374 history | grep clone
|
||||
375 git clone --single-branch --branch dev https://github.com/kellyjonbrazil/jc.git
|
||||
376 cd jc/
|
||||
377 pip3 install --user --upgrade -e .
|
||||
378 jc
|
||||
379 ls /usr/local/bin | jc --ls
|
||||
380 ls -l /usr/local/bin | jc --ls
|
||||
381 ls -al /usr/local/bin | jc --ls
|
||||
382 ls -al /usr/local/bin | jc --ls -p
|
||||
383 ps -ef | jc --ps
|
||||
384 ps -ef | jc --ps -p
|
||||
385 pip3 list
|
||||
386 ls
|
||||
387 ./build-package.sh
|
||||
388 ls
|
||||
389 ./pypi-upload.sh
|
||||
390 cd ..
|
||||
391 ls
|
||||
392 pip3 uninstall jc
|
||||
393 rm -rf jc/
|
||||
394 pip3 install --user --upgrade jc
|
||||
395 pip3 list
|
||||
396 w
|
||||
397 w -f
|
||||
398 w | jc --route
|
||||
399 w | jc --route -p
|
||||
400 w -f | jc --route -p
|
||||
401 route
|
||||
402 uptime
|
||||
403 ls -l /bin | jc --ls -p
|
||||
404 lsof | jc --lsof -p
|
||||
405 sudo lsof | jc --lsof -p
|
||||
406 w | jc --w -p
|
||||
407 uptime | jc --uptime -p
|
||||
408 ls
|
||||
409 cd testfiles/
|
||||
410 ls
|
||||
411 rm tests.sh
|
||||
412 vi tests.sh
|
||||
413 chmod +x tests.sh
|
||||
414 ./tests.sh
|
||||
415 ls
|
||||
416 cat iptables-filter.out
|
||||
417 cat iptables-filter-nv.out
|
||||
418 ls
|
||||
419 ls -al
|
||||
420 man history
|
||||
421 rm tests.sh
|
||||
422 vi tests.sh
|
||||
423 chmod +x tests.sh
|
||||
424 ./tests.sh
|
||||
425 ls -al
|
||||
426 cat netstat.out
|
||||
427 ls
|
||||
428 cat w
|
||||
429 cat w.out
|
||||
430 cat uname-a.out
|
||||
431 rm tests.sh
|
||||
432 vi tests.sh
|
||||
433 chmod +x tests.sh
|
||||
434 ./tests.sh
|
||||
435 ls -al
|
||||
436 cat iptables-filter.out
|
||||
437 uname
|
||||
438 uname -a
|
||||
439 cd /etc/
|
||||
440 ls
|
||||
441 uname -a
|
||||
442 ls
|
||||
443 cat debian_version
|
||||
444 lsb_release -a
|
||||
445 uname -a
|
||||
446 lsb_release
|
||||
447 lsb_release -a
|
||||
448 ifconfig
|
||||
449 cd ~
|
||||
450 cd testfiles/
|
||||
451 ls
|
||||
452 cat history.out
|
||||
453 history > history.out
|
18
tests/fixtures/ubuntu-18.04/ifconfig.out
vendored
Normal file
18
tests/fixtures/ubuntu-18.04/ifconfig.out
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
|
||||
inet 192.168.71.131 netmask 255.255.255.0 broadcast 192.168.71.255
|
||||
inet6 fe80::20c:29ff:fe99:4517 prefixlen 64 scopeid 0x20<link>
|
||||
ether 00:0c:29:99:45:17 txqueuelen 1000 (Ethernet)
|
||||
RX packets 138830 bytes 178583682 (178.5 MB)
|
||||
RX errors 0 dropped 0 overruns 0 frame 0
|
||||
TX packets 30490 bytes 3772041 (3.7 MB)
|
||||
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
||||
|
||||
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
|
||||
inet 127.0.0.1 netmask 255.0.0.0
|
||||
inet6 ::1 prefixlen 128 scopeid 0x10<host>
|
||||
loop txqueuelen 1000 (Local Loopback)
|
||||
RX packets 825 bytes 76797 (76.7 KB)
|
||||
RX errors 0 dropped 0 overruns 0 frame 0
|
||||
TX packets 825 bytes 76797 (76.7 KB)
|
||||
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
||||
|
30
tests/fixtures/ubuntu-18.04/iptables-filter-nv.out
vendored
Normal file
30
tests/fixtures/ubuntu-18.04/iptables-filter-nv.out
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
|
||||
pkts bytes target prot opt in out source destination
|
||||
66 6034 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
|
||||
1137 318K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
|
||||
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
|
||||
0 0 ACCEPT tcp -- * * 15.15.15.0/24 0.0.0.0/0 tcp dpt:22 ctstate NEW,ESTABLISHED
|
||||
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
|
||||
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
|
||||
0 0 ACCEPT tcp -- * * 15.15.15.0/24 0.0.0.0/0 tcp dpt:22 ctstate NEW,ESTABLISHED
|
||||
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
|
||||
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
|
||||
0 0 DROP all -- lo * 15.15.15.51 0.0.0.0/0
|
||||
0 0 ACCEPT tcp -- * * 15.15.15.0/24 0.0.0.0/0 tcp dpt:22 ctstate NEW,ESTABLISHED
|
||||
|
||||
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
|
||||
pkts bytes target prot opt in out source destination
|
||||
|
||||
Chain OUTPUT (policy ACCEPT 4 packets, 277 bytes)
|
||||
pkts bytes target prot opt in out source destination
|
||||
66 6034 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
|
||||
889 158K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate ESTABLISHED
|
||||
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:22 ctstate ESTABLISHED
|
||||
0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate ESTABLISHED
|
||||
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:22 ctstate ESTABLISHED
|
||||
0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
|
||||
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate ESTABLISHED
|
||||
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:22 ctstate ESTABLISHED
|
30
tests/fixtures/ubuntu-18.04/iptables-filter.out
vendored
Normal file
30
tests/fixtures/ubuntu-18.04/iptables-filter.out
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
Chain INPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
||||
DROP all -- anywhere anywhere ctstate INVALID
|
||||
ACCEPT tcp -- 15.15.15.0/24 anywhere tcp dpt:ssh ctstate NEW,ESTABLISHED
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
||||
DROP all -- anywhere anywhere ctstate INVALID
|
||||
ACCEPT tcp -- 15.15.15.0/24 anywhere tcp dpt:ssh ctstate NEW,ESTABLISHED
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
||||
DROP all -- anywhere anywhere ctstate INVALID
|
||||
DROP all -- 15.15.15.51 anywhere
|
||||
ACCEPT tcp -- 15.15.15.0/24 anywhere tcp dpt:ssh ctstate NEW,ESTABLISHED
|
||||
|
||||
Chain FORWARD (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain OUTPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate ESTABLISHED
|
||||
ACCEPT tcp -- anywhere anywhere tcp spt:ssh ctstate ESTABLISHED
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate ESTABLISHED
|
||||
ACCEPT tcp -- anywhere anywhere tcp spt:ssh ctstate ESTABLISHED
|
||||
ACCEPT all -- anywhere anywhere
|
||||
ACCEPT all -- anywhere anywhere ctstate ESTABLISHED
|
||||
ACCEPT tcp -- anywhere anywhere tcp spt:ssh ctstate ESTABLISHED
|
14
tests/fixtures/ubuntu-18.04/iptables-mangle.out
vendored
Normal file
14
tests/fixtures/ubuntu-18.04/iptables-mangle.out
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
Chain PREROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain INPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain FORWARD (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain OUTPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain POSTROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
11
tests/fixtures/ubuntu-18.04/iptables-nat.out
vendored
Normal file
11
tests/fixtures/ubuntu-18.04/iptables-nat.out
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
Chain PREROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain INPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain OUTPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain POSTROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
5
tests/fixtures/ubuntu-18.04/iptables-raw.out
vendored
Normal file
5
tests/fixtures/ubuntu-18.04/iptables-raw.out
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
Chain PREROUTING (policy ACCEPT)
|
||||
target prot opt source destination
|
||||
|
||||
Chain OUTPUT (policy ACCEPT)
|
||||
target prot opt source destination
|
4
tests/fixtures/ubuntu-18.04/jobs.out
vendored
Normal file
4
tests/fixtures/ubuntu-18.04/jobs.out
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
[1] Running sleep 11 &
|
||||
[2] Running sleep 12 &
|
||||
[3]- Running sleep 13 &
|
||||
[4]+ Running sleep 14 &
|
30
tests/fixtures/ubuntu-18.04/ls-al.out
vendored
Normal file
30
tests/fixtures/ubuntu-18.04/ls-al.out
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
total 2097256
|
||||
drwxr-xr-x 24 root root 4096 Oct 24 06:33 .
|
||||
drwxr-xr-x 24 root root 4096 Oct 24 06:33 ..
|
||||
drwxr-xr-x 2 root root 4096 Oct 18 00:12 bin
|
||||
drwxr-xr-x 3 root root 4096 Oct 25 07:14 boot
|
||||
drwxr-xr-x 2 root root 4096 Aug 12 17:21 cdrom
|
||||
drwxr-xr-x 19 root root 4060 Oct 24 06:33 dev
|
||||
drwxr-xr-x 93 root root 4096 Oct 24 06:32 etc
|
||||
drwxr-xr-x 3 root root 4096 Aug 12 17:24 home
|
||||
lrwxrwxrwx 1 root root 33 Oct 24 06:33 initrd.img -> boot/initrd.img-4.15.0-66-generic
|
||||
lrwxrwxrwx 1 root root 33 Oct 24 06:33 initrd.img.old -> boot/initrd.img-4.15.0-65-generic
|
||||
drwxr-xr-x 23 root root 4096 Oct 18 00:14 lib
|
||||
drwxr-xr-x 2 root root 4096 Aug 5 19:23 lib64
|
||||
drwx------ 2 root root 16384 Aug 12 17:21 lost+found
|
||||
drwxr-xr-x 2 root root 4096 Aug 5 19:22 media
|
||||
drwxr-xr-x 2 root root 4096 Aug 5 19:22 mnt
|
||||
drwxr-xr-x 3 root root 4096 Aug 14 02:02 opt
|
||||
dr-xr-xr-x 184 root root 0 Oct 21 20:17 proc
|
||||
drwx------ 4 root root 4096 Aug 13 23:27 root
|
||||
drwxr-xr-x 29 root root 1060 Oct 28 08:49 run
|
||||
drwxr-xr-x 2 root root 12288 Oct 18 00:11 sbin
|
||||
drwxr-xr-x 9 root root 4096 Aug 14 02:01 snap
|
||||
drwxr-xr-x 2 root root 4096 Aug 5 19:22 srv
|
||||
-rw------- 1 root root 2147483648 Aug 12 17:22 swap.img
|
||||
dr-xr-xr-x 13 root root 0 Oct 22 00:54 sys
|
||||
drwxrwxrwt 11 root root 4096 Oct 28 19:42 tmp
|
||||
drwxr-xr-x 10 root root 4096 Aug 5 19:22 usr
|
||||
drwxr-xr-x 13 root root 4096 Aug 5 19:24 var
|
||||
lrwxrwxrwx 1 root root 30 Oct 24 06:33 vmlinuz -> boot/vmlinuz-4.15.0-66-generic
|
||||
lrwxrwxrwx 1 root root 30 Oct 24 06:33 vmlinuz.old -> boot/vmlinuz-4.15.0-65-generic
|
30
tests/fixtures/ubuntu-18.04/ls-alh.out
vendored
Normal file
30
tests/fixtures/ubuntu-18.04/ls-alh.out
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
total 2.1G
|
||||
drwxr-xr-x 24 root root 4.0K Oct 24 06:33 .
|
||||
drwxr-xr-x 24 root root 4.0K Oct 24 06:33 ..
|
||||
drwxr-xr-x 2 root root 4.0K Oct 18 00:12 bin
|
||||
drwxr-xr-x 3 root root 4.0K Oct 25 07:14 boot
|
||||
drwxr-xr-x 2 root root 4.0K Aug 12 17:21 cdrom
|
||||
drwxr-xr-x 19 root root 4.0K Oct 24 06:33 dev
|
||||
drwxr-xr-x 93 root root 4.0K Oct 24 06:32 etc
|
||||
drwxr-xr-x 3 root root 4.0K Aug 12 17:24 home
|
||||
lrwxrwxrwx 1 root root 33 Oct 24 06:33 initrd.img -> boot/initrd.img-4.15.0-66-generic
|
||||
lrwxrwxrwx 1 root root 33 Oct 24 06:33 initrd.img.old -> boot/initrd.img-4.15.0-65-generic
|
||||
drwxr-xr-x 23 root root 4.0K Oct 18 00:14 lib
|
||||
drwxr-xr-x 2 root root 4.0K Aug 5 19:23 lib64
|
||||
drwx------ 2 root root 16K Aug 12 17:21 lost+found
|
||||
drwxr-xr-x 2 root root 4.0K Aug 5 19:22 media
|
||||
drwxr-xr-x 2 root root 4.0K Aug 5 19:22 mnt
|
||||
drwxr-xr-x 3 root root 4.0K Aug 14 02:02 opt
|
||||
dr-xr-xr-x 184 root root 0 Oct 21 20:17 proc
|
||||
drwx------ 4 root root 4.0K Aug 13 23:27 root
|
||||
drwxr-xr-x 29 root root 1.1K Oct 28 08:49 run
|
||||
drwxr-xr-x 2 root root 12K Oct 18 00:11 sbin
|
||||
drwxr-xr-x 9 root root 4.0K Aug 14 02:01 snap
|
||||
drwxr-xr-x 2 root root 4.0K Aug 5 19:22 srv
|
||||
-rw------- 1 root root 2.0G Aug 12 17:22 swap.img
|
||||
dr-xr-xr-x 13 root root 0 Oct 22 00:54 sys
|
||||
drwxrwxrwt 11 root root 4.0K Oct 28 19:42 tmp
|
||||
drwxr-xr-x 10 root root 4.0K Aug 5 19:22 usr
|
||||
drwxr-xr-x 13 root root 4.0K Aug 5 19:24 var
|
||||
lrwxrwxrwx 1 root root 30 Oct 24 06:33 vmlinuz -> boot/vmlinuz-4.15.0-66-generic
|
||||
lrwxrwxrwx 1 root root 30 Oct 24 06:33 vmlinuz.old -> boot/vmlinuz-4.15.0-65-generic
|
27
tests/fixtures/ubuntu-18.04/ls.out
vendored
Normal file
27
tests/fixtures/ubuntu-18.04/ls.out
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
bin
|
||||
boot
|
||||
cdrom
|
||||
dev
|
||||
etc
|
||||
home
|
||||
initrd.img
|
||||
initrd.img.old
|
||||
lib
|
||||
lib64
|
||||
lost+found
|
||||
media
|
||||
mnt
|
||||
opt
|
||||
proc
|
||||
root
|
||||
run
|
||||
sbin
|
||||
snap
|
||||
srv
|
||||
swap.img
|
||||
sys
|
||||
tmp
|
||||
usr
|
||||
var
|
||||
vmlinuz
|
||||
vmlinuz.old
|
18
tests/fixtures/ubuntu-18.04/lsblk.out
vendored
Normal file
18
tests/fixtures/ubuntu-18.04/lsblk.out
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
|
||||
fd0 2:0 1 1.4M 0 disk
|
||||
loop0 7:0 0 54.5M 1 loop /snap/core18/1223
|
||||
loop1 7:1 0 11M 1 loop /snap/slcli/383
|
||||
loop2 7:2 0 88.7M 1 loop /snap/core/7396
|
||||
loop3 7:3 0 66.5M 1 loop /snap/google-cloud-sdk/103
|
||||
loop4 7:4 0 66.5M 1 loop /snap/google-cloud-sdk/104
|
||||
loop5 7:5 0 54.4M 1 loop /snap/core18/1074
|
||||
loop7 7:7 0 8.6M 1 loop /snap/doctl/187
|
||||
loop8 7:8 0 3.1M 1 loop /snap/stress-ng/847
|
||||
loop9 7:9 0 8.6M 1 loop /snap/doctl/215
|
||||
loop10 7:10 0 89.1M 1 loop /snap/core/7917
|
||||
loop11 7:11 0 3.2M 1 loop /snap/stress-ng/924
|
||||
sda 8:0 0 20G 0 disk
|
||||
├─sda1 8:1 0 1M 0 part
|
||||
└─sda2 8:2 0 20G 0 part /
|
||||
sr0 11:0 1 64.8M 0 rom
|
||||
sr1 11:1 1 848M 0 rom
|
102
tests/fixtures/ubuntu-18.04/lsmod.out
vendored
Normal file
102
tests/fixtures/ubuntu-18.04/lsmod.out
vendored
Normal file
@ -0,0 +1,102 @@
|
||||
Module Size Used by
|
||||
xt_tcpudp 16384 6
|
||||
xt_conntrack 16384 15
|
||||
ufs 77824 0
|
||||
qnx4 16384 0
|
||||
hfsplus 106496 0
|
||||
hfs 57344 0
|
||||
minix 32768 0
|
||||
ntfs 102400 0
|
||||
msdos 20480 0
|
||||
jfs 188416 0
|
||||
xfs 1204224 0
|
||||
cpuid 16384 0
|
||||
unix_diag 16384 0
|
||||
iptable_mangle 16384 0
|
||||
iptable_security 16384 0
|
||||
iptable_raw 16384 0
|
||||
iptable_nat 16384 0
|
||||
nf_conntrack_ipv4 16384 16
|
||||
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
|
||||
nf_nat_ipv4 16384 1 iptable_nat
|
||||
nf_nat 32768 1 nf_nat_ipv4
|
||||
nf_conntrack 131072 4 xt_conntrack,nf_conntrack_ipv4,nf_nat,nf_nat_ipv4
|
||||
iptable_filter 16384 1
|
||||
aufs 241664 0
|
||||
overlay 77824 0
|
||||
vmw_balloon 20480 0
|
||||
intel_rapl_perf 16384 0
|
||||
input_leds 16384 0
|
||||
joydev 24576 0
|
||||
vmw_vsock_vmci_transport 32768 1
|
||||
vsock 36864 2 vmw_vsock_vmci_transport
|
||||
serio_raw 16384 0
|
||||
btusb 45056 0
|
||||
btrtl 16384 1 btusb
|
||||
btbcm 16384 1 btusb
|
||||
btintel 16384 1 btusb
|
||||
bluetooth 544768 5 btrtl,btintel,btbcm,btusb
|
||||
ecdh_generic 24576 1 bluetooth
|
||||
vmw_vmci 69632 2 vmw_balloon,vmw_vsock_vmci_transport
|
||||
mac_hid 16384 0
|
||||
shpchp 36864 0
|
||||
sch_fq_codel 20480 2
|
||||
ib_iser 49152 0
|
||||
rdma_cm 61440 1 ib_iser
|
||||
iw_cm 45056 1 rdma_cm
|
||||
ib_cm 53248 1 rdma_cm
|
||||
ib_core 225280 4 rdma_cm,iw_cm,ib_iser,ib_cm
|
||||
iscsi_tcp 20480 0
|
||||
libiscsi_tcp 20480 1 iscsi_tcp
|
||||
libiscsi 53248 3 libiscsi_tcp,iscsi_tcp,ib_iser
|
||||
scsi_transport_iscsi 98304 3 iscsi_tcp,ib_iser,libiscsi
|
||||
ip_tables 28672 5 iptable_filter,iptable_security,iptable_raw,iptable_nat,iptable_mangle
|
||||
x_tables 40960 7 xt_conntrack,iptable_filter,iptable_security,xt_tcpudp,iptable_raw,ip_tables,iptable_mangle
|
||||
autofs4 40960 2
|
||||
btrfs 1138688 0
|
||||
zstd_compress 163840 1 btrfs
|
||||
raid10 53248 0
|
||||
raid456 147456 0
|
||||
async_raid6_recov 20480 1 raid456
|
||||
async_memcpy 16384 2 raid456,async_raid6_recov
|
||||
async_pq 16384 2 raid456,async_raid6_recov
|
||||
async_xor 16384 3 async_pq,raid456,async_raid6_recov
|
||||
async_tx 16384 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
|
||||
xor 24576 2 async_xor,btrfs
|
||||
raid6_pq 114688 4 async_pq,btrfs,raid456,async_raid6_recov
|
||||
libcrc32c 16384 4 nf_conntrack,nf_nat,xfs,raid456
|
||||
raid1 40960 0
|
||||
raid0 20480 0
|
||||
multipath 16384 0
|
||||
linear 16384 0
|
||||
hid_generic 16384 0
|
||||
usbhid 53248 0
|
||||
hid 110592 2 usbhid,hid_generic
|
||||
crct10dif_pclmul 16384 0
|
||||
crc32_pclmul 16384 0
|
||||
ghash_clmulni_intel 16384 0
|
||||
pcbc 16384 0
|
||||
aesni_intel 188416 0
|
||||
aes_x86_64 20480 1 aesni_intel
|
||||
crypto_simd 16384 1 aesni_intel
|
||||
vmwgfx 274432 1
|
||||
glue_helper 16384 1 aesni_intel
|
||||
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
|
||||
ttm 106496 1 vmwgfx
|
||||
drm_kms_helper 172032 1 vmwgfx
|
||||
syscopyarea 16384 1 drm_kms_helper
|
||||
sysfillrect 16384 1 drm_kms_helper
|
||||
psmouse 151552 0
|
||||
sysimgblt 16384 1 drm_kms_helper
|
||||
fb_sys_fops 16384 1 drm_kms_helper
|
||||
mptspi 24576 1
|
||||
mptscsih 36864 1 mptspi
|
||||
mptbase 102400 2 mptspi,mptscsih
|
||||
drm 401408 4 vmwgfx,drm_kms_helper,ttm
|
||||
e1000 143360 0
|
||||
ahci 40960 0
|
||||
libahci 32768 1 ahci
|
||||
scsi_transport_spi 32768 1 mptspi
|
||||
pata_acpi 16384 0
|
||||
i2c_piix4 24576 0
|
||||
floppy 77824 0
|
2854
tests/fixtures/ubuntu-18.04/lsof-sudo.out
vendored
Normal file
2854
tests/fixtures/ubuntu-18.04/lsof-sudo.out
vendored
Normal file
File diff suppressed because it is too large
Load Diff
976
tests/fixtures/ubuntu-18.04/lsof.out
vendored
Normal file
976
tests/fixtures/ubuntu-18.04/lsof.out
vendored
Normal file
@ -0,0 +1,976 @@
|
||||
COMMAND PID TID USER FD TYPE DEVICE SIZE/OFF NODE NAME
|
||||
systemd 1 root cwd unknown /proc/1/cwd (readlink: Permission denied)
|
||||
systemd 1 root rtd unknown /proc/1/root (readlink: Permission denied)
|
||||
systemd 1 root txt unknown /proc/1/exe (readlink: Permission denied)
|
||||
systemd 1 root NOFD /proc/1/fd (opendir: Permission denied)
|
||||
kthreadd 2 root cwd unknown /proc/2/cwd (readlink: Permission denied)
|
||||
kthreadd 2 root rtd unknown /proc/2/root (readlink: Permission denied)
|
||||
kthreadd 2 root txt unknown /proc/2/exe (readlink: Permission denied)
|
||||
kthreadd 2 root NOFD /proc/2/fd (opendir: Permission denied)
|
||||
kworker/0 4 root cwd unknown /proc/4/cwd (readlink: Permission denied)
|
||||
kworker/0 4 root rtd unknown /proc/4/root (readlink: Permission denied)
|
||||
kworker/0 4 root txt unknown /proc/4/exe (readlink: Permission denied)
|
||||
kworker/0 4 root NOFD /proc/4/fd (opendir: Permission denied)
|
||||
mm_percpu 6 root cwd unknown /proc/6/cwd (readlink: Permission denied)
|
||||
mm_percpu 6 root rtd unknown /proc/6/root (readlink: Permission denied)
|
||||
mm_percpu 6 root txt unknown /proc/6/exe (readlink: Permission denied)
|
||||
mm_percpu 6 root NOFD /proc/6/fd (opendir: Permission denied)
|
||||
ksoftirqd 7 root cwd unknown /proc/7/cwd (readlink: Permission denied)
|
||||
ksoftirqd 7 root rtd unknown /proc/7/root (readlink: Permission denied)
|
||||
ksoftirqd 7 root txt unknown /proc/7/exe (readlink: Permission denied)
|
||||
ksoftirqd 7 root NOFD /proc/7/fd (opendir: Permission denied)
|
||||
rcu_sched 8 root cwd unknown /proc/8/cwd (readlink: Permission denied)
|
||||
rcu_sched 8 root rtd unknown /proc/8/root (readlink: Permission denied)
|
||||
rcu_sched 8 root txt unknown /proc/8/exe (readlink: Permission denied)
|
||||
rcu_sched 8 root NOFD /proc/8/fd (opendir: Permission denied)
|
||||
rcu_bh 9 root cwd unknown /proc/9/cwd (readlink: Permission denied)
|
||||
rcu_bh 9 root rtd unknown /proc/9/root (readlink: Permission denied)
|
||||
rcu_bh 9 root txt unknown /proc/9/exe (readlink: Permission denied)
|
||||
rcu_bh 9 root NOFD /proc/9/fd (opendir: Permission denied)
|
||||
migration 10 root cwd unknown /proc/10/cwd (readlink: Permission denied)
|
||||
migration 10 root rtd unknown /proc/10/root (readlink: Permission denied)
|
||||
migration 10 root txt unknown /proc/10/exe (readlink: Permission denied)
|
||||
migration 10 root NOFD /proc/10/fd (opendir: Permission denied)
|
||||
watchdog/ 11 root cwd unknown /proc/11/cwd (readlink: Permission denied)
|
||||
watchdog/ 11 root rtd unknown /proc/11/root (readlink: Permission denied)
|
||||
watchdog/ 11 root txt unknown /proc/11/exe (readlink: Permission denied)
|
||||
watchdog/ 11 root NOFD /proc/11/fd (opendir: Permission denied)
|
||||
cpuhp/0 12 root cwd unknown /proc/12/cwd (readlink: Permission denied)
|
||||
cpuhp/0 12 root rtd unknown /proc/12/root (readlink: Permission denied)
|
||||
cpuhp/0 12 root txt unknown /proc/12/exe (readlink: Permission denied)
|
||||
cpuhp/0 12 root NOFD /proc/12/fd (opendir: Permission denied)
|
||||
kdevtmpfs 13 root cwd unknown /proc/13/cwd (readlink: Permission denied)
|
||||
kdevtmpfs 13 root rtd unknown /proc/13/root (readlink: Permission denied)
|
||||
kdevtmpfs 13 root txt unknown /proc/13/exe (readlink: Permission denied)
|
||||
kdevtmpfs 13 root NOFD /proc/13/fd (opendir: Permission denied)
|
||||
netns 14 root cwd unknown /proc/14/cwd (readlink: Permission denied)
|
||||
netns 14 root rtd unknown /proc/14/root (readlink: Permission denied)
|
||||
netns 14 root txt unknown /proc/14/exe (readlink: Permission denied)
|
||||
netns 14 root NOFD /proc/14/fd (opendir: Permission denied)
|
||||
rcu_tasks 15 root cwd unknown /proc/15/cwd (readlink: Permission denied)
|
||||
rcu_tasks 15 root rtd unknown /proc/15/root (readlink: Permission denied)
|
||||
rcu_tasks 15 root txt unknown /proc/15/exe (readlink: Permission denied)
|
||||
rcu_tasks 15 root NOFD /proc/15/fd (opendir: Permission denied)
|
||||
kauditd 16 root cwd unknown /proc/16/cwd (readlink: Permission denied)
|
||||
kauditd 16 root rtd unknown /proc/16/root (readlink: Permission denied)
|
||||
kauditd 16 root txt unknown /proc/16/exe (readlink: Permission denied)
|
||||
kauditd 16 root NOFD /proc/16/fd (opendir: Permission denied)
|
||||
khungtask 17 root cwd unknown /proc/17/cwd (readlink: Permission denied)
|
||||
khungtask 17 root rtd unknown /proc/17/root (readlink: Permission denied)
|
||||
khungtask 17 root txt unknown /proc/17/exe (readlink: Permission denied)
|
||||
khungtask 17 root NOFD /proc/17/fd (opendir: Permission denied)
|
||||
oom_reape 18 root cwd unknown /proc/18/cwd (readlink: Permission denied)
|
||||
oom_reape 18 root rtd unknown /proc/18/root (readlink: Permission denied)
|
||||
oom_reape 18 root txt unknown /proc/18/exe (readlink: Permission denied)
|
||||
oom_reape 18 root NOFD /proc/18/fd (opendir: Permission denied)
|
||||
writeback 19 root cwd unknown /proc/19/cwd (readlink: Permission denied)
|
||||
writeback 19 root rtd unknown /proc/19/root (readlink: Permission denied)
|
||||
writeback 19 root txt unknown /proc/19/exe (readlink: Permission denied)
|
||||
writeback 19 root NOFD /proc/19/fd (opendir: Permission denied)
|
||||
kcompactd 20 root cwd unknown /proc/20/cwd (readlink: Permission denied)
|
||||
kcompactd 20 root rtd unknown /proc/20/root (readlink: Permission denied)
|
||||
kcompactd 20 root txt unknown /proc/20/exe (readlink: Permission denied)
|
||||
kcompactd 20 root NOFD /proc/20/fd (opendir: Permission denied)
|
||||
ksmd 21 root cwd unknown /proc/21/cwd (readlink: Permission denied)
|
||||
ksmd 21 root rtd unknown /proc/21/root (readlink: Permission denied)
|
||||
ksmd 21 root txt unknown /proc/21/exe (readlink: Permission denied)
|
||||
ksmd 21 root NOFD /proc/21/fd (opendir: Permission denied)
|
||||
khugepage 22 root cwd unknown /proc/22/cwd (readlink: Permission denied)
|
||||
khugepage 22 root rtd unknown /proc/22/root (readlink: Permission denied)
|
||||
khugepage 22 root txt unknown /proc/22/exe (readlink: Permission denied)
|
||||
khugepage 22 root NOFD /proc/22/fd (opendir: Permission denied)
|
||||
crypto 23 root cwd unknown /proc/23/cwd (readlink: Permission denied)
|
||||
crypto 23 root rtd unknown /proc/23/root (readlink: Permission denied)
|
||||
crypto 23 root txt unknown /proc/23/exe (readlink: Permission denied)
|
||||
crypto 23 root NOFD /proc/23/fd (opendir: Permission denied)
|
||||
kintegrit 24 root cwd unknown /proc/24/cwd (readlink: Permission denied)
|
||||
kintegrit 24 root rtd unknown /proc/24/root (readlink: Permission denied)
|
||||
kintegrit 24 root txt unknown /proc/24/exe (readlink: Permission denied)
|
||||
kintegrit 24 root NOFD /proc/24/fd (opendir: Permission denied)
|
||||
kblockd 25 root cwd unknown /proc/25/cwd (readlink: Permission denied)
|
||||
kblockd 25 root rtd unknown /proc/25/root (readlink: Permission denied)
|
||||
kblockd 25 root txt unknown /proc/25/exe (readlink: Permission denied)
|
||||
kblockd 25 root NOFD /proc/25/fd (opendir: Permission denied)
|
||||
ata_sff 26 root cwd unknown /proc/26/cwd (readlink: Permission denied)
|
||||
ata_sff 26 root rtd unknown /proc/26/root (readlink: Permission denied)
|
||||
ata_sff 26 root txt unknown /proc/26/exe (readlink: Permission denied)
|
||||
ata_sff 26 root NOFD /proc/26/fd (opendir: Permission denied)
|
||||
md 27 root cwd unknown /proc/27/cwd (readlink: Permission denied)
|
||||
md 27 root rtd unknown /proc/27/root (readlink: Permission denied)
|
||||
md 27 root txt unknown /proc/27/exe (readlink: Permission denied)
|
||||
md 27 root NOFD /proc/27/fd (opendir: Permission denied)
|
||||
edac-poll 28 root cwd unknown /proc/28/cwd (readlink: Permission denied)
|
||||
edac-poll 28 root rtd unknown /proc/28/root (readlink: Permission denied)
|
||||
edac-poll 28 root txt unknown /proc/28/exe (readlink: Permission denied)
|
||||
edac-poll 28 root NOFD /proc/28/fd (opendir: Permission denied)
|
||||
devfreq_w 29 root cwd unknown /proc/29/cwd (readlink: Permission denied)
|
||||
devfreq_w 29 root rtd unknown /proc/29/root (readlink: Permission denied)
|
||||
devfreq_w 29 root txt unknown /proc/29/exe (readlink: Permission denied)
|
||||
devfreq_w 29 root NOFD /proc/29/fd (opendir: Permission denied)
|
||||
watchdogd 30 root cwd unknown /proc/30/cwd (readlink: Permission denied)
|
||||
watchdogd 30 root rtd unknown /proc/30/root (readlink: Permission denied)
|
||||
watchdogd 30 root txt unknown /proc/30/exe (readlink: Permission denied)
|
||||
watchdogd 30 root NOFD /proc/30/fd (opendir: Permission denied)
|
||||
kswapd0 34 root cwd unknown /proc/34/cwd (readlink: Permission denied)
|
||||
kswapd0 34 root rtd unknown /proc/34/root (readlink: Permission denied)
|
||||
kswapd0 34 root txt unknown /proc/34/exe (readlink: Permission denied)
|
||||
kswapd0 34 root NOFD /proc/34/fd (opendir: Permission denied)
|
||||
kworker/u 35 root cwd unknown /proc/35/cwd (readlink: Permission denied)
|
||||
kworker/u 35 root rtd unknown /proc/35/root (readlink: Permission denied)
|
||||
kworker/u 35 root txt unknown /proc/35/exe (readlink: Permission denied)
|
||||
kworker/u 35 root NOFD /proc/35/fd (opendir: Permission denied)
|
||||
ecryptfs- 36 root cwd unknown /proc/36/cwd (readlink: Permission denied)
|
||||
ecryptfs- 36 root rtd unknown /proc/36/root (readlink: Permission denied)
|
||||
ecryptfs- 36 root txt unknown /proc/36/exe (readlink: Permission denied)
|
||||
ecryptfs- 36 root NOFD /proc/36/fd (opendir: Permission denied)
|
||||
kthrotld 78 root cwd unknown /proc/78/cwd (readlink: Permission denied)
|
||||
kthrotld 78 root rtd unknown /proc/78/root (readlink: Permission denied)
|
||||
kthrotld 78 root txt unknown /proc/78/exe (readlink: Permission denied)
|
||||
kthrotld 78 root NOFD /proc/78/fd (opendir: Permission denied)
|
||||
acpi_ther 79 root cwd unknown /proc/79/cwd (readlink: Permission denied)
|
||||
acpi_ther 79 root rtd unknown /proc/79/root (readlink: Permission denied)
|
||||
acpi_ther 79 root txt unknown /proc/79/exe (readlink: Permission denied)
|
||||
acpi_ther 79 root NOFD /proc/79/fd (opendir: Permission denied)
|
||||
scsi_eh_0 80 root cwd unknown /proc/80/cwd (readlink: Permission denied)
|
||||
scsi_eh_0 80 root rtd unknown /proc/80/root (readlink: Permission denied)
|
||||
scsi_eh_0 80 root txt unknown /proc/80/exe (readlink: Permission denied)
|
||||
scsi_eh_0 80 root NOFD /proc/80/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 81 root cwd unknown /proc/81/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 81 root rtd unknown /proc/81/root (readlink: Permission denied)
|
||||
scsi_tmf_ 81 root txt unknown /proc/81/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 81 root NOFD /proc/81/fd (opendir: Permission denied)
|
||||
scsi_eh_1 82 root cwd unknown /proc/82/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 82 root rtd unknown /proc/82/root (readlink: Permission denied)
|
||||
scsi_eh_1 82 root txt unknown /proc/82/exe (readlink: Permission denied)
|
||||
scsi_eh_1 82 root NOFD /proc/82/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 83 root cwd unknown /proc/83/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 83 root rtd unknown /proc/83/root (readlink: Permission denied)
|
||||
scsi_tmf_ 83 root txt unknown /proc/83/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 83 root NOFD /proc/83/fd (opendir: Permission denied)
|
||||
ipv6_addr 89 root cwd unknown /proc/89/cwd (readlink: Permission denied)
|
||||
ipv6_addr 89 root rtd unknown /proc/89/root (readlink: Permission denied)
|
||||
ipv6_addr 89 root txt unknown /proc/89/exe (readlink: Permission denied)
|
||||
ipv6_addr 89 root NOFD /proc/89/fd (opendir: Permission denied)
|
||||
kstrp 99 root cwd unknown /proc/99/cwd (readlink: Permission denied)
|
||||
kstrp 99 root rtd unknown /proc/99/root (readlink: Permission denied)
|
||||
kstrp 99 root txt unknown /proc/99/exe (readlink: Permission denied)
|
||||
kstrp 99 root NOFD /proc/99/fd (opendir: Permission denied)
|
||||
charger_m 116 root cwd unknown /proc/116/cwd (readlink: Permission denied)
|
||||
charger_m 116 root rtd unknown /proc/116/root (readlink: Permission denied)
|
||||
charger_m 116 root txt unknown /proc/116/exe (readlink: Permission denied)
|
||||
charger_m 116 root NOFD /proc/116/fd (opendir: Permission denied)
|
||||
mpt_poll_ 170 root cwd unknown /proc/170/cwd (readlink: Permission denied)
|
||||
mpt_poll_ 170 root rtd unknown /proc/170/root (readlink: Permission denied)
|
||||
mpt_poll_ 170 root txt unknown /proc/170/exe (readlink: Permission denied)
|
||||
mpt_poll_ 170 root NOFD /proc/170/fd (opendir: Permission denied)
|
||||
scsi_eh_2 171 root cwd unknown /proc/171/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 171 root rtd unknown /proc/171/root (readlink: Permission denied)
|
||||
scsi_eh_2 171 root txt unknown /proc/171/exe (readlink: Permission denied)
|
||||
scsi_eh_2 171 root NOFD /proc/171/fd (opendir: Permission denied)
|
||||
mpt/0 172 root cwd unknown /proc/172/cwd (readlink: Permission denied)
|
||||
mpt/0 172 root rtd unknown /proc/172/root (readlink: Permission denied)
|
||||
mpt/0 172 root txt unknown /proc/172/exe (readlink: Permission denied)
|
||||
mpt/0 172 root NOFD /proc/172/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 173 root cwd unknown /proc/173/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 173 root rtd unknown /proc/173/root (readlink: Permission denied)
|
||||
scsi_tmf_ 173 root txt unknown /proc/173/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 173 root NOFD /proc/173/fd (opendir: Permission denied)
|
||||
scsi_eh_3 174 root cwd unknown /proc/174/cwd (readlink: Permission denied)
|
||||
scsi_eh_3 174 root rtd unknown /proc/174/root (readlink: Permission denied)
|
||||
scsi_eh_3 174 root txt unknown /proc/174/exe (readlink: Permission denied)
|
||||
scsi_eh_3 174 root NOFD /proc/174/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 175 root cwd unknown /proc/175/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 175 root rtd unknown /proc/175/root (readlink: Permission denied)
|
||||
scsi_tmf_ 175 root txt unknown /proc/175/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 175 root NOFD /proc/175/fd (opendir: Permission denied)
|
||||
scsi_eh_4 176 root cwd unknown /proc/176/cwd (readlink: Permission denied)
|
||||
scsi_eh_4 176 root rtd unknown /proc/176/root (readlink: Permission denied)
|
||||
scsi_eh_4 176 root txt unknown /proc/176/exe (readlink: Permission denied)
|
||||
scsi_eh_4 176 root NOFD /proc/176/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 177 root cwd unknown /proc/177/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 177 root rtd unknown /proc/177/root (readlink: Permission denied)
|
||||
scsi_tmf_ 177 root txt unknown /proc/177/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 177 root NOFD /proc/177/fd (opendir: Permission denied)
|
||||
scsi_eh_5 178 root cwd unknown /proc/178/cwd (readlink: Permission denied)
|
||||
scsi_eh_5 178 root rtd unknown /proc/178/root (readlink: Permission denied)
|
||||
scsi_eh_5 178 root txt unknown /proc/178/exe (readlink: Permission denied)
|
||||
scsi_eh_5 178 root NOFD /proc/178/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 179 root cwd unknown /proc/179/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 179 root rtd unknown /proc/179/root (readlink: Permission denied)
|
||||
scsi_tmf_ 179 root txt unknown /proc/179/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 179 root NOFD /proc/179/fd (opendir: Permission denied)
|
||||
scsi_eh_6 180 root cwd unknown /proc/180/cwd (readlink: Permission denied)
|
||||
scsi_eh_6 180 root rtd unknown /proc/180/root (readlink: Permission denied)
|
||||
scsi_eh_6 180 root txt unknown /proc/180/exe (readlink: Permission denied)
|
||||
scsi_eh_6 180 root NOFD /proc/180/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 181 root cwd unknown /proc/181/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 181 root rtd unknown /proc/181/root (readlink: Permission denied)
|
||||
scsi_tmf_ 181 root txt unknown /proc/181/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 181 root NOFD /proc/181/fd (opendir: Permission denied)
|
||||
scsi_eh_7 182 root cwd unknown /proc/182/cwd (readlink: Permission denied)
|
||||
scsi_eh_7 182 root rtd unknown /proc/182/root (readlink: Permission denied)
|
||||
scsi_eh_7 182 root txt unknown /proc/182/exe (readlink: Permission denied)
|
||||
scsi_eh_7 182 root NOFD /proc/182/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 183 root cwd unknown /proc/183/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 183 root rtd unknown /proc/183/root (readlink: Permission denied)
|
||||
scsi_tmf_ 183 root txt unknown /proc/183/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 183 root NOFD /proc/183/fd (opendir: Permission denied)
|
||||
scsi_eh_8 188 root cwd unknown /proc/188/cwd (readlink: Permission denied)
|
||||
scsi_eh_8 188 root rtd unknown /proc/188/root (readlink: Permission denied)
|
||||
scsi_eh_8 188 root txt unknown /proc/188/exe (readlink: Permission denied)
|
||||
scsi_eh_8 188 root NOFD /proc/188/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 189 root cwd unknown /proc/189/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 189 root rtd unknown /proc/189/root (readlink: Permission denied)
|
||||
scsi_tmf_ 189 root txt unknown /proc/189/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 189 root NOFD /proc/189/fd (opendir: Permission denied)
|
||||
scsi_eh_9 191 root cwd unknown /proc/191/cwd (readlink: Permission denied)
|
||||
scsi_eh_9 191 root rtd unknown /proc/191/root (readlink: Permission denied)
|
||||
scsi_eh_9 191 root txt unknown /proc/191/exe (readlink: Permission denied)
|
||||
scsi_eh_9 191 root NOFD /proc/191/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 196 root cwd unknown /proc/196/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 196 root rtd unknown /proc/196/root (readlink: Permission denied)
|
||||
scsi_tmf_ 196 root txt unknown /proc/196/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 196 root NOFD /proc/196/fd (opendir: Permission denied)
|
||||
scsi_eh_1 198 root cwd unknown /proc/198/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 198 root rtd unknown /proc/198/root (readlink: Permission denied)
|
||||
scsi_eh_1 198 root txt unknown /proc/198/exe (readlink: Permission denied)
|
||||
scsi_eh_1 198 root NOFD /proc/198/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 199 root cwd unknown /proc/199/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 199 root rtd unknown /proc/199/root (readlink: Permission denied)
|
||||
scsi_tmf_ 199 root txt unknown /proc/199/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 199 root NOFD /proc/199/fd (opendir: Permission denied)
|
||||
scsi_eh_1 201 root cwd unknown /proc/201/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 201 root rtd unknown /proc/201/root (readlink: Permission denied)
|
||||
scsi_eh_1 201 root txt unknown /proc/201/exe (readlink: Permission denied)
|
||||
scsi_eh_1 201 root NOFD /proc/201/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 203 root cwd unknown /proc/203/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 203 root rtd unknown /proc/203/root (readlink: Permission denied)
|
||||
scsi_tmf_ 203 root txt unknown /proc/203/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 203 root NOFD /proc/203/fd (opendir: Permission denied)
|
||||
scsi_eh_1 205 root cwd unknown /proc/205/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 205 root rtd unknown /proc/205/root (readlink: Permission denied)
|
||||
scsi_eh_1 205 root txt unknown /proc/205/exe (readlink: Permission denied)
|
||||
scsi_eh_1 205 root NOFD /proc/205/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 208 root cwd unknown /proc/208/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 208 root rtd unknown /proc/208/root (readlink: Permission denied)
|
||||
scsi_tmf_ 208 root txt unknown /proc/208/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 208 root NOFD /proc/208/fd (opendir: Permission denied)
|
||||
scsi_eh_1 209 root cwd unknown /proc/209/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 209 root rtd unknown /proc/209/root (readlink: Permission denied)
|
||||
scsi_eh_1 209 root txt unknown /proc/209/exe (readlink: Permission denied)
|
||||
scsi_eh_1 209 root NOFD /proc/209/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 212 root cwd unknown /proc/212/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 212 root rtd unknown /proc/212/root (readlink: Permission denied)
|
||||
scsi_tmf_ 212 root txt unknown /proc/212/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 212 root NOFD /proc/212/fd (opendir: Permission denied)
|
||||
scsi_eh_1 213 root cwd unknown /proc/213/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 213 root rtd unknown /proc/213/root (readlink: Permission denied)
|
||||
scsi_eh_1 213 root txt unknown /proc/213/exe (readlink: Permission denied)
|
||||
scsi_eh_1 213 root NOFD /proc/213/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 216 root cwd unknown /proc/216/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 216 root rtd unknown /proc/216/root (readlink: Permission denied)
|
||||
scsi_tmf_ 216 root txt unknown /proc/216/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 216 root NOFD /proc/216/fd (opendir: Permission denied)
|
||||
scsi_eh_1 217 root cwd unknown /proc/217/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 217 root rtd unknown /proc/217/root (readlink: Permission denied)
|
||||
scsi_eh_1 217 root txt unknown /proc/217/exe (readlink: Permission denied)
|
||||
scsi_eh_1 217 root NOFD /proc/217/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 219 root cwd unknown /proc/219/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 219 root rtd unknown /proc/219/root (readlink: Permission denied)
|
||||
scsi_tmf_ 219 root txt unknown /proc/219/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 219 root NOFD /proc/219/fd (opendir: Permission denied)
|
||||
scsi_eh_1 221 root cwd unknown /proc/221/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 221 root rtd unknown /proc/221/root (readlink: Permission denied)
|
||||
scsi_eh_1 221 root txt unknown /proc/221/exe (readlink: Permission denied)
|
||||
scsi_eh_1 221 root NOFD /proc/221/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 223 root cwd unknown /proc/223/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 223 root rtd unknown /proc/223/root (readlink: Permission denied)
|
||||
scsi_tmf_ 223 root txt unknown /proc/223/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 223 root NOFD /proc/223/fd (opendir: Permission denied)
|
||||
scsi_eh_1 225 root cwd unknown /proc/225/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 225 root rtd unknown /proc/225/root (readlink: Permission denied)
|
||||
scsi_eh_1 225 root txt unknown /proc/225/exe (readlink: Permission denied)
|
||||
scsi_eh_1 225 root NOFD /proc/225/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 227 root cwd unknown /proc/227/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 227 root rtd unknown /proc/227/root (readlink: Permission denied)
|
||||
scsi_tmf_ 227 root txt unknown /proc/227/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 227 root NOFD /proc/227/fd (opendir: Permission denied)
|
||||
scsi_eh_1 229 root cwd unknown /proc/229/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 229 root rtd unknown /proc/229/root (readlink: Permission denied)
|
||||
scsi_eh_1 229 root txt unknown /proc/229/exe (readlink: Permission denied)
|
||||
scsi_eh_1 229 root NOFD /proc/229/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 230 root cwd unknown /proc/230/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 230 root rtd unknown /proc/230/root (readlink: Permission denied)
|
||||
scsi_tmf_ 230 root txt unknown /proc/230/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 230 root NOFD /proc/230/fd (opendir: Permission denied)
|
||||
scsi_eh_1 232 root cwd unknown /proc/232/cwd (readlink: Permission denied)
|
||||
scsi_eh_1 232 root rtd unknown /proc/232/root (readlink: Permission denied)
|
||||
scsi_eh_1 232 root txt unknown /proc/232/exe (readlink: Permission denied)
|
||||
scsi_eh_1 232 root NOFD /proc/232/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 233 root cwd unknown /proc/233/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 233 root rtd unknown /proc/233/root (readlink: Permission denied)
|
||||
scsi_tmf_ 233 root txt unknown /proc/233/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 233 root NOFD /proc/233/fd (opendir: Permission denied)
|
||||
scsi_eh_2 235 root cwd unknown /proc/235/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 235 root rtd unknown /proc/235/root (readlink: Permission denied)
|
||||
scsi_eh_2 235 root txt unknown /proc/235/exe (readlink: Permission denied)
|
||||
scsi_eh_2 235 root NOFD /proc/235/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 237 root cwd unknown /proc/237/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 237 root rtd unknown /proc/237/root (readlink: Permission denied)
|
||||
scsi_tmf_ 237 root txt unknown /proc/237/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 237 root NOFD /proc/237/fd (opendir: Permission denied)
|
||||
scsi_eh_2 238 root cwd unknown /proc/238/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 238 root rtd unknown /proc/238/root (readlink: Permission denied)
|
||||
scsi_eh_2 238 root txt unknown /proc/238/exe (readlink: Permission denied)
|
||||
scsi_eh_2 238 root NOFD /proc/238/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 240 root cwd unknown /proc/240/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 240 root rtd unknown /proc/240/root (readlink: Permission denied)
|
||||
scsi_tmf_ 240 root txt unknown /proc/240/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 240 root NOFD /proc/240/fd (opendir: Permission denied)
|
||||
scsi_eh_2 241 root cwd unknown /proc/241/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 241 root rtd unknown /proc/241/root (readlink: Permission denied)
|
||||
scsi_eh_2 241 root txt unknown /proc/241/exe (readlink: Permission denied)
|
||||
scsi_eh_2 241 root NOFD /proc/241/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 243 root cwd unknown /proc/243/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 243 root rtd unknown /proc/243/root (readlink: Permission denied)
|
||||
scsi_tmf_ 243 root txt unknown /proc/243/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 243 root NOFD /proc/243/fd (opendir: Permission denied)
|
||||
scsi_eh_2 245 root cwd unknown /proc/245/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 245 root rtd unknown /proc/245/root (readlink: Permission denied)
|
||||
scsi_eh_2 245 root txt unknown /proc/245/exe (readlink: Permission denied)
|
||||
scsi_eh_2 245 root NOFD /proc/245/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 246 root cwd unknown /proc/246/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 246 root rtd unknown /proc/246/root (readlink: Permission denied)
|
||||
scsi_tmf_ 246 root txt unknown /proc/246/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 246 root NOFD /proc/246/fd (opendir: Permission denied)
|
||||
scsi_eh_2 248 root cwd unknown /proc/248/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 248 root rtd unknown /proc/248/root (readlink: Permission denied)
|
||||
scsi_eh_2 248 root txt unknown /proc/248/exe (readlink: Permission denied)
|
||||
scsi_eh_2 248 root NOFD /proc/248/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 250 root cwd unknown /proc/250/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 250 root rtd unknown /proc/250/root (readlink: Permission denied)
|
||||
scsi_tmf_ 250 root txt unknown /proc/250/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 250 root NOFD /proc/250/fd (opendir: Permission denied)
|
||||
scsi_eh_2 252 root cwd unknown /proc/252/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 252 root rtd unknown /proc/252/root (readlink: Permission denied)
|
||||
scsi_eh_2 252 root txt unknown /proc/252/exe (readlink: Permission denied)
|
||||
scsi_eh_2 252 root NOFD /proc/252/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 254 root cwd unknown /proc/254/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 254 root rtd unknown /proc/254/root (readlink: Permission denied)
|
||||
scsi_tmf_ 254 root txt unknown /proc/254/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 254 root NOFD /proc/254/fd (opendir: Permission denied)
|
||||
scsi_eh_2 256 root cwd unknown /proc/256/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 256 root rtd unknown /proc/256/root (readlink: Permission denied)
|
||||
scsi_eh_2 256 root txt unknown /proc/256/exe (readlink: Permission denied)
|
||||
scsi_eh_2 256 root NOFD /proc/256/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 258 root cwd unknown /proc/258/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 258 root rtd unknown /proc/258/root (readlink: Permission denied)
|
||||
scsi_tmf_ 258 root txt unknown /proc/258/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 258 root NOFD /proc/258/fd (opendir: Permission denied)
|
||||
scsi_eh_2 259 root cwd unknown /proc/259/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 259 root rtd unknown /proc/259/root (readlink: Permission denied)
|
||||
scsi_eh_2 259 root txt unknown /proc/259/exe (readlink: Permission denied)
|
||||
scsi_eh_2 259 root NOFD /proc/259/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 260 root cwd unknown /proc/260/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 260 root rtd unknown /proc/260/root (readlink: Permission denied)
|
||||
scsi_tmf_ 260 root txt unknown /proc/260/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 260 root NOFD /proc/260/fd (opendir: Permission denied)
|
||||
scsi_eh_2 261 root cwd unknown /proc/261/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 261 root rtd unknown /proc/261/root (readlink: Permission denied)
|
||||
scsi_eh_2 261 root txt unknown /proc/261/exe (readlink: Permission denied)
|
||||
scsi_eh_2 261 root NOFD /proc/261/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 262 root cwd unknown /proc/262/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 262 root rtd unknown /proc/262/root (readlink: Permission denied)
|
||||
scsi_tmf_ 262 root txt unknown /proc/262/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 262 root NOFD /proc/262/fd (opendir: Permission denied)
|
||||
scsi_eh_2 263 root cwd unknown /proc/263/cwd (readlink: Permission denied)
|
||||
scsi_eh_2 263 root rtd unknown /proc/263/root (readlink: Permission denied)
|
||||
scsi_eh_2 263 root txt unknown /proc/263/exe (readlink: Permission denied)
|
||||
scsi_eh_2 263 root NOFD /proc/263/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 264 root cwd unknown /proc/264/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 264 root rtd unknown /proc/264/root (readlink: Permission denied)
|
||||
scsi_tmf_ 264 root txt unknown /proc/264/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 264 root NOFD /proc/264/fd (opendir: Permission denied)
|
||||
scsi_eh_3 265 root cwd unknown /proc/265/cwd (readlink: Permission denied)
|
||||
scsi_eh_3 265 root rtd unknown /proc/265/root (readlink: Permission denied)
|
||||
scsi_eh_3 265 root txt unknown /proc/265/exe (readlink: Permission denied)
|
||||
scsi_eh_3 265 root NOFD /proc/265/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 266 root cwd unknown /proc/266/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 266 root rtd unknown /proc/266/root (readlink: Permission denied)
|
||||
scsi_tmf_ 266 root txt unknown /proc/266/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 266 root NOFD /proc/266/fd (opendir: Permission denied)
|
||||
scsi_eh_3 267 root cwd unknown /proc/267/cwd (readlink: Permission denied)
|
||||
scsi_eh_3 267 root rtd unknown /proc/267/root (readlink: Permission denied)
|
||||
scsi_eh_3 267 root txt unknown /proc/267/exe (readlink: Permission denied)
|
||||
scsi_eh_3 267 root NOFD /proc/267/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 268 root cwd unknown /proc/268/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 268 root rtd unknown /proc/268/root (readlink: Permission denied)
|
||||
scsi_tmf_ 268 root txt unknown /proc/268/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 268 root NOFD /proc/268/fd (opendir: Permission denied)
|
||||
scsi_eh_3 295 root cwd unknown /proc/295/cwd (readlink: Permission denied)
|
||||
scsi_eh_3 295 root rtd unknown /proc/295/root (readlink: Permission denied)
|
||||
scsi_eh_3 295 root txt unknown /proc/295/exe (readlink: Permission denied)
|
||||
scsi_eh_3 295 root NOFD /proc/295/fd (opendir: Permission denied)
|
||||
scsi_tmf_ 296 root cwd unknown /proc/296/cwd (readlink: Permission denied)
|
||||
scsi_tmf_ 296 root rtd unknown /proc/296/root (readlink: Permission denied)
|
||||
scsi_tmf_ 296 root txt unknown /proc/296/exe (readlink: Permission denied)
|
||||
scsi_tmf_ 296 root NOFD /proc/296/fd (opendir: Permission denied)
|
||||
ttm_swap 302 root cwd unknown /proc/302/cwd (readlink: Permission denied)
|
||||
ttm_swap 302 root rtd unknown /proc/302/root (readlink: Permission denied)
|
||||
ttm_swap 302 root txt unknown /proc/302/exe (readlink: Permission denied)
|
||||
ttm_swap 302 root NOFD /proc/302/fd (opendir: Permission denied)
|
||||
irq/16-vm 303 root cwd unknown /proc/303/cwd (readlink: Permission denied)
|
||||
irq/16-vm 303 root rtd unknown /proc/303/root (readlink: Permission denied)
|
||||
irq/16-vm 303 root txt unknown /proc/303/exe (readlink: Permission denied)
|
||||
irq/16-vm 303 root NOFD /proc/303/fd (opendir: Permission denied)
|
||||
kworker/0 305 root cwd unknown /proc/305/cwd (readlink: Permission denied)
|
||||
kworker/0 305 root rtd unknown /proc/305/root (readlink: Permission denied)
|
||||
kworker/0 305 root txt unknown /proc/305/exe (readlink: Permission denied)
|
||||
kworker/0 305 root NOFD /proc/305/fd (opendir: Permission denied)
|
||||
raid5wq 369 root cwd unknown /proc/369/cwd (readlink: Permission denied)
|
||||
raid5wq 369 root rtd unknown /proc/369/root (readlink: Permission denied)
|
||||
raid5wq 369 root txt unknown /proc/369/exe (readlink: Permission denied)
|
||||
raid5wq 369 root NOFD /proc/369/fd (opendir: Permission denied)
|
||||
jbd2/sda2 422 root cwd unknown /proc/422/cwd (readlink: Permission denied)
|
||||
jbd2/sda2 422 root rtd unknown /proc/422/root (readlink: Permission denied)
|
||||
jbd2/sda2 422 root txt unknown /proc/422/exe (readlink: Permission denied)
|
||||
jbd2/sda2 422 root NOFD /proc/422/fd (opendir: Permission denied)
|
||||
ext4-rsv- 423 root cwd unknown /proc/423/cwd (readlink: Permission denied)
|
||||
ext4-rsv- 423 root rtd unknown /proc/423/root (readlink: Permission denied)
|
||||
ext4-rsv- 423 root txt unknown /proc/423/exe (readlink: Permission denied)
|
||||
ext4-rsv- 423 root NOFD /proc/423/fd (opendir: Permission denied)
|
||||
systemd-j 495 root cwd unknown /proc/495/cwd (readlink: Permission denied)
|
||||
systemd-j 495 root rtd unknown /proc/495/root (readlink: Permission denied)
|
||||
systemd-j 495 root txt unknown /proc/495/exe (readlink: Permission denied)
|
||||
systemd-j 495 root NOFD /proc/495/fd (opendir: Permission denied)
|
||||
iscsi_eh 498 root cwd unknown /proc/498/cwd (readlink: Permission denied)
|
||||
iscsi_eh 498 root rtd unknown /proc/498/root (readlink: Permission denied)
|
||||
iscsi_eh 498 root txt unknown /proc/498/exe (readlink: Permission denied)
|
||||
iscsi_eh 498 root NOFD /proc/498/fd (opendir: Permission denied)
|
||||
systemd-u 509 root cwd unknown /proc/509/cwd (readlink: Permission denied)
|
||||
systemd-u 509 root rtd unknown /proc/509/root (readlink: Permission denied)
|
||||
systemd-u 509 root txt unknown /proc/509/exe (readlink: Permission denied)
|
||||
systemd-u 509 root NOFD /proc/509/fd (opendir: Permission denied)
|
||||
lvmetad 511 root cwd unknown /proc/511/cwd (readlink: Permission denied)
|
||||
lvmetad 511 root rtd unknown /proc/511/root (readlink: Permission denied)
|
||||
lvmetad 511 root txt unknown /proc/511/exe (readlink: Permission denied)
|
||||
lvmetad 511 root NOFD /proc/511/fd (opendir: Permission denied)
|
||||
ib-comp-w 512 root cwd unknown /proc/512/cwd (readlink: Permission denied)
|
||||
ib-comp-w 512 root rtd unknown /proc/512/root (readlink: Permission denied)
|
||||
ib-comp-w 512 root txt unknown /proc/512/exe (readlink: Permission denied)
|
||||
ib-comp-w 512 root NOFD /proc/512/fd (opendir: Permission denied)
|
||||
ib_mcast 513 root cwd unknown /proc/513/cwd (readlink: Permission denied)
|
||||
ib_mcast 513 root rtd unknown /proc/513/root (readlink: Permission denied)
|
||||
ib_mcast 513 root txt unknown /proc/513/exe (readlink: Permission denied)
|
||||
ib_mcast 513 root NOFD /proc/513/fd (opendir: Permission denied)
|
||||
ib_nl_sa_ 514 root cwd unknown /proc/514/cwd (readlink: Permission denied)
|
||||
ib_nl_sa_ 514 root rtd unknown /proc/514/root (readlink: Permission denied)
|
||||
ib_nl_sa_ 514 root txt unknown /proc/514/exe (readlink: Permission denied)
|
||||
ib_nl_sa_ 514 root NOFD /proc/514/fd (opendir: Permission denied)
|
||||
rdma_cm 523 root cwd unknown /proc/523/cwd (readlink: Permission denied)
|
||||
rdma_cm 523 root rtd unknown /proc/523/root (readlink: Permission denied)
|
||||
rdma_cm 523 root txt unknown /proc/523/exe (readlink: Permission denied)
|
||||
rdma_cm 523 root NOFD /proc/523/fd (opendir: Permission denied)
|
||||
loop0 541 root cwd unknown /proc/541/cwd (readlink: Permission denied)
|
||||
loop0 541 root rtd unknown /proc/541/root (readlink: Permission denied)
|
||||
loop0 541 root txt unknown /proc/541/exe (readlink: Permission denied)
|
||||
loop0 541 root NOFD /proc/541/fd (opendir: Permission denied)
|
||||
loop1 545 root cwd unknown /proc/545/cwd (readlink: Permission denied)
|
||||
loop1 545 root rtd unknown /proc/545/root (readlink: Permission denied)
|
||||
loop1 545 root txt unknown /proc/545/exe (readlink: Permission denied)
|
||||
loop1 545 root NOFD /proc/545/fd (opendir: Permission denied)
|
||||
loop2 548 root cwd unknown /proc/548/cwd (readlink: Permission denied)
|
||||
loop2 548 root rtd unknown /proc/548/root (readlink: Permission denied)
|
||||
loop2 548 root txt unknown /proc/548/exe (readlink: Permission denied)
|
||||
loop2 548 root NOFD /proc/548/fd (opendir: Permission denied)
|
||||
loop3 552 root cwd unknown /proc/552/cwd (readlink: Permission denied)
|
||||
loop3 552 root rtd unknown /proc/552/root (readlink: Permission denied)
|
||||
loop3 552 root txt unknown /proc/552/exe (readlink: Permission denied)
|
||||
loop3 552 root NOFD /proc/552/fd (opendir: Permission denied)
|
||||
loop5 554 root cwd unknown /proc/554/cwd (readlink: Permission denied)
|
||||
loop5 554 root rtd unknown /proc/554/root (readlink: Permission denied)
|
||||
loop5 554 root txt unknown /proc/554/exe (readlink: Permission denied)
|
||||
loop5 554 root NOFD /proc/554/fd (opendir: Permission denied)
|
||||
loop7 556 root cwd unknown /proc/556/cwd (readlink: Permission denied)
|
||||
loop7 556 root rtd unknown /proc/556/root (readlink: Permission denied)
|
||||
loop7 556 root txt unknown /proc/556/exe (readlink: Permission denied)
|
||||
loop7 556 root NOFD /proc/556/fd (opendir: Permission denied)
|
||||
loop8 557 root cwd unknown /proc/557/cwd (readlink: Permission denied)
|
||||
loop8 557 root rtd unknown /proc/557/root (readlink: Permission denied)
|
||||
loop8 557 root txt unknown /proc/557/exe (readlink: Permission denied)
|
||||
loop8 557 root NOFD /proc/557/fd (opendir: Permission denied)
|
||||
loop10 559 root cwd unknown /proc/559/cwd (readlink: Permission denied)
|
||||
loop10 559 root rtd unknown /proc/559/root (readlink: Permission denied)
|
||||
loop10 559 root txt unknown /proc/559/exe (readlink: Permission denied)
|
||||
loop10 559 root NOFD /proc/559/fd (opendir: Permission denied)
|
||||
systemd-t 606 systemd-timesync cwd unknown /proc/606/cwd (readlink: Permission denied)
|
||||
systemd-t 606 systemd-timesync rtd unknown /proc/606/root (readlink: Permission denied)
|
||||
systemd-t 606 systemd-timesync txt unknown /proc/606/exe (readlink: Permission denied)
|
||||
systemd-t 606 systemd-timesync NOFD /proc/606/fd (opendir: Permission denied)
|
||||
sd-resolv 606 617 systemd-timesync cwd unknown /proc/606/task/617/cwd (readlink: Permission denied)
|
||||
sd-resolv 606 617 systemd-timesync rtd unknown /proc/606/task/617/root (readlink: Permission denied)
|
||||
sd-resolv 606 617 systemd-timesync txt unknown /proc/606/task/617/exe (readlink: Permission denied)
|
||||
sd-resolv 606 617 systemd-timesync NOFD /proc/606/task/617/fd (opendir: Permission denied)
|
||||
VGAuthSer 607 root cwd unknown /proc/607/cwd (readlink: Permission denied)
|
||||
VGAuthSer 607 root rtd unknown /proc/607/root (readlink: Permission denied)
|
||||
VGAuthSer 607 root txt unknown /proc/607/exe (readlink: Permission denied)
|
||||
VGAuthSer 607 root NOFD /proc/607/fd (opendir: Permission denied)
|
||||
kworker/u 671 root cwd unknown /proc/671/cwd (readlink: Permission denied)
|
||||
kworker/u 671 root rtd unknown /proc/671/root (readlink: Permission denied)
|
||||
kworker/u 671 root txt unknown /proc/671/exe (readlink: Permission denied)
|
||||
kworker/u 671 root NOFD /proc/671/fd (opendir: Permission denied)
|
||||
vmtoolsd 680 root cwd unknown /proc/680/cwd (readlink: Permission denied)
|
||||
vmtoolsd 680 root rtd unknown /proc/680/root (readlink: Permission denied)
|
||||
vmtoolsd 680 root txt unknown /proc/680/exe (readlink: Permission denied)
|
||||
vmtoolsd 680 root NOFD /proc/680/fd (opendir: Permission denied)
|
||||
gmain 680 733 root cwd unknown /proc/680/task/733/cwd (readlink: Permission denied)
|
||||
gmain 680 733 root rtd unknown /proc/680/task/733/root (readlink: Permission denied)
|
||||
gmain 680 733 root txt unknown /proc/680/task/733/exe (readlink: Permission denied)
|
||||
gmain 680 733 root NOFD /proc/680/task/733/fd (opendir: Permission denied)
|
||||
systemd-n 867 systemd-network cwd unknown /proc/867/cwd (readlink: Permission denied)
|
||||
systemd-n 867 systemd-network rtd unknown /proc/867/root (readlink: Permission denied)
|
||||
systemd-n 867 systemd-network txt unknown /proc/867/exe (readlink: Permission denied)
|
||||
systemd-n 867 systemd-network NOFD /proc/867/fd (opendir: Permission denied)
|
||||
systemd-r 885 systemd-resolve cwd unknown /proc/885/cwd (readlink: Permission denied)
|
||||
systemd-r 885 systemd-resolve rtd unknown /proc/885/root (readlink: Permission denied)
|
||||
systemd-r 885 systemd-resolve txt unknown /proc/885/exe (readlink: Permission denied)
|
||||
systemd-r 885 systemd-resolve NOFD /proc/885/fd (opendir: Permission denied)
|
||||
rsyslogd 955 syslog cwd unknown /proc/955/cwd (readlink: Permission denied)
|
||||
rsyslogd 955 syslog rtd unknown /proc/955/root (readlink: Permission denied)
|
||||
rsyslogd 955 syslog txt unknown /proc/955/exe (readlink: Permission denied)
|
||||
rsyslogd 955 syslog NOFD /proc/955/fd (opendir: Permission denied)
|
||||
in:imuxso 955 965 syslog cwd unknown /proc/955/task/965/cwd (readlink: Permission denied)
|
||||
in:imuxso 955 965 syslog rtd unknown /proc/955/task/965/root (readlink: Permission denied)
|
||||
in:imuxso 955 965 syslog txt unknown /proc/955/task/965/exe (readlink: Permission denied)
|
||||
in:imuxso 955 965 syslog NOFD /proc/955/task/965/fd (opendir: Permission denied)
|
||||
in:imklog 955 966 syslog cwd unknown /proc/955/task/966/cwd (readlink: Permission denied)
|
||||
in:imklog 955 966 syslog rtd unknown /proc/955/task/966/root (readlink: Permission denied)
|
||||
in:imklog 955 966 syslog txt unknown /proc/955/task/966/exe (readlink: Permission denied)
|
||||
in:imklog 955 966 syslog NOFD /proc/955/task/966/fd (opendir: Permission denied)
|
||||
rs:main 955 967 syslog cwd unknown /proc/955/task/967/cwd (readlink: Permission denied)
|
||||
rs:main 955 967 syslog rtd unknown /proc/955/task/967/root (readlink: Permission denied)
|
||||
rs:main 955 967 syslog txt unknown /proc/955/task/967/exe (readlink: Permission denied)
|
||||
rs:main 955 967 syslog NOFD /proc/955/task/967/fd (opendir: Permission denied)
|
||||
networkd- 956 root cwd unknown /proc/956/cwd (readlink: Permission denied)
|
||||
networkd- 956 root rtd unknown /proc/956/root (readlink: Permission denied)
|
||||
networkd- 956 root txt unknown /proc/956/exe (readlink: Permission denied)
|
||||
networkd- 956 root NOFD /proc/956/fd (opendir: Permission denied)
|
||||
gmain 956 1294 root cwd unknown /proc/956/task/1294/cwd (readlink: Permission denied)
|
||||
gmain 956 1294 root rtd unknown /proc/956/task/1294/root (readlink: Permission denied)
|
||||
gmain 956 1294 root txt unknown /proc/956/task/1294/exe (readlink: Permission denied)
|
||||
gmain 956 1294 root NOFD /proc/956/task/1294/fd (opendir: Permission denied)
|
||||
lxcfs 960 root cwd unknown /proc/960/cwd (readlink: Permission denied)
|
||||
lxcfs 960 root rtd unknown /proc/960/root (readlink: Permission denied)
|
||||
lxcfs 960 root txt unknown /proc/960/exe (readlink: Permission denied)
|
||||
lxcfs 960 root NOFD /proc/960/fd (opendir: Permission denied)
|
||||
lxcfs 960 22673 root cwd unknown /proc/960/task/22673/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22673 root rtd unknown /proc/960/task/22673/root (readlink: Permission denied)
|
||||
lxcfs 960 22673 root txt unknown /proc/960/task/22673/exe (readlink: Permission denied)
|
||||
lxcfs 960 22673 root NOFD /proc/960/task/22673/fd (opendir: Permission denied)
|
||||
lxcfs 960 22675 root cwd unknown /proc/960/task/22675/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22675 root rtd unknown /proc/960/task/22675/root (readlink: Permission denied)
|
||||
lxcfs 960 22675 root txt unknown /proc/960/task/22675/exe (readlink: Permission denied)
|
||||
lxcfs 960 22675 root NOFD /proc/960/task/22675/fd (opendir: Permission denied)
|
||||
lxcfs 960 22676 root cwd unknown /proc/960/task/22676/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22676 root rtd unknown /proc/960/task/22676/root (readlink: Permission denied)
|
||||
lxcfs 960 22676 root txt unknown /proc/960/task/22676/exe (readlink: Permission denied)
|
||||
lxcfs 960 22676 root NOFD /proc/960/task/22676/fd (opendir: Permission denied)
|
||||
lxcfs 960 22678 root cwd unknown /proc/960/task/22678/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22678 root rtd unknown /proc/960/task/22678/root (readlink: Permission denied)
|
||||
lxcfs 960 22678 root txt unknown /proc/960/task/22678/exe (readlink: Permission denied)
|
||||
lxcfs 960 22678 root NOFD /proc/960/task/22678/fd (opendir: Permission denied)
|
||||
lxcfs 960 22683 root cwd unknown /proc/960/task/22683/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22683 root rtd unknown /proc/960/task/22683/root (readlink: Permission denied)
|
||||
lxcfs 960 22683 root txt unknown /proc/960/task/22683/exe (readlink: Permission denied)
|
||||
lxcfs 960 22683 root NOFD /proc/960/task/22683/fd (opendir: Permission denied)
|
||||
lxcfs 960 22685 root cwd unknown /proc/960/task/22685/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22685 root rtd unknown /proc/960/task/22685/root (readlink: Permission denied)
|
||||
lxcfs 960 22685 root txt unknown /proc/960/task/22685/exe (readlink: Permission denied)
|
||||
lxcfs 960 22685 root NOFD /proc/960/task/22685/fd (opendir: Permission denied)
|
||||
lxcfs 960 22686 root cwd unknown /proc/960/task/22686/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22686 root rtd unknown /proc/960/task/22686/root (readlink: Permission denied)
|
||||
lxcfs 960 22686 root txt unknown /proc/960/task/22686/exe (readlink: Permission denied)
|
||||
lxcfs 960 22686 root NOFD /proc/960/task/22686/fd (opendir: Permission denied)
|
||||
lxcfs 960 22688 root cwd unknown /proc/960/task/22688/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22688 root rtd unknown /proc/960/task/22688/root (readlink: Permission denied)
|
||||
lxcfs 960 22688 root txt unknown /proc/960/task/22688/exe (readlink: Permission denied)
|
||||
lxcfs 960 22688 root NOFD /proc/960/task/22688/fd (opendir: Permission denied)
|
||||
lxcfs 960 22689 root cwd unknown /proc/960/task/22689/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22689 root rtd unknown /proc/960/task/22689/root (readlink: Permission denied)
|
||||
lxcfs 960 22689 root txt unknown /proc/960/task/22689/exe (readlink: Permission denied)
|
||||
lxcfs 960 22689 root NOFD /proc/960/task/22689/fd (opendir: Permission denied)
|
||||
lxcfs 960 22690 root cwd unknown /proc/960/task/22690/cwd (readlink: Permission denied)
|
||||
lxcfs 960 22690 root rtd unknown /proc/960/task/22690/root (readlink: Permission denied)
|
||||
lxcfs 960 22690 root txt unknown /proc/960/task/22690/exe (readlink: Permission denied)
|
||||
lxcfs 960 22690 root NOFD /proc/960/task/22690/fd (opendir: Permission denied)
|
||||
accounts- 961 root cwd unknown /proc/961/cwd (readlink: Permission denied)
|
||||
accounts- 961 root rtd unknown /proc/961/root (readlink: Permission denied)
|
||||
accounts- 961 root txt unknown /proc/961/exe (readlink: Permission denied)
|
||||
accounts- 961 root NOFD /proc/961/fd (opendir: Permission denied)
|
||||
gmain 961 1030 root cwd unknown /proc/961/task/1030/cwd (readlink: Permission denied)
|
||||
gmain 961 1030 root rtd unknown /proc/961/task/1030/root (readlink: Permission denied)
|
||||
gmain 961 1030 root txt unknown /proc/961/task/1030/exe (readlink: Permission denied)
|
||||
gmain 961 1030 root NOFD /proc/961/task/1030/fd (opendir: Permission denied)
|
||||
gdbus 961 1101 root cwd unknown /proc/961/task/1101/cwd (readlink: Permission denied)
|
||||
gdbus 961 1101 root rtd unknown /proc/961/task/1101/root (readlink: Permission denied)
|
||||
gdbus 961 1101 root txt unknown /proc/961/task/1101/exe (readlink: Permission denied)
|
||||
gdbus 961 1101 root NOFD /proc/961/task/1101/fd (opendir: Permission denied)
|
||||
snapd 1017 root cwd unknown /proc/1017/cwd (readlink: Permission denied)
|
||||
snapd 1017 root rtd unknown /proc/1017/root (readlink: Permission denied)
|
||||
snapd 1017 root txt unknown /proc/1017/exe (readlink: Permission denied)
|
||||
snapd 1017 root NOFD /proc/1017/fd (opendir: Permission denied)
|
||||
snapd 1017 1326 root cwd unknown /proc/1017/task/1326/cwd (readlink: Permission denied)
|
||||
snapd 1017 1326 root rtd unknown /proc/1017/task/1326/root (readlink: Permission denied)
|
||||
snapd 1017 1326 root txt unknown /proc/1017/task/1326/exe (readlink: Permission denied)
|
||||
snapd 1017 1326 root NOFD /proc/1017/task/1326/fd (opendir: Permission denied)
|
||||
snapd 1017 1327 root cwd unknown /proc/1017/task/1327/cwd (readlink: Permission denied)
|
||||
snapd 1017 1327 root rtd unknown /proc/1017/task/1327/root (readlink: Permission denied)
|
||||
snapd 1017 1327 root txt unknown /proc/1017/task/1327/exe (readlink: Permission denied)
|
||||
snapd 1017 1327 root NOFD /proc/1017/task/1327/fd (opendir: Permission denied)
|
||||
snapd 1017 1328 root cwd unknown /proc/1017/task/1328/cwd (readlink: Permission denied)
|
||||
snapd 1017 1328 root rtd unknown /proc/1017/task/1328/root (readlink: Permission denied)
|
||||
snapd 1017 1328 root txt unknown /proc/1017/task/1328/exe (readlink: Permission denied)
|
||||
snapd 1017 1328 root NOFD /proc/1017/task/1328/fd (opendir: Permission denied)
|
||||
snapd 1017 1329 root cwd unknown /proc/1017/task/1329/cwd (readlink: Permission denied)
|
||||
snapd 1017 1329 root rtd unknown /proc/1017/task/1329/root (readlink: Permission denied)
|
||||
snapd 1017 1329 root txt unknown /proc/1017/task/1329/exe (readlink: Permission denied)
|
||||
snapd 1017 1329 root NOFD /proc/1017/task/1329/fd (opendir: Permission denied)
|
||||
snapd 1017 1332 root cwd unknown /proc/1017/task/1332/cwd (readlink: Permission denied)
|
||||
snapd 1017 1332 root rtd unknown /proc/1017/task/1332/root (readlink: Permission denied)
|
||||
snapd 1017 1332 root txt unknown /proc/1017/task/1332/exe (readlink: Permission denied)
|
||||
snapd 1017 1332 root NOFD /proc/1017/task/1332/fd (opendir: Permission denied)
|
||||
snapd 1017 1342 root cwd unknown /proc/1017/task/1342/cwd (readlink: Permission denied)
|
||||
snapd 1017 1342 root rtd unknown /proc/1017/task/1342/root (readlink: Permission denied)
|
||||
snapd 1017 1342 root txt unknown /proc/1017/task/1342/exe (readlink: Permission denied)
|
||||
snapd 1017 1342 root NOFD /proc/1017/task/1342/fd (opendir: Permission denied)
|
||||
snapd 1017 1359 root cwd unknown /proc/1017/task/1359/cwd (readlink: Permission denied)
|
||||
snapd 1017 1359 root rtd unknown /proc/1017/task/1359/root (readlink: Permission denied)
|
||||
snapd 1017 1359 root txt unknown /proc/1017/task/1359/exe (readlink: Permission denied)
|
||||
snapd 1017 1359 root NOFD /proc/1017/task/1359/fd (opendir: Permission denied)
|
||||
snapd 1017 1382 root cwd unknown /proc/1017/task/1382/cwd (readlink: Permission denied)
|
||||
snapd 1017 1382 root rtd unknown /proc/1017/task/1382/root (readlink: Permission denied)
|
||||
snapd 1017 1382 root txt unknown /proc/1017/task/1382/exe (readlink: Permission denied)
|
||||
snapd 1017 1382 root NOFD /proc/1017/task/1382/fd (opendir: Permission denied)
|
||||
snapd 1017 1517 root cwd unknown /proc/1017/task/1517/cwd (readlink: Permission denied)
|
||||
snapd 1017 1517 root rtd unknown /proc/1017/task/1517/root (readlink: Permission denied)
|
||||
snapd 1017 1517 root txt unknown /proc/1017/task/1517/exe (readlink: Permission denied)
|
||||
snapd 1017 1517 root NOFD /proc/1017/task/1517/fd (opendir: Permission denied)
|
||||
systemd-l 1018 root cwd unknown /proc/1018/cwd (readlink: Permission denied)
|
||||
systemd-l 1018 root rtd unknown /proc/1018/root (readlink: Permission denied)
|
||||
systemd-l 1018 root txt unknown /proc/1018/exe (readlink: Permission denied)
|
||||
systemd-l 1018 root NOFD /proc/1018/fd (opendir: Permission denied)
|
||||
cron 1038 root cwd unknown /proc/1038/cwd (readlink: Permission denied)
|
||||
cron 1038 root rtd unknown /proc/1038/root (readlink: Permission denied)
|
||||
cron 1038 root txt unknown /proc/1038/exe (readlink: Permission denied)
|
||||
cron 1038 root NOFD /proc/1038/fd (opendir: Permission denied)
|
||||
login 1043 root cwd unknown /proc/1043/cwd (readlink: Permission denied)
|
||||
login 1043 root rtd unknown /proc/1043/root (readlink: Permission denied)
|
||||
login 1043 root txt unknown /proc/1043/exe (readlink: Permission denied)
|
||||
login 1043 root NOFD /proc/1043/fd (opendir: Permission denied)
|
||||
dbus-daem 1048 messagebus cwd unknown /proc/1048/cwd (readlink: Permission denied)
|
||||
dbus-daem 1048 messagebus rtd unknown /proc/1048/root (readlink: Permission denied)
|
||||
dbus-daem 1048 messagebus txt unknown /proc/1048/exe (readlink: Permission denied)
|
||||
dbus-daem 1048 messagebus NOFD /proc/1048/fd (opendir: Permission denied)
|
||||
unattende 1099 root cwd unknown /proc/1099/cwd (readlink: Permission denied)
|
||||
unattende 1099 root rtd unknown /proc/1099/root (readlink: Permission denied)
|
||||
unattende 1099 root txt unknown /proc/1099/exe (readlink: Permission denied)
|
||||
unattende 1099 root NOFD /proc/1099/fd (opendir: Permission denied)
|
||||
gmain 1099 1311 root cwd unknown /proc/1099/task/1311/cwd (readlink: Permission denied)
|
||||
gmain 1099 1311 root rtd unknown /proc/1099/task/1311/root (readlink: Permission denied)
|
||||
gmain 1099 1311 root txt unknown /proc/1099/task/1311/exe (readlink: Permission denied)
|
||||
gmain 1099 1311 root NOFD /proc/1099/task/1311/fd (opendir: Permission denied)
|
||||
atd 1100 daemon cwd unknown /proc/1100/cwd (readlink: Permission denied)
|
||||
atd 1100 daemon rtd unknown /proc/1100/root (readlink: Permission denied)
|
||||
atd 1100 daemon txt unknown /proc/1100/exe (readlink: Permission denied)
|
||||
atd 1100 daemon NOFD /proc/1100/fd (opendir: Permission denied)
|
||||
container 1112 root cwd unknown /proc/1112/cwd (readlink: Permission denied)
|
||||
container 1112 root rtd unknown /proc/1112/root (readlink: Permission denied)
|
||||
container 1112 root txt unknown /proc/1112/exe (readlink: Permission denied)
|
||||
container 1112 root NOFD /proc/1112/fd (opendir: Permission denied)
|
||||
container 1112 1303 root cwd unknown /proc/1112/task/1303/cwd (readlink: Permission denied)
|
||||
container 1112 1303 root rtd unknown /proc/1112/task/1303/root (readlink: Permission denied)
|
||||
container 1112 1303 root txt unknown /proc/1112/task/1303/exe (readlink: Permission denied)
|
||||
container 1112 1303 root NOFD /proc/1112/task/1303/fd (opendir: Permission denied)
|
||||
container 1112 1304 root cwd unknown /proc/1112/task/1304/cwd (readlink: Permission denied)
|
||||
container 1112 1304 root rtd unknown /proc/1112/task/1304/root (readlink: Permission denied)
|
||||
container 1112 1304 root txt unknown /proc/1112/task/1304/exe (readlink: Permission denied)
|
||||
container 1112 1304 root NOFD /proc/1112/task/1304/fd (opendir: Permission denied)
|
||||
container 1112 1305 root cwd unknown /proc/1112/task/1305/cwd (readlink: Permission denied)
|
||||
container 1112 1305 root rtd unknown /proc/1112/task/1305/root (readlink: Permission denied)
|
||||
container 1112 1305 root txt unknown /proc/1112/task/1305/exe (readlink: Permission denied)
|
||||
container 1112 1305 root NOFD /proc/1112/task/1305/fd (opendir: Permission denied)
|
||||
container 1112 1306 root cwd unknown /proc/1112/task/1306/cwd (readlink: Permission denied)
|
||||
container 1112 1306 root rtd unknown /proc/1112/task/1306/root (readlink: Permission denied)
|
||||
container 1112 1306 root txt unknown /proc/1112/task/1306/exe (readlink: Permission denied)
|
||||
container 1112 1306 root NOFD /proc/1112/task/1306/fd (opendir: Permission denied)
|
||||
container 1112 1315 root cwd unknown /proc/1112/task/1315/cwd (readlink: Permission denied)
|
||||
container 1112 1315 root rtd unknown /proc/1112/task/1315/root (readlink: Permission denied)
|
||||
container 1112 1315 root txt unknown /proc/1112/task/1315/exe (readlink: Permission denied)
|
||||
container 1112 1315 root NOFD /proc/1112/task/1315/fd (opendir: Permission denied)
|
||||
container 1112 1322 root cwd unknown /proc/1112/task/1322/cwd (readlink: Permission denied)
|
||||
container 1112 1322 root rtd unknown /proc/1112/task/1322/root (readlink: Permission denied)
|
||||
container 1112 1322 root txt unknown /proc/1112/task/1322/exe (readlink: Permission denied)
|
||||
container 1112 1322 root NOFD /proc/1112/task/1322/fd (opendir: Permission denied)
|
||||
container 1112 1323 root cwd unknown /proc/1112/task/1323/cwd (readlink: Permission denied)
|
||||
container 1112 1323 root rtd unknown /proc/1112/task/1323/root (readlink: Permission denied)
|
||||
container 1112 1323 root txt unknown /proc/1112/task/1323/exe (readlink: Permission denied)
|
||||
container 1112 1323 root NOFD /proc/1112/task/1323/fd (opendir: Permission denied)
|
||||
container 1112 1325 root cwd unknown /proc/1112/task/1325/cwd (readlink: Permission denied)
|
||||
container 1112 1325 root rtd unknown /proc/1112/task/1325/root (readlink: Permission denied)
|
||||
container 1112 1325 root txt unknown /proc/1112/task/1325/exe (readlink: Permission denied)
|
||||
container 1112 1325 root NOFD /proc/1112/task/1325/fd (opendir: Permission denied)
|
||||
sshd 1127 root cwd unknown /proc/1127/cwd (readlink: Permission denied)
|
||||
sshd 1127 root rtd unknown /proc/1127/root (readlink: Permission denied)
|
||||
sshd 1127 root txt unknown /proc/1127/exe (readlink: Permission denied)
|
||||
sshd 1127 root NOFD /proc/1127/fd (opendir: Permission denied)
|
||||
agetty 1153 root cwd unknown /proc/1153/cwd (readlink: Permission denied)
|
||||
agetty 1153 root rtd unknown /proc/1153/root (readlink: Permission denied)
|
||||
agetty 1153 root txt unknown /proc/1153/exe (readlink: Permission denied)
|
||||
agetty 1153 root NOFD /proc/1153/fd (opendir: Permission denied)
|
||||
polkitd 1154 root cwd unknown /proc/1154/cwd (readlink: Permission denied)
|
||||
polkitd 1154 root rtd unknown /proc/1154/root (readlink: Permission denied)
|
||||
polkitd 1154 root txt unknown /proc/1154/exe (readlink: Permission denied)
|
||||
polkitd 1154 root NOFD /proc/1154/fd (opendir: Permission denied)
|
||||
gmain 1154 1198 root cwd unknown /proc/1154/task/1198/cwd (readlink: Permission denied)
|
||||
gmain 1154 1198 root rtd unknown /proc/1154/task/1198/root (readlink: Permission denied)
|
||||
gmain 1154 1198 root txt unknown /proc/1154/task/1198/exe (readlink: Permission denied)
|
||||
gmain 1154 1198 root NOFD /proc/1154/task/1198/fd (opendir: Permission denied)
|
||||
gdbus 1154 1203 root cwd unknown /proc/1154/task/1203/cwd (readlink: Permission denied)
|
||||
gdbus 1154 1203 root rtd unknown /proc/1154/task/1203/root (readlink: Permission denied)
|
||||
gdbus 1154 1203 root txt unknown /proc/1154/task/1203/exe (readlink: Permission denied)
|
||||
gdbus 1154 1203 root NOFD /proc/1154/task/1203/fd (opendir: Permission denied)
|
||||
loop11 1532 root cwd unknown /proc/1532/cwd (readlink: Permission denied)
|
||||
loop11 1532 root rtd unknown /proc/1532/root (readlink: Permission denied)
|
||||
loop11 1532 root txt unknown /proc/1532/exe (readlink: Permission denied)
|
||||
loop11 1532 root NOFD /proc/1532/fd (opendir: Permission denied)
|
||||
systemd 1723 kbrazil cwd DIR 8,2 4096 2 /
|
||||
systemd 1723 kbrazil rtd DIR 8,2 4096 2 /
|
||||
systemd 1723 kbrazil txt REG 8,2 1595792 668802 /lib/systemd/systemd
|
||||
systemd 1723 kbrazil mem REG 8,2 1700792 656167 /lib/x86_64-linux-gnu/libm-2.27.so
|
||||
systemd 1723 kbrazil mem REG 8,2 121016 655394 /lib/x86_64-linux-gnu/libudev.so.1.6.9
|
||||
systemd 1723 kbrazil mem REG 8,2 84032 656154 /lib/x86_64-linux-gnu/libgpg-error.so.0.22.0
|
||||
systemd 1723 kbrazil mem REG 8,2 43304 656160 /lib/x86_64-linux-gnu/libjson-c.so.3.0.1
|
||||
systemd 1723 kbrazil mem REG 8,2 34872 924307 /usr/lib/x86_64-linux-gnu/libargon2.so.0
|
||||
systemd 1723 kbrazil mem REG 8,2 432640 656144 /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1
|
||||
systemd 1723 kbrazil mem REG 8,2 18680 656129 /lib/x86_64-linux-gnu/libattr.so.1.1.0
|
||||
systemd 1723 kbrazil mem REG 8,2 18712 656135 /lib/x86_64-linux-gnu/libcap-ng.so.0.0.0
|
||||
systemd 1723 kbrazil mem REG 8,2 27112 656215 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
|
||||
systemd 1723 kbrazil mem REG 8,2 14560 656145 /lib/x86_64-linux-gnu/libdl-2.27.so
|
||||
systemd 1723 kbrazil mem REG 8,2 464824 656191 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
|
||||
systemd 1723 kbrazil mem REG 8,2 144976 656197 /lib/x86_64-linux-gnu/libpthread-2.27.so
|
||||
systemd 1723 kbrazil mem REG 8,2 112672 924379 /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
|
||||
systemd 1723 kbrazil mem REG 8,2 153984 656165 /lib/x86_64-linux-gnu/liblzma.so.5.2.2
|
||||
systemd 1723 kbrazil mem REG 8,2 206872 656157 /lib/x86_64-linux-gnu/libidn.so.11.6.16
|
||||
systemd 1723 kbrazil mem REG 8,2 27088 924361 /usr/lib/x86_64-linux-gnu/libip4tc.so.0.1.0
|
||||
systemd 1723 kbrazil mem REG 8,2 1155768 656153 /lib/x86_64-linux-gnu/libgcrypt.so.20.2.1
|
||||
systemd 1723 kbrazil mem REG 8,2 22768 656136 /lib/x86_64-linux-gnu/libcap.so.2.25
|
||||
systemd 1723 kbrazil mem REG 8,2 310040 656140 /lib/x86_64-linux-gnu/libcryptsetup.so.12.2.0
|
||||
systemd 1723 kbrazil mem REG 8,2 31232 656125 /lib/x86_64-linux-gnu/libacl.so.1.1.0
|
||||
systemd 1723 kbrazil mem REG 8,2 64144 656127 /lib/x86_64-linux-gnu/libapparmor.so.1.4.2
|
||||
systemd 1723 kbrazil mem REG 8,2 92208 656162 /lib/x86_64-linux-gnu/libkmod.so.2.3.2
|
||||
systemd 1723 kbrazil mem REG 8,2 124848 656130 /lib/x86_64-linux-gnu/libaudit.so.1.0.0
|
||||
systemd 1723 kbrazil mem REG 8,2 55848 656185 /lib/x86_64-linux-gnu/libpam.so.0.83.1
|
||||
systemd 1723 kbrazil mem REG 8,2 311720 656131 /lib/x86_64-linux-gnu/libblkid.so.1.1.0
|
||||
systemd 1723 kbrazil mem REG 8,2 340232 656170 /lib/x86_64-linux-gnu/libmount.so.1.1.0
|
||||
systemd 1723 kbrazil mem REG 8,2 154832 656203 /lib/x86_64-linux-gnu/libselinux.so.1
|
||||
systemd 1723 kbrazil mem REG 8,2 288976 656202 /lib/x86_64-linux-gnu/libseccomp.so.2.4.1
|
||||
systemd 1723 kbrazil mem REG 8,2 31680 656201 /lib/x86_64-linux-gnu/librt-2.27.so
|
||||
systemd 1723 kbrazil mem REG 8,2 2363632 655401 /lib/systemd/libsystemd-shared-237.so
|
||||
systemd 1723 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
systemd 1723 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
systemd 1723 kbrazil 0r CHR 1,3 0t0 6 /dev/null
|
||||
systemd 1723 kbrazil 1u unix 0x0000000000000000 0t0 33601 type=STREAM
|
||||
systemd 1723 kbrazil 2u unix 0x0000000000000000 0t0 33601 type=STREAM
|
||||
systemd 1723 kbrazil 3u unix 0x0000000000000000 0t0 33650 type=DGRAM
|
||||
systemd 1723 kbrazil 4u a_inode 0,13 0 10717 [eventpoll]
|
||||
systemd 1723 kbrazil 5u a_inode 0,13 0 10717 [signalfd]
|
||||
systemd 1723 kbrazil 6r a_inode 0,13 0 10717 inotify
|
||||
systemd 1723 kbrazil 7r DIR 0,28 0 1263 /sys/fs/cgroup/unified/user.slice/user-1000.slice/user@1000.service
|
||||
systemd 1723 kbrazil 8u a_inode 0,13 0 10717 [timerfd]
|
||||
systemd 1723 kbrazil 9u netlink 0t0 33759 KOBJECT_UEVENT
|
||||
systemd 1723 kbrazil 10u a_inode 0,13 0 10717 [eventpoll]
|
||||
systemd 1723 kbrazil 11r REG 0,4 0 33761 /proc/1723/mountinfo
|
||||
systemd 1723 kbrazil 12r a_inode 0,13 0 10717 inotify
|
||||
systemd 1723 kbrazil 13r REG 0,4 0 4026532068 /proc/swaps
|
||||
systemd 1723 kbrazil 14u unix 0x0000000000000000 0t0 33762 /run/user/1000/systemd/notify type=DGRAM
|
||||
systemd 1723 kbrazil 15u unix 0x0000000000000000 0t0 33763 type=DGRAM
|
||||
systemd 1723 kbrazil 16u unix 0x0000000000000000 0t0 33764 type=DGRAM
|
||||
systemd 1723 kbrazil 17u unix 0x0000000000000000 0t0 33765 /run/user/1000/systemd/private type=STREAM
|
||||
systemd 1723 kbrazil 22u unix 0x0000000000000000 0t0 33808 /run/user/1000/gnupg/S.gpg-agent.ssh type=STREAM
|
||||
systemd 1723 kbrazil 23u unix 0x0000000000000000 0t0 33809 /run/user/1000/gnupg/S.dirmngr type=STREAM
|
||||
systemd 1723 kbrazil 24u unix 0x0000000000000000 0t0 33810 /run/user/1000/gnupg/S.gpg-agent.browser type=STREAM
|
||||
systemd 1723 kbrazil 25u unix 0x0000000000000000 0t0 33811 /run/user/1000/gnupg/S.gpg-agent type=STREAM
|
||||
systemd 1723 kbrazil 26u unix 0x0000000000000000 0t0 33812 /run/user/1000/gnupg/S.gpg-agent.extra type=STREAM
|
||||
systemd 1723 kbrazil 27u a_inode 0,13 0 10717 [timerfd]
|
||||
(sd-pam 1734 kbrazil cwd unknown /proc/1734/cwd (readlink: Permission denied)
|
||||
(sd-pam 1734 kbrazil rtd unknown /proc/1734/root (readlink: Permission denied)
|
||||
(sd-pam 1734 kbrazil txt unknown /proc/1734/exe (readlink: Permission denied)
|
||||
(sd-pam 1734 kbrazil NOFD /proc/1734/fd (opendir: Permission denied)
|
||||
bash 1749 kbrazil cwd DIR 8,2 4096 528261 /home/kbrazil/testfiles
|
||||
bash 1749 kbrazil rtd DIR 8,2 4096 2 /
|
||||
bash 1749 kbrazil txt REG 8,2 1113504 131099 /bin/bash
|
||||
bash 1749 kbrazil mem REG 8,2 47568 656179 /lib/x86_64-linux-gnu/libnss_files-2.27.so
|
||||
bash 1749 kbrazil mem REG 8,2 97176 656176 /lib/x86_64-linux-gnu/libnsl-2.27.so
|
||||
bash 1749 kbrazil mem REG 8,2 47576 656181 /lib/x86_64-linux-gnu/libnss_nis-2.27.so
|
||||
bash 1749 kbrazil mem REG 8,2 39744 656177 /lib/x86_64-linux-gnu/libnss_compat-2.27.so
|
||||
bash 1749 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
bash 1749 kbrazil mem REG 8,2 14560 656145 /lib/x86_64-linux-gnu/libdl-2.27.so
|
||||
bash 1749 kbrazil mem REG 8,2 170784 656210 /lib/x86_64-linux-gnu/libtinfo.so.5.9
|
||||
bash 1749 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
bash 1749 kbrazil mem REG 8,2 1683056 933058 /usr/lib/locale/locale-archive
|
||||
bash 1749 kbrazil mem REG 8,2 26376 1049137 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
|
||||
bash 1749 kbrazil 0u CHR 4,64 0t0 87 /dev/ttyS0
|
||||
bash 1749 kbrazil 1u CHR 4,64 0t0 87 /dev/ttyS0
|
||||
bash 1749 kbrazil 2u CHR 4,64 0t0 87 /dev/ttyS0
|
||||
bash 1749 kbrazil 255u CHR 4,64 0t0 87 /dev/ttyS0
|
||||
loop9 3451 root cwd unknown /proc/3451/cwd (readlink: Permission denied)
|
||||
loop9 3451 root rtd unknown /proc/3451/root (readlink: Permission denied)
|
||||
loop9 3451 root txt unknown /proc/3451/exe (readlink: Permission denied)
|
||||
loop9 3451 root NOFD /proc/3451/fd (opendir: Permission denied)
|
||||
loop4 3657 root cwd unknown /proc/3657/cwd (readlink: Permission denied)
|
||||
loop4 3657 root rtd unknown /proc/3657/root (readlink: Permission denied)
|
||||
loop4 3657 root txt unknown /proc/3657/exe (readlink: Permission denied)
|
||||
loop4 3657 root NOFD /proc/3657/fd (opendir: Permission denied)
|
||||
xfsalloc 15892 root cwd unknown /proc/15892/cwd (readlink: Permission denied)
|
||||
xfsalloc 15892 root rtd unknown /proc/15892/root (readlink: Permission denied)
|
||||
xfsalloc 15892 root txt unknown /proc/15892/exe (readlink: Permission denied)
|
||||
xfsalloc 15892 root NOFD /proc/15892/fd (opendir: Permission denied)
|
||||
xfs_mru_c 15896 root cwd unknown /proc/15896/cwd (readlink: Permission denied)
|
||||
xfs_mru_c 15896 root rtd unknown /proc/15896/root (readlink: Permission denied)
|
||||
xfs_mru_c 15896 root txt unknown /proc/15896/exe (readlink: Permission denied)
|
||||
xfs_mru_c 15896 root NOFD /proc/15896/fd (opendir: Permission denied)
|
||||
jfsIO 15900 root cwd unknown /proc/15900/cwd (readlink: Permission denied)
|
||||
jfsIO 15900 root rtd unknown /proc/15900/root (readlink: Permission denied)
|
||||
jfsIO 15900 root txt unknown /proc/15900/exe (readlink: Permission denied)
|
||||
jfsIO 15900 root NOFD /proc/15900/fd (opendir: Permission denied)
|
||||
jfsCommit 15901 root cwd unknown /proc/15901/cwd (readlink: Permission denied)
|
||||
jfsCommit 15901 root rtd unknown /proc/15901/root (readlink: Permission denied)
|
||||
jfsCommit 15901 root txt unknown /proc/15901/exe (readlink: Permission denied)
|
||||
jfsCommit 15901 root NOFD /proc/15901/fd (opendir: Permission denied)
|
||||
jfsSync 15902 root cwd unknown /proc/15902/cwd (readlink: Permission denied)
|
||||
jfsSync 15902 root rtd unknown /proc/15902/root (readlink: Permission denied)
|
||||
jfsSync 15902 root txt unknown /proc/15902/exe (readlink: Permission denied)
|
||||
jfsSync 15902 root NOFD /proc/15902/fd (opendir: Permission denied)
|
||||
sshd 16944 root cwd unknown /proc/16944/cwd (readlink: Permission denied)
|
||||
sshd 16944 root rtd unknown /proc/16944/root (readlink: Permission denied)
|
||||
sshd 16944 root txt unknown /proc/16944/exe (readlink: Permission denied)
|
||||
sshd 16944 root NOFD /proc/16944/fd (opendir: Permission denied)
|
||||
sshd 17058 kbrazil cwd unknown /proc/17058/cwd (readlink: Permission denied)
|
||||
sshd 17058 kbrazil rtd unknown /proc/17058/root (readlink: Permission denied)
|
||||
sshd 17058 kbrazil txt unknown /proc/17058/exe (readlink: Permission denied)
|
||||
sshd 17058 kbrazil NOFD /proc/17058/fd (opendir: Permission denied)
|
||||
bash 17059 kbrazil cwd DIR 8,2 4096 528261 /home/kbrazil/testfiles
|
||||
bash 17059 kbrazil rtd DIR 8,2 4096 2 /
|
||||
bash 17059 kbrazil txt REG 8,2 1113504 131099 /bin/bash
|
||||
bash 17059 kbrazil mem REG 8,2 47568 656179 /lib/x86_64-linux-gnu/libnss_files-2.27.so
|
||||
bash 17059 kbrazil mem REG 8,2 97176 656176 /lib/x86_64-linux-gnu/libnsl-2.27.so
|
||||
bash 17059 kbrazil mem REG 8,2 47576 656181 /lib/x86_64-linux-gnu/libnss_nis-2.27.so
|
||||
bash 17059 kbrazil mem REG 8,2 39744 656177 /lib/x86_64-linux-gnu/libnss_compat-2.27.so
|
||||
bash 17059 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
bash 17059 kbrazil mem REG 8,2 14560 656145 /lib/x86_64-linux-gnu/libdl-2.27.so
|
||||
bash 17059 kbrazil mem REG 8,2 170784 656210 /lib/x86_64-linux-gnu/libtinfo.so.5.9
|
||||
bash 17059 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
bash 17059 kbrazil mem REG 8,2 1683056 933058 /usr/lib/locale/locale-archive
|
||||
bash 17059 kbrazil mem REG 8,2 26376 1049137 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
|
||||
bash 17059 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
bash 17059 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
bash 17059 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
bash 17059 kbrazil 255u CHR 136,0 0t0 3 /dev/pts/0
|
||||
kworker/0 19890 root cwd unknown /proc/19890/cwd (readlink: Permission denied)
|
||||
kworker/0 19890 root rtd unknown /proc/19890/root (readlink: Permission denied)
|
||||
kworker/0 19890 root txt unknown /proc/19890/exe (readlink: Permission denied)
|
||||
kworker/0 19890 root NOFD /proc/19890/fd (opendir: Permission denied)
|
||||
kworker/0 23282 root cwd unknown /proc/23282/cwd (readlink: Permission denied)
|
||||
kworker/0 23282 root rtd unknown /proc/23282/root (readlink: Permission denied)
|
||||
kworker/0 23282 root txt unknown /proc/23282/exe (readlink: Permission denied)
|
||||
kworker/0 23282 root NOFD /proc/23282/fd (opendir: Permission denied)
|
||||
kworker/u 23289 root cwd unknown /proc/23289/cwd (readlink: Permission denied)
|
||||
kworker/u 23289 root rtd unknown /proc/23289/root (readlink: Permission denied)
|
||||
kworker/u 23289 root txt unknown /proc/23289/exe (readlink: Permission denied)
|
||||
kworker/u 23289 root NOFD /proc/23289/fd (opendir: Permission denied)
|
||||
kworker/u 23310 root cwd unknown /proc/23310/cwd (readlink: Permission denied)
|
||||
kworker/u 23310 root rtd unknown /proc/23310/root (readlink: Permission denied)
|
||||
kworker/u 23310 root txt unknown /proc/23310/exe (readlink: Permission denied)
|
||||
kworker/u 23310 root NOFD /proc/23310/fd (opendir: Permission denied)
|
||||
kworker/u 23851 root cwd unknown /proc/23851/cwd (readlink: Permission denied)
|
||||
kworker/u 23851 root rtd unknown /proc/23851/root (readlink: Permission denied)
|
||||
kworker/u 23851 root txt unknown /proc/23851/exe (readlink: Permission denied)
|
||||
kworker/u 23851 root NOFD /proc/23851/fd (opendir: Permission denied)
|
||||
tests.sh 23870 kbrazil cwd DIR 8,2 4096 528261 /home/kbrazil/testfiles
|
||||
tests.sh 23870 kbrazil rtd DIR 8,2 4096 2 /
|
||||
tests.sh 23870 kbrazil txt REG 8,2 1113504 131099 /bin/bash
|
||||
tests.sh 23870 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
tests.sh 23870 kbrazil mem REG 8,2 14560 656145 /lib/x86_64-linux-gnu/libdl-2.27.so
|
||||
tests.sh 23870 kbrazil mem REG 8,2 170784 656210 /lib/x86_64-linux-gnu/libtinfo.so.5.9
|
||||
tests.sh 23870 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
tests.sh 23870 kbrazil mem REG 8,2 1683056 933058 /usr/lib/locale/locale-archive
|
||||
tests.sh 23870 kbrazil mem REG 8,2 26376 1049137 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
|
||||
tests.sh 23870 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
tests.sh 23870 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
tests.sh 23870 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
tests.sh 23870 kbrazil 255r REG 8,2 1568 528300 /home/kbrazil/testfiles/tests.sh
|
||||
sleep 23903 kbrazil cwd DIR 8,2 4096 528261 /home/kbrazil/testfiles
|
||||
sleep 23903 kbrazil rtd DIR 8,2 4096 2 /
|
||||
sleep 23903 kbrazil txt REG 8,2 35000 131203 /bin/sleep
|
||||
sleep 23903 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
sleep 23903 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
sleep 23903 kbrazil mem REG 8,2 1683056 933058 /usr/lib/locale/locale-archive
|
||||
sleep 23903 kbrazil 0r CHR 1,3 0t0 6 /dev/null
|
||||
sleep 23903 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23903 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23904 kbrazil cwd DIR 8,2 4096 528261 /home/kbrazil/testfiles
|
||||
sleep 23904 kbrazil rtd DIR 8,2 4096 2 /
|
||||
sleep 23904 kbrazil txt REG 8,2 35000 131203 /bin/sleep
|
||||
sleep 23904 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
sleep 23904 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
sleep 23904 kbrazil mem REG 8,2 1683056 933058 /usr/lib/locale/locale-archive
|
||||
sleep 23904 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23904 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23904 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23905 kbrazil cwd DIR 8,2 4096 528261 /home/kbrazil/testfiles
|
||||
sleep 23905 kbrazil rtd DIR 8,2 4096 2 /
|
||||
sleep 23905 kbrazil txt REG 8,2 35000 131203 /bin/sleep
|
||||
sleep 23905 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
sleep 23905 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
sleep 23905 kbrazil mem REG 8,2 1683056 933058 /usr/lib/locale/locale-archive
|
||||
sleep 23905 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23905 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23905 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23906 kbrazil cwd DIR 8,2 4096 528261 /home/kbrazil/testfiles
|
||||
sleep 23906 kbrazil rtd DIR 8,2 4096 2 /
|
||||
sleep 23906 kbrazil txt REG 8,2 35000 131203 /bin/sleep
|
||||
sleep 23906 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
sleep 23906 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
sleep 23906 kbrazil mem REG 8,2 1683056 933058 /usr/lib/locale/locale-archive
|
||||
sleep 23906 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23906 kbrazil 1u CHR 136,0 0t0 3 /dev/pts/0
|
||||
sleep 23906 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
lsof 23912 kbrazil cwd DIR 8,2 4096 528261 /home/kbrazil/testfiles
|
||||
lsof 23912 kbrazil rtd DIR 8,2 4096 2 /
|
||||
lsof 23912 kbrazil txt REG 8,2 163224 918160 /usr/bin/lsof
|
||||
lsof 23912 kbrazil mem REG 8,2 144976 656197 /lib/x86_64-linux-gnu/libpthread-2.27.so
|
||||
lsof 23912 kbrazil mem REG 8,2 14560 656145 /lib/x86_64-linux-gnu/libdl-2.27.so
|
||||
lsof 23912 kbrazil mem REG 8,2 464824 656191 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
|
||||
lsof 23912 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
lsof 23912 kbrazil mem REG 8,2 154832 656203 /lib/x86_64-linux-gnu/libselinux.so.1
|
||||
lsof 23912 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
lsof 23912 kbrazil mem REG 8,2 1683056 933058 /usr/lib/locale/locale-archive
|
||||
lsof 23912 kbrazil 0u CHR 136,0 0t0 3 /dev/pts/0
|
||||
lsof 23912 kbrazil 1w REG 8,2 0 528286 /home/kbrazil/testfiles/lsof.out
|
||||
lsof 23912 kbrazil 2u CHR 136,0 0t0 3 /dev/pts/0
|
||||
lsof 23912 kbrazil 3r DIR 0,4 0 1 /proc
|
||||
lsof 23912 kbrazil 4r DIR 0,4 0 339909 /proc/23912/fd
|
||||
lsof 23912 kbrazil 5w FIFO 0,12 0t0 339914 pipe
|
||||
lsof 23912 kbrazil 6r FIFO 0,12 0t0 339915 pipe
|
||||
lsof 23913 kbrazil cwd DIR 8,2 4096 528261 /home/kbrazil/testfiles
|
||||
lsof 23913 kbrazil rtd DIR 8,2 4096 2 /
|
||||
lsof 23913 kbrazil txt REG 8,2 163224 918160 /usr/bin/lsof
|
||||
lsof 23913 kbrazil mem REG 8,2 144976 656197 /lib/x86_64-linux-gnu/libpthread-2.27.so
|
||||
lsof 23913 kbrazil mem REG 8,2 14560 656145 /lib/x86_64-linux-gnu/libdl-2.27.so
|
||||
lsof 23913 kbrazil mem REG 8,2 464824 656191 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
|
||||
lsof 23913 kbrazil mem REG 8,2 2030544 656134 /lib/x86_64-linux-gnu/libc-2.27.so
|
||||
lsof 23913 kbrazil mem REG 8,2 154832 656203 /lib/x86_64-linux-gnu/libselinux.so.1
|
||||
lsof 23913 kbrazil mem REG 8,2 170960 656122 /lib/x86_64-linux-gnu/ld-2.27.so
|
||||
lsof 23913 kbrazil mem REG 8,2 1683056 933058 /usr/lib/locale/locale-archive
|
||||
lsof 23913 kbrazil 4r FIFO 0,12 0t0 339914 pipe
|
||||
lsof 23913 kbrazil 7w FIFO 0,12 0t0 339915 pipe
|
43
tests/fixtures/ubuntu-18.04/mount.out
vendored
Normal file
43
tests/fixtures/ubuntu-18.04/mount.out
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
|
||||
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
|
||||
udev on /dev type devtmpfs (rw,nosuid,relatime,size=977500k,nr_inodes=244375,mode=755)
|
||||
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
|
||||
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=201732k,mode=755)
|
||||
/dev/sda2 on / type ext4 (rw,relatime,data=ordered)
|
||||
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
|
||||
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
|
||||
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
|
||||
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
|
||||
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
|
||||
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
|
||||
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
|
||||
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
|
||||
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
|
||||
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
|
||||
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
|
||||
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
|
||||
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
|
||||
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
|
||||
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
|
||||
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
|
||||
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
|
||||
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
|
||||
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
|
||||
mqueue on /dev/mqueue type mqueue (rw,relatime)
|
||||
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
|
||||
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=38,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=20976)
|
||||
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
|
||||
configfs on /sys/kernel/config type configfs (rw,relatime)
|
||||
/var/lib/snapd/snaps/core18_1223.snap on /snap/core18/1223 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
/var/lib/snapd/snaps/slcli_383.snap on /snap/slcli/383 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
/var/lib/snapd/snaps/core_7396.snap on /snap/core/7396 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
/var/lib/snapd/snaps/google-cloud-sdk_103.snap on /snap/google-cloud-sdk/103 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
/var/lib/snapd/snaps/core18_1074.snap on /snap/core18/1074 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
/var/lib/snapd/snaps/doctl_187.snap on /snap/doctl/187 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
/var/lib/snapd/snaps/stress-ng_847.snap on /snap/stress-ng/847 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
/var/lib/snapd/snaps/core_7917.snap on /snap/core/7917 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
|
||||
/var/lib/snapd/snaps/stress-ng_924.snap on /snap/stress-ng/924 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=201728k,mode=700,uid=1000,gid=1000)
|
||||
/var/lib/snapd/snaps/doctl_215.snap on /snap/doctl/215 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
||||
/var/lib/snapd/snaps/google-cloud-sdk_104.snap on /snap/google-cloud-sdk/104 type squashfs (ro,nodev,relatime,x-gdu.hide)
|
32
tests/fixtures/ubuntu-18.04/netstat-l.out
vendored
Normal file
32
tests/fixtures/ubuntu-18.04/netstat-l.out
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
Active Internet connections (only servers)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State
|
||||
tcp 0 0 localhost:42351 0.0.0.0:* LISTEN
|
||||
tcp 0 0 localhost:domain 0.0.0.0:* LISTEN
|
||||
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
|
||||
tcp6 0 0 [::]:ssh [::]:* LISTEN
|
||||
udp 0 0 localhost:domain 0.0.0.0:*
|
||||
udp 0 0 kbrazil-ubuntu:bootpc 0.0.0.0:*
|
||||
raw6 0 0 [::]:ipv6-icmp [::]:* 7
|
||||
Active UNIX domain sockets (only servers)
|
||||
Proto RefCnt Flags Type State I-Node Path
|
||||
unix 2 [ ACC ] SEQPACKET LISTENING 20812 /run/udev/control
|
||||
unix 2 [ ACC ] STREAM LISTENING 33765 /run/user/1000/systemd/private
|
||||
unix 2 [ ACC ] STREAM LISTENING 33808 /run/user/1000/gnupg/S.gpg-agent.ssh
|
||||
unix 2 [ ACC ] STREAM LISTENING 33809 /run/user/1000/gnupg/S.dirmngr
|
||||
unix 2 [ ACC ] STREAM LISTENING 33810 /run/user/1000/gnupg/S.gpg-agent.browser
|
||||
unix 2 [ ACC ] STREAM LISTENING 33811 /run/user/1000/gnupg/S.gpg-agent
|
||||
unix 2 [ ACC ] STREAM LISTENING 33812 /run/user/1000/gnupg/S.gpg-agent.extra
|
||||
unix 2 [ ACC ] STREAM LISTENING 20655 /run/systemd/private
|
||||
unix 2 [ ACC ] STREAM LISTENING 20662 /run/lvm/lvmetad.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 20664 /run/systemd/journal/stdout
|
||||
unix 2 [ ACC ] STREAM LISTENING 20891 /run/lvm/lvmpolld.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27473 /run/acpid.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27443 /run/snapd.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27445 /run/snapd-snap.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27475 /run/uuidd/request
|
||||
unix 2 [ ACC ] STREAM LISTENING 27481 /var/run/docker.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 27489 /var/run/dbus/system_bus_socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27468 /var/lib/lxd/unix.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 30726 /run/containerd/containerd.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 27436 @ISCSIADM_ABSTRACT_NAMESPACE
|
||||
unix 2 [ ACC ] STREAM LISTENING 25548 /var/run/vmware/guestServicePipe
|
97
tests/fixtures/ubuntu-18.04/netstat-p.out
vendored
Normal file
97
tests/fixtures/ubuntu-18.04/netstat-p.out
vendored
Normal file
@ -0,0 +1,97 @@
|
||||
Active Internet connections (w/o servers)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
||||
tcp 0 0 kbrazil-ubuntu:ssh 192.168.71.1:65159 ESTABLISHED -
|
||||
tcp 0 0 kbrazil-ubuntu:55656 lb-192-30-253-113:https ESTABLISHED 23921/git-remote-ht
|
||||
Active UNIX domain sockets (w/o servers)
|
||||
Proto RefCnt Flags Type State I-Node PID/Program name Path
|
||||
unix 2 [ ] DGRAM 33762 1723/systemd /run/user/1000/systemd/notify
|
||||
unix 3 [ ] DGRAM 20652 - /run/systemd/notify
|
||||
unix 2 [ ] DGRAM 20660 - /run/systemd/journal/syslog
|
||||
unix 9 [ ] DGRAM 20666 - /run/systemd/journal/socket
|
||||
unix 7 [ ] DGRAM 21016 - /run/systemd/journal/dev-log
|
||||
unix 3 [ ] STREAM CONNECTED 30460 - /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 207713 -
|
||||
unix 3 [ ] STREAM CONNECTED 29199 -
|
||||
unix 3 [ ] STREAM CONNECTED 33603 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 28133 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 27669 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 30629 -
|
||||
unix 3 [ ] STREAM CONNECTED 29376 -
|
||||
unix 3 [ ] STREAM CONNECTED 33601 1723/systemd
|
||||
unix 3 [ ] STREAM CONNECTED 30459 -
|
||||
unix 2 [ ] DGRAM 29208 -
|
||||
unix 3 [ ] STREAM CONNECTED 21388 -
|
||||
unix 3 [ ] STREAM CONNECTED 30630 - /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 26063 - /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 29374 -
|
||||
unix 3 [ ] STREAM CONNECTED 29380 - /var/run/dbus/system_bus_socket
|
||||
unix 2 [ ] DGRAM 207447 -
|
||||
unix 3 [ ] DGRAM 25431 -
|
||||
unix 3 [ ] STREAM CONNECTED 27493 -
|
||||
unix 3 [ ] STREAM CONNECTED 28694 -
|
||||
unix 3 [ ] STREAM CONNECTED 30670 -
|
||||
unix 3 [ ] STREAM CONNECTED 29165 -
|
||||
unix 3 [ ] STREAM CONNECTED 29381 - /var/run/dbus/system_bus_socket
|
||||
unix 2 [ ] DGRAM 33487 -
|
||||
unix 3 [ ] STREAM CONNECTED 30671 - /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 28695 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 25414 -
|
||||
unix 3 [ ] DGRAM 25277 -
|
||||
unix 3 [ ] STREAM CONNECTED 29375 -
|
||||
unix 3 [ ] STREAM CONNECTED 25401 -
|
||||
unix 3 [ ] STREAM CONNECTED 29685 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29377 - /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 29230 -
|
||||
unix 3 [ ] STREAM CONNECTED 27494 -
|
||||
unix 3 [ ] STREAM CONNECTED 27978 -
|
||||
unix 3 [ ] DGRAM 25430 -
|
||||
unix 3 [ ] STREAM CONNECTED 29168 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 26944 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29378 - /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 25402 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29474 -
|
||||
unix 3 [ ] STREAM CONNECTED 21581 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29169 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29382 - /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 28058 -
|
||||
unix 3 [ ] STREAM CONNECTED 26941 -
|
||||
unix 2 [ ] DGRAM 21261 -
|
||||
unix 3 [ ] STREAM CONNECTED 29684 -
|
||||
unix 3 [ ] DGRAM 25432 -
|
||||
unix 3 [ ] STREAM CONNECTED 25415 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 28696 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] DGRAM 25429 -
|
||||
unix 2 [ ] DGRAM 26986 -
|
||||
unix 3 [ ] STREAM CONNECTED 27668 -
|
||||
unix 3 [ ] STREAM CONNECTED 29166 -
|
||||
unix 3 [ ] STREAM CONNECTED 207714 -
|
||||
unix 3 [ ] STREAM CONNECTED 29086 -
|
||||
unix 3 [ ] STREAM CONNECTED 26000 -
|
||||
unix 3 [ ] DGRAM 25276 -
|
||||
unix 3 [ ] DGRAM 33763 1723/systemd
|
||||
unix 3 [ ] DGRAM 33764 1723/systemd
|
||||
unix 3 [ ] STREAM CONNECTED 29558 - /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 76786 -
|
||||
unix 3 [ ] STREAM CONNECTED 28613 -
|
||||
unix 3 [ ] STREAM CONNECTED 21583 - /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 33650 1723/systemd
|
||||
unix 2 [ ] DGRAM 25533 -
|
||||
unix 3 [ ] STREAM CONNECTED 30152 -
|
||||
unix 3 [ ] STREAM CONNECTED 26728 - /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 33638 -
|
||||
unix 2 [ ] DGRAM 28224 -
|
||||
unix 3 [ ] DGRAM 26772 -
|
||||
unix 3 [ ] STREAM CONNECTED 27981 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] DGRAM 21598 -
|
||||
unix 3 [ ] DGRAM 26773 -
|
||||
unix 2 [ ] DGRAM 21588 -
|
||||
unix 3 [ ] STREAM CONNECTED 30153 - /run/systemd/journal/stdout
|
||||
unix 3 [ ] DGRAM 20654 -
|
||||
unix 3 [ ] DGRAM 20653 -
|
||||
unix 3 [ ] DGRAM 26770 -
|
||||
unix 2 [ ] DGRAM 25426 -
|
||||
unix 3 [ ] DGRAM 26771 -
|
||||
unix 3 [ ] DGRAM 21599 -
|
||||
unix 3 [ ] STREAM CONNECTED 21498 -
|
||||
unix 3 [ ] STREAM CONNECTED 26727 -
|
||||
unix 2 [ ] DGRAM 26760 -
|
32
tests/fixtures/ubuntu-18.04/netstat-sudo-lnp.out
vendored
Normal file
32
tests/fixtures/ubuntu-18.04/netstat-sudo-lnp.out
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
Active Internet connections (only servers)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
||||
tcp 0 0 127.0.0.1:42351 0.0.0.0:* LISTEN 1112/containerd
|
||||
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 885/systemd-resolve
|
||||
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1127/sshd
|
||||
tcp6 0 0 :::22 :::* LISTEN 1127/sshd
|
||||
udp 0 0 127.0.0.53:53 0.0.0.0:* 885/systemd-resolve
|
||||
udp 0 0 192.168.71.131:68 0.0.0.0:* 867/systemd-network
|
||||
raw6 0 0 :::58 :::* 7 867/systemd-network
|
||||
Active UNIX domain sockets (only servers)
|
||||
Proto RefCnt Flags Type State I-Node PID/Program name Path
|
||||
unix 2 [ ACC ] SEQPACKET LISTENING 20812 1/init /run/udev/control
|
||||
unix 2 [ ACC ] STREAM LISTENING 33765 1723/systemd /run/user/1000/systemd/private
|
||||
unix 2 [ ACC ] STREAM LISTENING 33808 1723/systemd /run/user/1000/gnupg/S.gpg-agent.ssh
|
||||
unix 2 [ ACC ] STREAM LISTENING 33809 1723/systemd /run/user/1000/gnupg/S.dirmngr
|
||||
unix 2 [ ACC ] STREAM LISTENING 33810 1723/systemd /run/user/1000/gnupg/S.gpg-agent.browser
|
||||
unix 2 [ ACC ] STREAM LISTENING 33811 1723/systemd /run/user/1000/gnupg/S.gpg-agent
|
||||
unix 2 [ ACC ] STREAM LISTENING 33812 1723/systemd /run/user/1000/gnupg/S.gpg-agent.extra
|
||||
unix 2 [ ACC ] STREAM LISTENING 20655 1/init /run/systemd/private
|
||||
unix 2 [ ACC ] STREAM LISTENING 20662 1/init /run/lvm/lvmetad.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 20664 1/init /run/systemd/journal/stdout
|
||||
unix 2 [ ACC ] STREAM LISTENING 20891 1/init /run/lvm/lvmpolld.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27473 1/init /run/acpid.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27443 1/init /run/snapd.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27445 1/init /run/snapd-snap.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27475 1/init /run/uuidd/request
|
||||
unix 2 [ ACC ] STREAM LISTENING 27481 1/init /var/run/docker.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 27489 1/init /var/run/dbus/system_bus_socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 27468 1/init /var/lib/lxd/unix.socket
|
||||
unix 2 [ ACC ] STREAM LISTENING 30726 1112/containerd /run/containerd/containerd.sock
|
||||
unix 2 [ ACC ] STREAM LISTENING 27436 1/init @ISCSIADM_ABSTRACT_NAMESPACE
|
||||
unix 2 [ ACC ] STREAM LISTENING 25548 607/VGAuthService /var/run/vmware/guestServicePipe
|
97
tests/fixtures/ubuntu-18.04/netstat.out
vendored
Normal file
97
tests/fixtures/ubuntu-18.04/netstat.out
vendored
Normal file
@ -0,0 +1,97 @@
|
||||
Active Internet connections (w/o servers)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State
|
||||
tcp 0 0 kbrazil-ubuntu:ssh 192.168.71.1:65159 ESTABLISHED
|
||||
tcp 0 0 kbrazil-ubuntu:55656 lb-192-30-253-113:https ESTABLISHED
|
||||
Active UNIX domain sockets (w/o servers)
|
||||
Proto RefCnt Flags Type State I-Node Path
|
||||
unix 2 [ ] DGRAM 33762 /run/user/1000/systemd/notify
|
||||
unix 3 [ ] DGRAM 20652 /run/systemd/notify
|
||||
unix 2 [ ] DGRAM 20660 /run/systemd/journal/syslog
|
||||
unix 9 [ ] DGRAM 20666 /run/systemd/journal/socket
|
||||
unix 7 [ ] DGRAM 21016 /run/systemd/journal/dev-log
|
||||
unix 3 [ ] STREAM CONNECTED 30460 /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 207713
|
||||
unix 3 [ ] STREAM CONNECTED 29199
|
||||
unix 3 [ ] STREAM CONNECTED 33603 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 28133 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 27669 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 30629
|
||||
unix 3 [ ] STREAM CONNECTED 29376
|
||||
unix 3 [ ] STREAM CONNECTED 33601
|
||||
unix 3 [ ] STREAM CONNECTED 30459
|
||||
unix 2 [ ] DGRAM 29208
|
||||
unix 3 [ ] STREAM CONNECTED 21388
|
||||
unix 3 [ ] STREAM CONNECTED 30630 /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 26063 /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 29374
|
||||
unix 3 [ ] STREAM CONNECTED 29380 /var/run/dbus/system_bus_socket
|
||||
unix 2 [ ] DGRAM 207447
|
||||
unix 3 [ ] DGRAM 25431
|
||||
unix 3 [ ] STREAM CONNECTED 27493
|
||||
unix 3 [ ] STREAM CONNECTED 28694
|
||||
unix 3 [ ] STREAM CONNECTED 30670
|
||||
unix 3 [ ] STREAM CONNECTED 29165
|
||||
unix 3 [ ] STREAM CONNECTED 29381 /var/run/dbus/system_bus_socket
|
||||
unix 2 [ ] DGRAM 33487
|
||||
unix 3 [ ] STREAM CONNECTED 30671 /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 28695 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 25414
|
||||
unix 3 [ ] DGRAM 25277
|
||||
unix 3 [ ] STREAM CONNECTED 29375
|
||||
unix 3 [ ] STREAM CONNECTED 25401
|
||||
unix 3 [ ] STREAM CONNECTED 29685 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29377 /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 29230
|
||||
unix 3 [ ] STREAM CONNECTED 27494
|
||||
unix 3 [ ] STREAM CONNECTED 27978
|
||||
unix 3 [ ] DGRAM 25430
|
||||
unix 3 [ ] STREAM CONNECTED 29168 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 26944 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29378 /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 25402 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29474
|
||||
unix 3 [ ] STREAM CONNECTED 21581 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29169 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 29382 /var/run/dbus/system_bus_socket
|
||||
unix 3 [ ] STREAM CONNECTED 28058
|
||||
unix 3 [ ] STREAM CONNECTED 26941
|
||||
unix 2 [ ] DGRAM 21261
|
||||
unix 3 [ ] STREAM CONNECTED 29684
|
||||
unix 3 [ ] DGRAM 25432
|
||||
unix 3 [ ] STREAM CONNECTED 25415 /run/systemd/journal/stdout
|
||||
unix 3 [ ] STREAM CONNECTED 28696 /run/systemd/journal/stdout
|
||||
unix 3 [ ] DGRAM 25429
|
||||
unix 2 [ ] DGRAM 26986
|
||||
unix 3 [ ] STREAM CONNECTED 27668
|
||||
unix 3 [ ] STREAM CONNECTED 29166
|
||||
unix 3 [ ] STREAM CONNECTED 207714
|
||||
unix 3 [ ] STREAM CONNECTED 29086
|
||||
unix 3 [ ] STREAM CONNECTED 26000
|
||||
unix 3 [ ] DGRAM 25276
|
||||
unix 3 [ ] DGRAM 33763
|
||||
unix 3 [ ] DGRAM 33764
|
||||
unix 3 [ ] STREAM CONNECTED 29558 /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 76786
|
||||
unix 3 [ ] STREAM CONNECTED 28613
|
||||
unix 3 [ ] STREAM CONNECTED 21583 /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 33650
|
||||
unix 2 [ ] DGRAM 25533
|
||||
unix 3 [ ] STREAM CONNECTED 30152
|
||||
unix 3 [ ] STREAM CONNECTED 26728 /run/systemd/journal/stdout
|
||||
unix 2 [ ] DGRAM 33638
|
||||
unix 2 [ ] DGRAM 28224
|
||||
unix 3 [ ] DGRAM 26772
|
||||
unix 3 [ ] STREAM CONNECTED 27981 /run/systemd/journal/stdout
|
||||
unix 3 [ ] DGRAM 21598
|
||||
unix 3 [ ] DGRAM 26773
|
||||
unix 2 [ ] DGRAM 21588
|
||||
unix 3 [ ] STREAM CONNECTED 30153 /run/systemd/journal/stdout
|
||||
unix 3 [ ] DGRAM 20654
|
||||
unix 3 [ ] DGRAM 20653
|
||||
unix 3 [ ] DGRAM 26770
|
||||
unix 2 [ ] DGRAM 25426
|
||||
unix 3 [ ] DGRAM 26771
|
||||
unix 3 [ ] DGRAM 21599
|
||||
unix 3 [ ] STREAM CONNECTED 21498
|
||||
unix 3 [ ] STREAM CONNECTED 26727
|
||||
unix 2 [ ] DGRAM 26760
|
173
tests/fixtures/ubuntu-18.04/ps-axu.out
vendored
Normal file
173
tests/fixtures/ubuntu-18.04/ps-axu.out
vendored
Normal file
@ -0,0 +1,173 @@
|
||||
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
|
||||
root 1 0.0 0.4 78148 9236 ? Ss Oct26 0:10 /sbin/init auto automatic-ubiquity noprompt
|
||||
root 2 0.0 0.0 0 0 ? S Oct26 0:00 [kthreadd]
|
||||
root 4 0.0 0.0 0 0 ? I< Oct26 0:00 [kworker/0:0H]
|
||||
root 6 0.0 0.0 0 0 ? I< Oct26 0:00 [mm_percpu_wq]
|
||||
root 7 0.0 0.0 0 0 ? S Oct26 0:04 [ksoftirqd/0]
|
||||
root 8 0.0 0.0 0 0 ? I Oct26 0:38 [rcu_sched]
|
||||
root 9 0.0 0.0 0 0 ? I Oct26 0:00 [rcu_bh]
|
||||
root 10 0.0 0.0 0 0 ? S Oct26 0:00 [migration/0]
|
||||
root 11 0.0 0.0 0 0 ? S Oct26 0:00 [watchdog/0]
|
||||
root 12 0.0 0.0 0 0 ? S Oct26 0:00 [cpuhp/0]
|
||||
root 13 0.0 0.0 0 0 ? S Oct26 0:00 [kdevtmpfs]
|
||||
root 14 0.0 0.0 0 0 ? I< Oct26 0:00 [netns]
|
||||
root 15 0.0 0.0 0 0 ? S Oct26 0:00 [rcu_tasks_kthre]
|
||||
root 16 0.0 0.0 0 0 ? S Oct26 0:00 [kauditd]
|
||||
root 17 0.0 0.0 0 0 ? S Oct26 0:00 [khungtaskd]
|
||||
root 18 0.0 0.0 0 0 ? S Oct26 0:00 [oom_reaper]
|
||||
root 19 0.0 0.0 0 0 ? I< Oct26 0:00 [writeback]
|
||||
root 20 0.0 0.0 0 0 ? S Oct26 0:00 [kcompactd0]
|
||||
root 21 0.0 0.0 0 0 ? SN Oct26 0:00 [ksmd]
|
||||
root 22 0.0 0.0 0 0 ? SN Oct26 0:00 [khugepaged]
|
||||
root 23 0.0 0.0 0 0 ? I< Oct26 0:00 [crypto]
|
||||
root 24 0.0 0.0 0 0 ? I< Oct26 0:00 [kintegrityd]
|
||||
root 25 0.0 0.0 0 0 ? I< Oct26 0:00 [kblockd]
|
||||
root 26 0.0 0.0 0 0 ? I< Oct26 0:00 [ata_sff]
|
||||
root 27 0.0 0.0 0 0 ? I< Oct26 0:00 [md]
|
||||
root 28 0.0 0.0 0 0 ? I< Oct26 0:00 [edac-poller]
|
||||
root 29 0.0 0.0 0 0 ? I< Oct26 0:00 [devfreq_wq]
|
||||
root 30 0.0 0.0 0 0 ? I< Oct26 0:00 [watchdogd]
|
||||
root 34 0.0 0.0 0 0 ? S Oct26 0:00 [kswapd0]
|
||||
root 35 0.0 0.0 0 0 ? I< Oct26 0:00 [kworker/u257:0]
|
||||
root 36 0.0 0.0 0 0 ? S Oct26 0:00 [ecryptfs-kthrea]
|
||||
root 78 0.0 0.0 0 0 ? I< Oct26 0:00 [kthrotld]
|
||||
root 79 0.0 0.0 0 0 ? I< Oct26 0:00 [acpi_thermal_pm]
|
||||
root 80 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_0]
|
||||
root 81 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_0]
|
||||
root 82 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_1]
|
||||
root 83 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_1]
|
||||
root 89 0.0 0.0 0 0 ? I< Oct26 0:00 [ipv6_addrconf]
|
||||
root 99 0.0 0.0 0 0 ? I< Oct26 0:00 [kstrp]
|
||||
root 116 0.0 0.0 0 0 ? I< Oct26 0:00 [charger_manager]
|
||||
root 170 0.0 0.0 0 0 ? I< Oct26 0:00 [mpt_poll_0]
|
||||
root 171 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_2]
|
||||
root 172 0.0 0.0 0 0 ? I< Oct26 0:00 [mpt/0]
|
||||
root 173 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_2]
|
||||
root 174 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_3]
|
||||
root 175 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_3]
|
||||
root 176 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_4]
|
||||
root 177 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_4]
|
||||
root 178 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_5]
|
||||
root 179 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_5]
|
||||
root 180 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_6]
|
||||
root 181 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_6]
|
||||
root 182 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_7]
|
||||
root 183 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_7]
|
||||
root 188 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_8]
|
||||
root 189 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_8]
|
||||
root 191 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_9]
|
||||
root 196 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_9]
|
||||
root 198 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_10]
|
||||
root 199 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_10]
|
||||
root 201 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_11]
|
||||
root 203 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_11]
|
||||
root 205 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_12]
|
||||
root 208 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_12]
|
||||
root 209 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_13]
|
||||
root 212 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_13]
|
||||
root 213 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_14]
|
||||
root 216 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_14]
|
||||
root 217 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_15]
|
||||
root 219 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_15]
|
||||
root 221 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_16]
|
||||
root 223 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_16]
|
||||
root 225 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_17]
|
||||
root 227 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_17]
|
||||
root 229 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_18]
|
||||
root 230 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_18]
|
||||
root 232 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_19]
|
||||
root 233 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_19]
|
||||
root 235 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_20]
|
||||
root 237 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_20]
|
||||
root 238 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_21]
|
||||
root 240 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_21]
|
||||
root 241 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_22]
|
||||
root 243 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_22]
|
||||
root 245 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_23]
|
||||
root 246 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_23]
|
||||
root 248 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_24]
|
||||
root 250 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_24]
|
||||
root 252 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_25]
|
||||
root 254 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_25]
|
||||
root 256 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_26]
|
||||
root 258 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_26]
|
||||
root 259 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_27]
|
||||
root 260 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_27]
|
||||
root 261 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_28]
|
||||
root 262 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_28]
|
||||
root 263 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_29]
|
||||
root 264 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_29]
|
||||
root 265 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_30]
|
||||
root 266 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_30]
|
||||
root 267 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_31]
|
||||
root 268 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_31]
|
||||
root 295 0.0 0.0 0 0 ? S Oct26 0:00 [scsi_eh_32]
|
||||
root 296 0.0 0.0 0 0 ? I< Oct26 0:00 [scsi_tmf_32]
|
||||
root 302 0.0 0.0 0 0 ? I< Oct26 0:00 [ttm_swap]
|
||||
root 303 0.0 0.0 0 0 ? S Oct26 0:00 [irq/16-vmwgfx]
|
||||
root 305 0.0 0.0 0 0 ? I< Oct26 0:02 [kworker/0:1H]
|
||||
root 369 0.0 0.0 0 0 ? I< Oct26 0:00 [raid5wq]
|
||||
root 422 0.0 0.0 0 0 ? S Oct26 0:03 [jbd2/sda2-8]
|
||||
root 423 0.0 0.0 0 0 ? I< Oct26 0:00 [ext4-rsv-conver]
|
||||
root 495 0.0 0.7 95100 15672 ? S<s Oct26 0:04 /lib/systemd/systemd-journald
|
||||
root 498 0.0 0.0 0 0 ? I< Oct26 0:00 [iscsi_eh]
|
||||
root 509 0.0 0.3 48180 6988 ? Ss Oct26 0:03 /lib/systemd/systemd-udevd
|
||||
root 511 0.0 0.0 105904 1872 ? Ss Oct26 0:00 /sbin/lvmetad -f
|
||||
root 512 0.0 0.0 0 0 ? I< Oct26 0:00 [ib-comp-wq]
|
||||
root 513 0.0 0.0 0 0 ? I< Oct26 0:00 [ib_mcast]
|
||||
root 514 0.0 0.0 0 0 ? I< Oct26 0:00 [ib_nl_sa_wq]
|
||||
root 523 0.0 0.0 0 0 ? I< Oct26 0:00 [rdma_cm]
|
||||
root 541 0.0 0.0 0 0 ? S< Oct26 0:00 [loop0]
|
||||
root 545 0.0 0.0 0 0 ? S< Oct26 0:00 [loop1]
|
||||
root 548 0.0 0.0 0 0 ? S< Oct26 0:00 [loop2]
|
||||
root 552 0.0 0.0 0 0 ? S< Oct26 0:00 [loop3]
|
||||
root 554 0.0 0.0 0 0 ? S< Oct26 0:00 [loop5]
|
||||
root 556 0.0 0.0 0 0 ? S< Oct26 0:00 [loop7]
|
||||
root 557 0.0 0.0 0 0 ? S< Oct26 0:00 [loop8]
|
||||
root 559 0.0 0.0 0 0 ? S< Oct26 0:00 [loop10]
|
||||
systemd+ 606 0.0 0.1 141928 3152 ? Ssl Oct26 0:01 /lib/systemd/systemd-timesyncd
|
||||
root 607 0.0 0.4 88224 9516 ? Ss Oct26 0:00 /usr/bin/VGAuthService
|
||||
root 671 0.0 0.0 0 0 ? I< Oct26 0:00 [kworker/u257:2]
|
||||
root 680 0.1 0.5 191836 11604 ? Ssl Oct26 5:44 /usr/bin/vmtoolsd
|
||||
systemd+ 867 0.0 0.2 80044 5088 ? Ss Oct26 0:01 /lib/systemd/systemd-networkd
|
||||
systemd+ 885 0.0 0.3 70732 6204 ? Ss Oct26 0:01 /lib/systemd/systemd-resolved
|
||||
syslog 955 0.0 0.2 263036 4928 ? Ssl Oct26 0:00 /usr/sbin/rsyslogd -n
|
||||
root 956 0.0 0.8 169096 17144 ? Ssl Oct26 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
|
||||
root 960 0.0 0.1 653860 3744 ? Ssl Oct26 0:13 /usr/bin/lxcfs /var/lib/lxcfs/
|
||||
root 961 0.0 0.3 286252 6784 ? Ssl Oct26 0:05 /usr/lib/accountsservice/accounts-daemon
|
||||
root 1017 0.0 1.3 650364 26796 ? Ssl Oct26 0:23 /usr/lib/snapd/snapd
|
||||
root 1018 0.0 0.2 70584 5976 ? Ss Oct26 0:00 /lib/systemd/systemd-logind
|
||||
root 1038 0.0 0.1 30028 3184 ? Ss Oct26 0:00 /usr/sbin/cron -f
|
||||
root 1043 0.0 0.2 80452 4164 ttyS0 Ss Oct26 0:00 /bin/login --
|
||||
message+ 1048 0.0 0.2 50168 4736 ? Ss Oct26 0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
|
||||
root 1099 0.0 0.9 185944 20036 ? Ssl Oct26 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
|
||||
daemon 1100 0.0 0.1 28332 2348 ? Ss Oct26 0:00 /usr/sbin/atd -f
|
||||
root 1112 0.0 1.8 657936 37968 ? Ssl Oct26 2:53 /usr/bin/containerd
|
||||
root 1127 0.0 0.2 72296 5752 ? Ss Oct26 0:00 /usr/sbin/sshd -D
|
||||
root 1153 0.0 0.0 14888 1908 tty1 Ss+ Oct26 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
|
||||
root 1154 0.0 0.3 288880 6404 ? Ssl Oct26 0:00 /usr/lib/policykit-1/polkitd --no-debug
|
||||
root 1532 0.0 0.0 0 0 ? S< Oct26 0:00 [loop11]
|
||||
kbrazil 1723 0.0 0.3 76776 7760 ? Ss Oct26 0:00 /lib/systemd/systemd --user
|
||||
kbrazil 1734 0.0 0.1 112048 2708 ? S Oct26 0:00 (sd-pam)
|
||||
kbrazil 1749 0.0 0.2 21832 5796 ttyS0 S+ Oct26 0:18 -bash
|
||||
root 3451 0.0 0.0 0 0 ? S< Oct26 0:00 [loop9]
|
||||
root 3657 0.0 0.0 0 0 ? S< Oct26 0:00 [loop4]
|
||||
root 15892 0.0 0.0 0 0 ? I< Oct27 0:00 [xfsalloc]
|
||||
root 15896 0.0 0.0 0 0 ? I< Oct27 0:00 [xfs_mru_cache]
|
||||
root 15900 0.0 0.0 0 0 ? S Oct27 0:00 [jfsIO]
|
||||
root 15901 0.0 0.0 0 0 ? S Oct27 0:00 [jfsCommit]
|
||||
root 15902 0.0 0.0 0 0 ? S Oct27 0:00 [jfsSync]
|
||||
root 16944 0.0 0.3 107984 7252 ? Ss Oct27 0:00 sshd: kbrazil [priv]
|
||||
kbrazil 17058 0.0 0.1 107984 3452 ? S Oct27 0:00 sshd: kbrazil@pts/0
|
||||
kbrazil 17059 0.0 0.2 21492 5392 pts/0 Ss Oct27 0:00 -bash
|
||||
root 19890 0.2 0.0 0 0 ? I Oct27 3:11 [kworker/0:2]
|
||||
root 23282 0.0 0.0 0 0 ? I 18:39 0:00 [kworker/0:1]
|
||||
root 23289 0.0 0.0 0 0 ? I 18:52 0:00 [kworker/u256:0]
|
||||
root 23310 0.0 0.0 0 0 ? I 19:02 0:00 [kworker/u256:1]
|
||||
root 23851 0.0 0.0 0 0 ? I 19:38 0:00 [kworker/u256:2]
|
||||
kbrazil 23870 0.0 0.1 11592 3340 pts/0 S+ 19:43 0:00 /bin/bash ./tests.sh
|
||||
kbrazil 23903 0.0 0.0 6176 772 pts/0 S+ 19:43 0:00 sleep 11
|
||||
kbrazil 23904 0.0 0.0 6176 796 pts/0 S+ 19:43 0:00 sleep 12
|
||||
kbrazil 23905 0.0 0.0 6176 884 pts/0 S+ 19:43 0:00 sleep 13
|
||||
kbrazil 23906 0.0 0.0 6176 844 pts/0 S+ 19:43 0:00 sleep 14
|
||||
kbrazil 23933 0.0 0.1 38372 3732 pts/0 R+ 19:43 0:00 ps axu
|
173
tests/fixtures/ubuntu-18.04/ps-ef.out
vendored
Normal file
173
tests/fixtures/ubuntu-18.04/ps-ef.out
vendored
Normal file
@ -0,0 +1,173 @@
|
||||
UID PID PPID C STIME TTY TIME CMD
|
||||
root 1 0 0 Oct26 ? 00:00:10 /sbin/init auto automatic-ubiquity noprompt
|
||||
root 2 0 0 Oct26 ? 00:00:00 [kthreadd]
|
||||
root 4 2 0 Oct26 ? 00:00:00 [kworker/0:0H]
|
||||
root 6 2 0 Oct26 ? 00:00:00 [mm_percpu_wq]
|
||||
root 7 2 0 Oct26 ? 00:00:04 [ksoftirqd/0]
|
||||
root 8 2 0 Oct26 ? 00:00:38 [rcu_sched]
|
||||
root 9 2 0 Oct26 ? 00:00:00 [rcu_bh]
|
||||
root 10 2 0 Oct26 ? 00:00:00 [migration/0]
|
||||
root 11 2 0 Oct26 ? 00:00:00 [watchdog/0]
|
||||
root 12 2 0 Oct26 ? 00:00:00 [cpuhp/0]
|
||||
root 13 2 0 Oct26 ? 00:00:00 [kdevtmpfs]
|
||||
root 14 2 0 Oct26 ? 00:00:00 [netns]
|
||||
root 15 2 0 Oct26 ? 00:00:00 [rcu_tasks_kthre]
|
||||
root 16 2 0 Oct26 ? 00:00:00 [kauditd]
|
||||
root 17 2 0 Oct26 ? 00:00:00 [khungtaskd]
|
||||
root 18 2 0 Oct26 ? 00:00:00 [oom_reaper]
|
||||
root 19 2 0 Oct26 ? 00:00:00 [writeback]
|
||||
root 20 2 0 Oct26 ? 00:00:00 [kcompactd0]
|
||||
root 21 2 0 Oct26 ? 00:00:00 [ksmd]
|
||||
root 22 2 0 Oct26 ? 00:00:00 [khugepaged]
|
||||
root 23 2 0 Oct26 ? 00:00:00 [crypto]
|
||||
root 24 2 0 Oct26 ? 00:00:00 [kintegrityd]
|
||||
root 25 2 0 Oct26 ? 00:00:00 [kblockd]
|
||||
root 26 2 0 Oct26 ? 00:00:00 [ata_sff]
|
||||
root 27 2 0 Oct26 ? 00:00:00 [md]
|
||||
root 28 2 0 Oct26 ? 00:00:00 [edac-poller]
|
||||
root 29 2 0 Oct26 ? 00:00:00 [devfreq_wq]
|
||||
root 30 2 0 Oct26 ? 00:00:00 [watchdogd]
|
||||
root 34 2 0 Oct26 ? 00:00:00 [kswapd0]
|
||||
root 35 2 0 Oct26 ? 00:00:00 [kworker/u257:0]
|
||||
root 36 2 0 Oct26 ? 00:00:00 [ecryptfs-kthrea]
|
||||
root 78 2 0 Oct26 ? 00:00:00 [kthrotld]
|
||||
root 79 2 0 Oct26 ? 00:00:00 [acpi_thermal_pm]
|
||||
root 80 2 0 Oct26 ? 00:00:00 [scsi_eh_0]
|
||||
root 81 2 0 Oct26 ? 00:00:00 [scsi_tmf_0]
|
||||
root 82 2 0 Oct26 ? 00:00:00 [scsi_eh_1]
|
||||
root 83 2 0 Oct26 ? 00:00:00 [scsi_tmf_1]
|
||||
root 89 2 0 Oct26 ? 00:00:00 [ipv6_addrconf]
|
||||
root 99 2 0 Oct26 ? 00:00:00 [kstrp]
|
||||
root 116 2 0 Oct26 ? 00:00:00 [charger_manager]
|
||||
root 170 2 0 Oct26 ? 00:00:00 [mpt_poll_0]
|
||||
root 171 2 0 Oct26 ? 00:00:00 [scsi_eh_2]
|
||||
root 172 2 0 Oct26 ? 00:00:00 [mpt/0]
|
||||
root 173 2 0 Oct26 ? 00:00:00 [scsi_tmf_2]
|
||||
root 174 2 0 Oct26 ? 00:00:00 [scsi_eh_3]
|
||||
root 175 2 0 Oct26 ? 00:00:00 [scsi_tmf_3]
|
||||
root 176 2 0 Oct26 ? 00:00:00 [scsi_eh_4]
|
||||
root 177 2 0 Oct26 ? 00:00:00 [scsi_tmf_4]
|
||||
root 178 2 0 Oct26 ? 00:00:00 [scsi_eh_5]
|
||||
root 179 2 0 Oct26 ? 00:00:00 [scsi_tmf_5]
|
||||
root 180 2 0 Oct26 ? 00:00:00 [scsi_eh_6]
|
||||
root 181 2 0 Oct26 ? 00:00:00 [scsi_tmf_6]
|
||||
root 182 2 0 Oct26 ? 00:00:00 [scsi_eh_7]
|
||||
root 183 2 0 Oct26 ? 00:00:00 [scsi_tmf_7]
|
||||
root 188 2 0 Oct26 ? 00:00:00 [scsi_eh_8]
|
||||
root 189 2 0 Oct26 ? 00:00:00 [scsi_tmf_8]
|
||||
root 191 2 0 Oct26 ? 00:00:00 [scsi_eh_9]
|
||||
root 196 2 0 Oct26 ? 00:00:00 [scsi_tmf_9]
|
||||
root 198 2 0 Oct26 ? 00:00:00 [scsi_eh_10]
|
||||
root 199 2 0 Oct26 ? 00:00:00 [scsi_tmf_10]
|
||||
root 201 2 0 Oct26 ? 00:00:00 [scsi_eh_11]
|
||||
root 203 2 0 Oct26 ? 00:00:00 [scsi_tmf_11]
|
||||
root 205 2 0 Oct26 ? 00:00:00 [scsi_eh_12]
|
||||
root 208 2 0 Oct26 ? 00:00:00 [scsi_tmf_12]
|
||||
root 209 2 0 Oct26 ? 00:00:00 [scsi_eh_13]
|
||||
root 212 2 0 Oct26 ? 00:00:00 [scsi_tmf_13]
|
||||
root 213 2 0 Oct26 ? 00:00:00 [scsi_eh_14]
|
||||
root 216 2 0 Oct26 ? 00:00:00 [scsi_tmf_14]
|
||||
root 217 2 0 Oct26 ? 00:00:00 [scsi_eh_15]
|
||||
root 219 2 0 Oct26 ? 00:00:00 [scsi_tmf_15]
|
||||
root 221 2 0 Oct26 ? 00:00:00 [scsi_eh_16]
|
||||
root 223 2 0 Oct26 ? 00:00:00 [scsi_tmf_16]
|
||||
root 225 2 0 Oct26 ? 00:00:00 [scsi_eh_17]
|
||||
root 227 2 0 Oct26 ? 00:00:00 [scsi_tmf_17]
|
||||
root 229 2 0 Oct26 ? 00:00:00 [scsi_eh_18]
|
||||
root 230 2 0 Oct26 ? 00:00:00 [scsi_tmf_18]
|
||||
root 232 2 0 Oct26 ? 00:00:00 [scsi_eh_19]
|
||||
root 233 2 0 Oct26 ? 00:00:00 [scsi_tmf_19]
|
||||
root 235 2 0 Oct26 ? 00:00:00 [scsi_eh_20]
|
||||
root 237 2 0 Oct26 ? 00:00:00 [scsi_tmf_20]
|
||||
root 238 2 0 Oct26 ? 00:00:00 [scsi_eh_21]
|
||||
root 240 2 0 Oct26 ? 00:00:00 [scsi_tmf_21]
|
||||
root 241 2 0 Oct26 ? 00:00:00 [scsi_eh_22]
|
||||
root 243 2 0 Oct26 ? 00:00:00 [scsi_tmf_22]
|
||||
root 245 2 0 Oct26 ? 00:00:00 [scsi_eh_23]
|
||||
root 246 2 0 Oct26 ? 00:00:00 [scsi_tmf_23]
|
||||
root 248 2 0 Oct26 ? 00:00:00 [scsi_eh_24]
|
||||
root 250 2 0 Oct26 ? 00:00:00 [scsi_tmf_24]
|
||||
root 252 2 0 Oct26 ? 00:00:00 [scsi_eh_25]
|
||||
root 254 2 0 Oct26 ? 00:00:00 [scsi_tmf_25]
|
||||
root 256 2 0 Oct26 ? 00:00:00 [scsi_eh_26]
|
||||
root 258 2 0 Oct26 ? 00:00:00 [scsi_tmf_26]
|
||||
root 259 2 0 Oct26 ? 00:00:00 [scsi_eh_27]
|
||||
root 260 2 0 Oct26 ? 00:00:00 [scsi_tmf_27]
|
||||
root 261 2 0 Oct26 ? 00:00:00 [scsi_eh_28]
|
||||
root 262 2 0 Oct26 ? 00:00:00 [scsi_tmf_28]
|
||||
root 263 2 0 Oct26 ? 00:00:00 [scsi_eh_29]
|
||||
root 264 2 0 Oct26 ? 00:00:00 [scsi_tmf_29]
|
||||
root 265 2 0 Oct26 ? 00:00:00 [scsi_eh_30]
|
||||
root 266 2 0 Oct26 ? 00:00:00 [scsi_tmf_30]
|
||||
root 267 2 0 Oct26 ? 00:00:00 [scsi_eh_31]
|
||||
root 268 2 0 Oct26 ? 00:00:00 [scsi_tmf_31]
|
||||
root 295 2 0 Oct26 ? 00:00:00 [scsi_eh_32]
|
||||
root 296 2 0 Oct26 ? 00:00:00 [scsi_tmf_32]
|
||||
root 302 2 0 Oct26 ? 00:00:00 [ttm_swap]
|
||||
root 303 2 0 Oct26 ? 00:00:00 [irq/16-vmwgfx]
|
||||
root 305 2 0 Oct26 ? 00:00:02 [kworker/0:1H]
|
||||
root 369 2 0 Oct26 ? 00:00:00 [raid5wq]
|
||||
root 422 2 0 Oct26 ? 00:00:03 [jbd2/sda2-8]
|
||||
root 423 2 0 Oct26 ? 00:00:00 [ext4-rsv-conver]
|
||||
root 495 1 0 Oct26 ? 00:00:04 /lib/systemd/systemd-journald
|
||||
root 498 2 0 Oct26 ? 00:00:00 [iscsi_eh]
|
||||
root 509 1 0 Oct26 ? 00:00:03 /lib/systemd/systemd-udevd
|
||||
root 511 1 0 Oct26 ? 00:00:00 /sbin/lvmetad -f
|
||||
root 512 2 0 Oct26 ? 00:00:00 [ib-comp-wq]
|
||||
root 513 2 0 Oct26 ? 00:00:00 [ib_mcast]
|
||||
root 514 2 0 Oct26 ? 00:00:00 [ib_nl_sa_wq]
|
||||
root 523 2 0 Oct26 ? 00:00:00 [rdma_cm]
|
||||
root 541 2 0 Oct26 ? 00:00:00 [loop0]
|
||||
root 545 2 0 Oct26 ? 00:00:00 [loop1]
|
||||
root 548 2 0 Oct26 ? 00:00:00 [loop2]
|
||||
root 552 2 0 Oct26 ? 00:00:00 [loop3]
|
||||
root 554 2 0 Oct26 ? 00:00:00 [loop5]
|
||||
root 556 2 0 Oct26 ? 00:00:00 [loop7]
|
||||
root 557 2 0 Oct26 ? 00:00:00 [loop8]
|
||||
root 559 2 0 Oct26 ? 00:00:00 [loop10]
|
||||
systemd+ 606 1 0 Oct26 ? 00:00:01 /lib/systemd/systemd-timesyncd
|
||||
root 607 1 0 Oct26 ? 00:00:00 /usr/bin/VGAuthService
|
||||
root 671 2 0 Oct26 ? 00:00:00 [kworker/u257:2]
|
||||
root 680 1 0 Oct26 ? 00:05:44 /usr/bin/vmtoolsd
|
||||
systemd+ 867 1 0 Oct26 ? 00:00:01 /lib/systemd/systemd-networkd
|
||||
systemd+ 885 1 0 Oct26 ? 00:00:01 /lib/systemd/systemd-resolved
|
||||
syslog 955 1 0 Oct26 ? 00:00:00 /usr/sbin/rsyslogd -n
|
||||
root 956 1 0 Oct26 ? 00:00:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
|
||||
root 960 1 0 Oct26 ? 00:00:13 /usr/bin/lxcfs /var/lib/lxcfs/
|
||||
root 961 1 0 Oct26 ? 00:00:05 /usr/lib/accountsservice/accounts-daemon
|
||||
root 1017 1 0 Oct26 ? 00:00:23 /usr/lib/snapd/snapd
|
||||
root 1018 1 0 Oct26 ? 00:00:00 /lib/systemd/systemd-logind
|
||||
root 1038 1 0 Oct26 ? 00:00:00 /usr/sbin/cron -f
|
||||
root 1043 1 0 Oct26 ttyS0 00:00:00 /bin/login --
|
||||
message+ 1048 1 0 Oct26 ? 00:00:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
|
||||
root 1099 1 0 Oct26 ? 00:00:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
|
||||
daemon 1100 1 0 Oct26 ? 00:00:00 /usr/sbin/atd -f
|
||||
root 1112 1 0 Oct26 ? 00:02:53 /usr/bin/containerd
|
||||
root 1127 1 0 Oct26 ? 00:00:00 /usr/sbin/sshd -D
|
||||
root 1153 1 0 Oct26 tty1 00:00:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
|
||||
root 1154 1 0 Oct26 ? 00:00:00 /usr/lib/policykit-1/polkitd --no-debug
|
||||
root 1532 2 0 Oct26 ? 00:00:00 [loop11]
|
||||
kbrazil 1723 1 0 Oct26 ? 00:00:00 /lib/systemd/systemd --user
|
||||
kbrazil 1734 1723 0 Oct26 ? 00:00:00 (sd-pam)
|
||||
kbrazil 1749 1043 0 Oct26 ttyS0 00:00:18 -bash
|
||||
root 3451 2 0 Oct26 ? 00:00:00 [loop9]
|
||||
root 3657 2 0 Oct26 ? 00:00:00 [loop4]
|
||||
root 15892 2 0 Oct27 ? 00:00:00 [xfsalloc]
|
||||
root 15896 2 0 Oct27 ? 00:00:00 [xfs_mru_cache]
|
||||
root 15900 2 0 Oct27 ? 00:00:00 [jfsIO]
|
||||
root 15901 2 0 Oct27 ? 00:00:00 [jfsCommit]
|
||||
root 15902 2 0 Oct27 ? 00:00:00 [jfsSync]
|
||||
root 16944 1127 0 Oct27 ? 00:00:00 sshd: kbrazil [priv]
|
||||
kbrazil 17058 16944 0 Oct27 ? 00:00:00 sshd: kbrazil@pts/0
|
||||
kbrazil 17059 17058 0 Oct27 pts/0 00:00:00 -bash
|
||||
root 19890 2 0 Oct27 ? 00:03:11 [kworker/0:2]
|
||||
root 23282 2 0 18:39 ? 00:00:00 [kworker/0:1]
|
||||
root 23289 2 0 18:52 ? 00:00:00 [kworker/u256:0]
|
||||
root 23310 2 0 19:02 ? 00:00:00 [kworker/u256:1]
|
||||
root 23851 2 0 19:38 ? 00:00:00 [kworker/u256:2]
|
||||
kbrazil 23870 17059 0 19:43 pts/0 00:00:00 /bin/bash ./tests.sh
|
||||
kbrazil 23903 23870 0 19:43 pts/0 00:00:00 sleep 11
|
||||
kbrazil 23904 23870 0 19:43 pts/0 00:00:00 sleep 12
|
||||
kbrazil 23905 23870 0 19:43 pts/0 00:00:00 sleep 13
|
||||
kbrazil 23906 23870 0 19:43 pts/0 00:00:00 sleep 14
|
||||
kbrazil 23932 23870 0 19:43 pts/0 00:00:00 ps -ef
|
5
tests/fixtures/ubuntu-18.04/route-vn.out
vendored
Normal file
5
tests/fixtures/ubuntu-18.04/route-vn.out
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
Kernel IP routing table
|
||||
Destination Gateway Genmask Flags Metric Ref Use Iface
|
||||
0.0.0.0 192.168.71.2 0.0.0.0 UG 100 0 0 ens33
|
||||
192.168.71.0 0.0.0.0 255.255.255.0 U 0 0 0 ens33
|
||||
192.168.71.2 0.0.0.0 255.255.255.255 UH 100 0 0 ens33
|
5
tests/fixtures/ubuntu-18.04/route.out
vendored
Normal file
5
tests/fixtures/ubuntu-18.04/route.out
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
Kernel IP routing table
|
||||
Destination Gateway Genmask Flags Metric Ref Use Iface
|
||||
default _gateway 0.0.0.0 UG 100 0 0 ens33
|
||||
192.168.71.0 0.0.0.0 255.255.255.0 U 0 0 0 ens33
|
||||
_gateway 0.0.0.0 255.255.255.255 UH 100 0 0 ens33
|
1
tests/fixtures/ubuntu-18.04/uname-a.out
vendored
Normal file
1
tests/fixtures/ubuntu-18.04/uname-a.out
vendored
Normal file
@ -0,0 +1 @@
|
||||
Linux kbrazil-ubuntu 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
|
1
tests/fixtures/ubuntu-18.04/uptime.out
vendored
Normal file
1
tests/fixtures/ubuntu-18.04/uptime.out
vendored
Normal file
@ -0,0 +1 @@
|
||||
19:43:06 up 2 days, 19:32, 2 users, load average: 0.00, 0.00, 0.00
|
4
tests/fixtures/ubuntu-18.04/w.out
vendored
Normal file
4
tests/fixtures/ubuntu-18.04/w.out
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
19:43:06 up 2 days, 19:32, 2 users, load average: 0.00, 0.00, 0.00
|
||||
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
|
||||
kbrazil ttyS0 - 21Oct19 14:32 18.09s 18.01s -bash
|
||||
kbrazil pts/0 192.168.71.1 Thu22 10.00s 0.17s 0.00s w
|
131
tests/test_arp.py
Normal file
131
tests/test_arp.py
Normal file
@ -0,0 +1,131 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.arp
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/arp.out'), 'r') as f:
|
||||
self.centos_7_7_arp = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/arp.out'), 'r') as f:
|
||||
self.ubuntu_18_4_arp = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/arp-a.out'), 'r') as f:
|
||||
self.centos_7_7_arp_a = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/arp-a.out'), 'r') as f:
|
||||
self.ubuntu_18_4_arp_a = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/arp-v.out'), 'r') as f:
|
||||
self.centos_7_7_arp_v = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/arp-v.out'), 'r') as f:
|
||||
self.ubuntu_18_4_arp_v = f.read()
|
||||
|
||||
def test_arp_centos_7_7(self):
|
||||
"""
|
||||
Test 'arp' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.arp.parse(self.centos_7_7_arp), [{'address': 'gateway',
|
||||
'flags_mask': 'C',
|
||||
'hwaddress': '00:50:56:f7:4a:fc',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33'},
|
||||
{'address': '192.168.71.254',
|
||||
'flags_mask': 'C',
|
||||
'hwaddress': '00:50:56:fe:7a:b4',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33'}])
|
||||
|
||||
def test_arp_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'arp' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.arp.parse(self.ubuntu_18_4_arp), [{'address': '192.168.71.254',
|
||||
'flags_mask': 'C',
|
||||
'hwaddress': '00:50:56:fe:7a:b4',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33'},
|
||||
{'address': '_gateway',
|
||||
'flags_mask': 'C',
|
||||
'hwaddress': '00:50:56:f7:4a:fc',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33'}])
|
||||
|
||||
def test_arp_a_centos_7_7(self):
|
||||
"""
|
||||
Test 'arp -a' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.arp.parse(self.centos_7_7_arp_a), [{'address': '192.168.71.2',
|
||||
'hwaddress': '00:50:56:f7:4a:fc',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33',
|
||||
'name': 'gateway'},
|
||||
{'address': '192.168.71.1',
|
||||
'hwaddress': '00:50:56:c0:00:08',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33',
|
||||
'name': '?'},
|
||||
{'address': '192.168.71.254',
|
||||
'hwaddress': '00:50:56:fe:7a:b4',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33',
|
||||
'name': '?'}])
|
||||
|
||||
def test_arp_a_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'arp -a' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.arp.parse(self.ubuntu_18_4_arp_a), [{'address': '192.168.71.1',
|
||||
'hwaddress': '00:50:56:c0:00:08',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33',
|
||||
'name': '?'},
|
||||
{'address': '192.168.71.254',
|
||||
'hwaddress': '00:50:56:fe:7a:b4',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33',
|
||||
'name': '?'},
|
||||
{'address': '192.168.71.2',
|
||||
'hwaddress': '00:50:56:f7:4a:fc',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33',
|
||||
'name': '_gateway'}])
|
||||
|
||||
def test_arp_v_centos_7_7(self):
|
||||
"""
|
||||
Test 'arp -v' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.arp.parse(self.centos_7_7_arp_v), [{'address': 'gateway',
|
||||
'flags_mask': 'C',
|
||||
'hwaddress': '00:50:56:f7:4a:fc',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33'},
|
||||
{'address': '192.168.71.254',
|
||||
'flags_mask': 'C',
|
||||
'hwaddress': '00:50:56:fe:7a:b4',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33'}])
|
||||
|
||||
def test_arp_v_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'arp -v' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.arp.parse(self.ubuntu_18_4_arp_v), [{'address': '192.168.71.254',
|
||||
'flags_mask': 'C',
|
||||
'hwaddress': '00:50:56:fe:7a:b4',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33'},
|
||||
{'address': '_gateway',
|
||||
'flags_mask': 'C',
|
||||
'hwaddress': '00:50:56:f7:4a:fc',
|
||||
'hwtype': 'ether',
|
||||
'iface': 'ens33'}])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
69
tests/test_df.py
Normal file
69
tests/test_df.py
Normal file
@ -0,0 +1,69 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.df
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/df.out'), 'r') as f:
|
||||
self.centos_7_7_df = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/df.out'), 'r') as f:
|
||||
self.ubuntu_18_4_df = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/df-h.out'), 'r') as f:
|
||||
self.centos_7_7_df_h = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/df-h.out'), 'r') as f:
|
||||
self.ubuntu_18_4_df_h = f.read()
|
||||
|
||||
def test_df_centos_7_7(self):
|
||||
"""
|
||||
Test plain 'df' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.df.parse(self.centos_7_7_df)[2], {'filesystem': 'tmpfs',
|
||||
'1k-blocks': '1930664',
|
||||
'used': '11832',
|
||||
'available': '1918832',
|
||||
'use_percent': '1%',
|
||||
'mounted': '/run'})
|
||||
|
||||
def test_df_ubuntu_18_4(self):
|
||||
"""
|
||||
Test plain 'df' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.df.parse(self.ubuntu_18_4_df)[6], {'filesystem': '/dev/loop0',
|
||||
'1k-blocks': '55936',
|
||||
'used': '55936',
|
||||
'available': '0',
|
||||
'use_percent': '100%',
|
||||
'mounted': '/snap/core18/1223'})
|
||||
|
||||
def test_df_h_centos_7_7(self):
|
||||
"""
|
||||
Test plain 'df -h' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.df.parse(self.centos_7_7_df_h)[4], {'filesystem': '/dev/mapper/centos-root',
|
||||
'size': '17G',
|
||||
'used': '1.8G',
|
||||
'avail': '16G',
|
||||
'use_percent': '11%',
|
||||
'mounted': '/'})
|
||||
|
||||
def test_df_h_ubuntu_18_4(self):
|
||||
"""
|
||||
Test plain 'df -h' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.df.parse(self.ubuntu_18_4_df_h)[3], {'filesystem': 'tmpfs',
|
||||
'size': '986M',
|
||||
'used': '0',
|
||||
'avail': '986M',
|
||||
'use_percent': '0%',
|
||||
'mounted': '/dev/shm'})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
230
tests/test_dig.py
Normal file
230
tests/test_dig.py
Normal file
@ -0,0 +1,230 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.dig
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/dig.out'), 'r') as f:
|
||||
self.centos_7_7_dig = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/dig.out'), 'r') as f:
|
||||
self.ubuntu_18_4_dig = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/dig-x.out'), 'r') as f:
|
||||
self.centos_7_7_dig_x = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/dig-x.out'), 'r') as f:
|
||||
self.ubuntu_18_4_dig_x = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/dig-aaaa.out'), 'r') as f:
|
||||
self.centos_7_7_dig_aaaa = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/dig-aaaa.out'), 'r') as f:
|
||||
self.ubuntu_18_4_dig_aaaa = f.read()
|
||||
|
||||
def test_dig_centos_7_7(self):
|
||||
"""
|
||||
Test 'dig' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.dig.parse(self.centos_7_7_dig), [{'additional_num': '1',
|
||||
'answer': [{'class': 'IN',
|
||||
'data': 'turner-tls.map.fastly.net.',
|
||||
'name': 'www.cnn.com.',
|
||||
'ttl': '5',
|
||||
'type': 'CNAME'},
|
||||
{'class': 'IN',
|
||||
'data': '151.101.189.67',
|
||||
'name': 'turner-tls.map.fastly.net.',
|
||||
'ttl': '5',
|
||||
'type': 'A'}],
|
||||
'answer_num': '2',
|
||||
'authority_num': '0',
|
||||
'flags': 'qr rd ra',
|
||||
'id': '44295',
|
||||
'opcode': 'QUERY',
|
||||
'query_num': '1',
|
||||
'query_time': '25 msec',
|
||||
'question': {'class': 'IN', 'name': 'www.cnn.com.', 'type': 'A'},
|
||||
'rcvd': '95',
|
||||
'server': '192.168.71.2#53(192.168.71.2)',
|
||||
'status': 'NOERROR',
|
||||
'when': 'Wed Oct 30 05:13:22 PDT 2019'},
|
||||
{'additional_num': '1',
|
||||
'answer': [{'class': 'IN',
|
||||
'data': '216.58.194.100',
|
||||
'name': 'www.google.com.',
|
||||
'ttl': '5',
|
||||
'type': 'A'}],
|
||||
'answer_num': '1',
|
||||
'authority_num': '0',
|
||||
'flags': 'qr rd ra',
|
||||
'id': '34074',
|
||||
'opcode': 'QUERY',
|
||||
'query_num': '1',
|
||||
'query_time': '25 msec',
|
||||
'question': {'class': 'IN', 'name': 'www.google.com.', 'type': 'A'},
|
||||
'rcvd': '59',
|
||||
'server': '192.168.71.2#53(192.168.71.2)',
|
||||
'status': 'NOERROR',
|
||||
'when': 'Wed Oct 30 05:13:22 PDT 2019'}])
|
||||
|
||||
def test_dig_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'dig' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.dig.parse(self.ubuntu_18_4_dig), [{'additional_num': '1',
|
||||
'answer': [{'class': 'IN',
|
||||
'data': 'turner-tls.map.fastly.net.',
|
||||
'name': 'www.cnn.com.',
|
||||
'ttl': '5',
|
||||
'type': 'CNAME'},
|
||||
{'class': 'IN',
|
||||
'data': '151.101.65.67',
|
||||
'name': 'turner-tls.map.fastly.net.',
|
||||
'ttl': '4',
|
||||
'type': 'A'},
|
||||
{'class': 'IN',
|
||||
'data': '151.101.1.67',
|
||||
'name': 'turner-tls.map.fastly.net.',
|
||||
'ttl': '4',
|
||||
'type': 'A'},
|
||||
{'class': 'IN',
|
||||
'data': '151.101.193.67',
|
||||
'name': 'turner-tls.map.fastly.net.',
|
||||
'ttl': '4',
|
||||
'type': 'A'},
|
||||
{'class': 'IN',
|
||||
'data': '151.101.129.67',
|
||||
'name': 'turner-tls.map.fastly.net.',
|
||||
'ttl': '4',
|
||||
'type': 'A'}],
|
||||
'answer_num': '5',
|
||||
'authority_num': '0',
|
||||
'flags': 'qr rd ra',
|
||||
'id': '52284',
|
||||
'opcode': 'QUERY',
|
||||
'query_num': '1',
|
||||
'query_time': '31 msec',
|
||||
'question': {'class': 'IN', 'name': 'www.cnn.com.', 'type': 'A'},
|
||||
'rcvd': '143',
|
||||
'server': '127.0.0.53#53(127.0.0.53)',
|
||||
'status': 'NOERROR',
|
||||
'when': 'Thu Oct 31 14:21:04 UTC 2019'},
|
||||
{'additional_num': '1',
|
||||
'answer': [{'class': 'IN',
|
||||
'data': '172.217.1.228',
|
||||
'name': 'www.google.com.',
|
||||
'ttl': '5',
|
||||
'type': 'A'}],
|
||||
'answer_num': '1',
|
||||
'authority_num': '0',
|
||||
'flags': 'qr rd ra',
|
||||
'id': '47686',
|
||||
'opcode': 'QUERY',
|
||||
'query_num': '1',
|
||||
'query_time': '32 msec',
|
||||
'question': {'class': 'IN', 'name': 'www.google.com.', 'type': 'A'},
|
||||
'rcvd': '59',
|
||||
'server': '127.0.0.53#53(127.0.0.53)',
|
||||
'status': 'NOERROR',
|
||||
'when': 'Thu Oct 31 14:21:04 UTC 2019'}])
|
||||
|
||||
def test_dig_x_centos_7_7(self):
|
||||
"""
|
||||
Test 'dig -x' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.dig.parse(self.centos_7_7_dig_x), [{'additional_num': '1',
|
||||
'answer': [{'class': 'IN',
|
||||
'data': 'one.one.one.one.',
|
||||
'name': '1.1.1.1.in-addr.arpa.',
|
||||
'ttl': '5',
|
||||
'type': 'PTR'}],
|
||||
'answer_num': '1',
|
||||
'authority_num': '0',
|
||||
'flags': 'qr rd ra',
|
||||
'id': '36298',
|
||||
'opcode': 'QUERY',
|
||||
'query_num': '1',
|
||||
'query_time': '32 msec',
|
||||
'question': {'class': 'IN', 'name': '1.1.1.1.in-addr.arpa.', 'type': 'PTR'},
|
||||
'rcvd': '78',
|
||||
'server': '192.168.71.2#53(192.168.71.2)',
|
||||
'status': 'NOERROR',
|
||||
'when': 'Wed Oct 30 05:13:36 PDT 2019'}])
|
||||
|
||||
def test_dig_x_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'dig -x' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.dig.parse(self.ubuntu_18_4_dig_x), [{'additional_num': '1',
|
||||
'answer': [{'class': 'IN',
|
||||
'data': 'one.one.one.one.',
|
||||
'name': '1.1.1.1.in-addr.arpa.',
|
||||
'ttl': '5',
|
||||
'type': 'PTR'}],
|
||||
'answer_num': '1',
|
||||
'authority_num': '0',
|
||||
'flags': 'qr rd ra',
|
||||
'id': '28514',
|
||||
'opcode': 'QUERY',
|
||||
'query_num': '1',
|
||||
'query_time': '37 msec',
|
||||
'question': {'class': 'IN', 'name': '1.1.1.1.in-addr.arpa.', 'type': 'PTR'},
|
||||
'rcvd': '78',
|
||||
'server': '127.0.0.53#53(127.0.0.53)',
|
||||
'status': 'NOERROR',
|
||||
'when': 'Thu Oct 31 14:21:05 UTC 2019'}])
|
||||
|
||||
def test_dig_aaaa_centos_7_7(self):
|
||||
"""
|
||||
Test 'dig AAAA' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.dig.parse(self.centos_7_7_dig_aaaa), [{'additional_num': '1',
|
||||
'answer': [{'class': 'IN',
|
||||
'data': '2607:f8b0:4000:808::2004',
|
||||
'name': 'www.google.com.',
|
||||
'ttl': '5',
|
||||
'type': 'AAAA'}],
|
||||
'answer_num': '1',
|
||||
'authority_num': '0',
|
||||
'flags': 'qr rd ra',
|
||||
'id': '25779',
|
||||
'opcode': 'QUERY',
|
||||
'query_num': '1',
|
||||
'query_time': '28 msec',
|
||||
'question': {'class': 'IN', 'name': 'www.google.com.', 'type': 'AAAA'},
|
||||
'rcvd': '71',
|
||||
'server': '192.168.71.2#53(192.168.71.2)',
|
||||
'status': 'NOERROR',
|
||||
'when': 'Wed Oct 30 05:12:53 PDT 2019'}])
|
||||
|
||||
def test_dig_aaaa_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'dig AAAA' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.dig.parse(self.ubuntu_18_4_dig_aaaa), [{'additional_num': '1',
|
||||
'answer': [{'class': 'IN',
|
||||
'data': '2607:f8b0:4000:812::2004',
|
||||
'name': 'www.google.com.',
|
||||
'ttl': '5',
|
||||
'type': 'AAAA'}],
|
||||
'answer_num': '1',
|
||||
'authority_num': '0',
|
||||
'flags': 'qr rd ra',
|
||||
'id': '45806',
|
||||
'opcode': 'QUERY',
|
||||
'query_num': '1',
|
||||
'query_time': '39 msec',
|
||||
'question': {'class': 'IN', 'name': 'www.google.com.', 'type': 'AAAA'},
|
||||
'rcvd': '71',
|
||||
'server': '127.0.0.53#53(127.0.0.53)',
|
||||
'status': 'NOERROR',
|
||||
'when': 'Thu Oct 31 14:21:04 UTC 2019'}])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
31
tests/test_env.py
Normal file
31
tests/test_env.py
Normal file
@ -0,0 +1,31 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.env
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/env.out'), 'r') as f:
|
||||
self.centos_7_7_env = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/env.out'), 'r') as f:
|
||||
self.ubuntu_18_4_env = f.read()
|
||||
|
||||
def test_env_centos_7_7(self):
|
||||
"""
|
||||
Test 'env' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.env.parse(self.centos_7_7_env)['SSH_CONNECTION'], '192.168.71.1 58727 192.168.71.137 22')
|
||||
|
||||
def test_env_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'env' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.env.parse(self.ubuntu_18_4_env)['SSH_CONNECTION'], '192.168.71.1 65159 192.168.71.131 22')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
67
tests/test_free.py
Normal file
67
tests/test_free.py
Normal file
@ -0,0 +1,67 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.free
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/free.out'), 'r') as f:
|
||||
self.centos_7_7_free = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/free.out'), 'r') as f:
|
||||
self.ubuntu_18_4_free = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/free-h.out'), 'r') as f:
|
||||
self.centos_7_7_free_h = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/free-h.out'), 'r') as f:
|
||||
self.ubuntu_18_4_free_h = f.read()
|
||||
|
||||
def test_free_centos_7_7(self):
|
||||
"""
|
||||
Test 'free' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.free.parse(self.centos_7_7_free)[1], {'type': 'Swap',
|
||||
'total': '2097148',
|
||||
'used': '0',
|
||||
'free': '2097148'})
|
||||
|
||||
def test_free_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'free' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.free.parse(self.ubuntu_18_4_free)[0], {'type': 'Mem',
|
||||
'total': '2017300',
|
||||
'used': '242740',
|
||||
'free': '478228',
|
||||
'shared': '1196',
|
||||
'buff_cache': '1296332',
|
||||
'available': '1585920'})
|
||||
|
||||
def test_free_h_centos_7_7(self):
|
||||
"""
|
||||
Test 'free -h' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.free.parse(self.centos_7_7_free_h)[0], {'type': 'Mem',
|
||||
'total': '3.7G',
|
||||
'used': '217M',
|
||||
'free': '3.2G',
|
||||
'shared': '11M',
|
||||
'buff_cache': '267M',
|
||||
'available': '3.2G'})
|
||||
|
||||
def test_free_h_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'free -h' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.free.parse(self.ubuntu_18_4_free_h)[1], {'type': 'Swap',
|
||||
'total': '2.0G',
|
||||
'used': '268K',
|
||||
'free': '2.0G'})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
31
tests/test_history.py
Normal file
31
tests/test_history.py
Normal file
@ -0,0 +1,31 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.history
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/history.out'), 'r') as f:
|
||||
self.centos_7_7_history = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/history.out'), 'r') as f:
|
||||
self.ubuntu_18_4_history = f.read()
|
||||
|
||||
def test_history_centos_7_7(self):
|
||||
"""
|
||||
Test 'history' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.history.parse(self.centos_7_7_history)['n658'], 'cat testing ')
|
||||
|
||||
def test_history_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'history' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.history.parse(self.ubuntu_18_4_history)['n214'], 'netstat -lp | jc --netstat')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
77
tests/test_ifconfig.py
Normal file
77
tests/test_ifconfig.py
Normal file
@ -0,0 +1,77 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.ifconfig
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/ifconfig.out'), 'r') as f:
|
||||
self.centos_7_7_ifconfig = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/ifconfig.out'), 'r') as f:
|
||||
self.ubuntu_18_4_ifconfig = f.read()
|
||||
|
||||
def test_ifconfig_centos_7_7(self):
|
||||
"""
|
||||
Test 'ifconfig' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.ifconfig.parse(self.centos_7_7_ifconfig)[0], {'name': 'docker0',
|
||||
'flags': '4099',
|
||||
'state': 'UP,BROADCAST,MULTICAST',
|
||||
'mtu': '1500',
|
||||
'ipv4_addr': '172.17.0.1',
|
||||
'ipv4_mask': '255.255.0.0',
|
||||
'ipv4_bcast': '0.0.0.0',
|
||||
'mac_addr': '02:42:b1:9a:ea:02',
|
||||
'type': 'Ethernet',
|
||||
'rx_packets': '0',
|
||||
'rx_errors': '0',
|
||||
'rx_dropped': '0',
|
||||
'rx_overruns': '0',
|
||||
'rx_frame': '0',
|
||||
'tx_packets': '0',
|
||||
'tx_errors': '0',
|
||||
'tx_dropped': '0',
|
||||
'tx_overruns': '0',
|
||||
'tx_carrier': '0',
|
||||
'tx_collisions': '0',
|
||||
'ipv6_addr': None,
|
||||
'ipv6_mask': None,
|
||||
'ipv6_scope': None,
|
||||
'metric': None})
|
||||
|
||||
def test_ifconfig_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'ifconfig' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.ifconfig.parse(self.ubuntu_18_4_ifconfig)[1], {'name': 'lo',
|
||||
'flags': '73',
|
||||
'state': 'UP,LOOPBACK,RUNNING',
|
||||
'mtu': '65536',
|
||||
'ipv4_addr': '127.0.0.1',
|
||||
'ipv4_mask': '255.0.0.0',
|
||||
'ipv4_bcast': None,
|
||||
'ipv6_addr': '::1',
|
||||
'ipv6_mask': '128',
|
||||
'ipv6_scope': 'host',
|
||||
'mac_addr': None,
|
||||
'type': 'Local Loopback',
|
||||
'rx_packets': '825',
|
||||
'rx_errors': '0',
|
||||
'rx_dropped': '0',
|
||||
'rx_overruns': '0',
|
||||
'rx_frame': '0',
|
||||
'tx_packets': '825',
|
||||
'tx_errors': '0',
|
||||
'tx_dropped': '0',
|
||||
'tx_overruns': '0',
|
||||
'tx_carrier': '0',
|
||||
'tx_collisions': '0',
|
||||
'metric': None})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
299
tests/test_iptables.py
Normal file
299
tests/test_iptables.py
Normal file
@ -0,0 +1,299 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.iptables
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/iptables-filter.out'), 'r') as f:
|
||||
self.centos_7_7_iptables_filter = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/iptables-filter.out'), 'r') as f:
|
||||
self.ubuntu_18_4_iptables_filter = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/iptables-filter-nv.out'), 'r') as f:
|
||||
self.centos_7_7_iptables_filter_nv = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/iptables-filter-nv.out'), 'r') as f:
|
||||
self.ubuntu_18_4_iptables_filter_nv = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/iptables-mangle.out'), 'r') as f:
|
||||
self.centos_7_7_iptables_mangle = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/iptables-mangle.out'), 'r') as f:
|
||||
self.ubuntu_18_4_iptables_mangle = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/iptables-nat.out'), 'r') as f:
|
||||
self.centos_7_7_iptables_nat = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/iptables-nat.out'), 'r') as f:
|
||||
self.ubuntu_18_4_iptables_nat = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/iptables-raw.out'), 'r') as f:
|
||||
self.centos_7_7_iptables_raw = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/iptables-raw.out'), 'r') as f:
|
||||
self.ubuntu_18_4_iptables_raw = f.read()
|
||||
|
||||
def test_iptables_filter_centos_7_7(self):
|
||||
"""
|
||||
Test 'sudo iptables -L -t filter' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.centos_7_7_iptables_filter)[2], {'chain': 'OUTPUT',
|
||||
'rules': [{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'OUTPUT_direct',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'ctstate ESTABLISHED'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'tcp',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'tcp spt:ssh ctstate ESTABLISHED'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'ctstate ESTABLISHED'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'tcp',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'tcp spt:ssh ctstate ESTABLISHED'}]})
|
||||
|
||||
def test_iptables_filter_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'sudo iptables -L -t filter' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.ubuntu_18_4_iptables_filter)[0], {'chain': 'INPUT',
|
||||
'rules': [{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'ctstate RELATED,ESTABLISHED'},
|
||||
{'target': 'DROP',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'ctstate INVALID'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'tcp',
|
||||
'opt': '--',
|
||||
'source': '15.15.15.0/24',
|
||||
'destination': 'anywhere',
|
||||
'options': 'tcp dpt:ssh ctstate NEW,ESTABLISHED'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'ctstate RELATED,ESTABLISHED'},
|
||||
{'target': 'DROP',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'ctstate INVALID'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'tcp',
|
||||
'opt': '--',
|
||||
'source': '15.15.15.0/24',
|
||||
'destination': 'anywhere',
|
||||
'options': 'tcp dpt:ssh ctstate NEW,ESTABLISHED'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'ctstate RELATED,ESTABLISHED'},
|
||||
{'target': 'DROP',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': 'ctstate INVALID'},
|
||||
{'target': 'DROP',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': '15.15.15.51',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'ACCEPT',
|
||||
'prot': 'tcp',
|
||||
'opt': '--',
|
||||
'source': '15.15.15.0/24',
|
||||
'destination': 'anywhere',
|
||||
'options': 'tcp dpt:ssh ctstate NEW,ESTABLISHED'}]})
|
||||
|
||||
def test_iptables_filter_nv_centos_7_7(self):
|
||||
"""
|
||||
Test 'sudo iptables -nvL -t filter' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.centos_7_7_iptables_filter_nv)[4], {'chain': 'DOCKER-ISOLATION',
|
||||
'rules': [{'pkts': '0',
|
||||
'bytes': '0',
|
||||
'target': 'RETURN',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'in': '*',
|
||||
'out': '*',
|
||||
'source': '0.0.0.0/0',
|
||||
'destination': '0.0.0.0/0'}]})
|
||||
|
||||
def test_iptables_filter_nv_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'sudo iptables -nvL -t filter' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.ubuntu_18_4_iptables_filter_nv)[0]['rules'][3], {'pkts': '0',
|
||||
'bytes': '0',
|
||||
'target': 'ACCEPT',
|
||||
'prot': 'tcp',
|
||||
'opt': '--',
|
||||
'in': '*',
|
||||
'out': '*',
|
||||
'source': '15.15.15.0/24',
|
||||
'destination': '0.0.0.0/0',
|
||||
'options': 'tcp dpt:22 ctstate NEW,ESTABLISHED'})
|
||||
|
||||
def test_iptables_mangle_centos_7_7(self):
|
||||
"""
|
||||
Test 'sudo iptables -L -t mangle' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.centos_7_7_iptables_mangle)[0], {'chain': 'PREROUTING',
|
||||
'rules': [{'target': 'PREROUTING_direct',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'PREROUTING_ZONES_SOURCE',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'PREROUTING_ZONES',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'}]})
|
||||
|
||||
def test_iptables_mangle_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'sudo iptables -L -t mangle' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.ubuntu_18_4_iptables_mangle), [{'chain': 'PREROUTING',
|
||||
'rules': []},
|
||||
{'chain': 'INPUT',
|
||||
'rules': []},
|
||||
{'chain': 'FORWARD',
|
||||
'rules': []},
|
||||
{'chain': 'OUTPUT',
|
||||
'rules': []}])
|
||||
|
||||
def test_iptables_nat_centos_7_7(self):
|
||||
"""
|
||||
Test 'sudo iptables -L -t nat' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.centos_7_7_iptables_nat)[3], {'chain': 'POSTROUTING',
|
||||
'rules': [{'target': 'MASQUERADE',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': '172.17.0.0/16',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'POSTROUTING_direct',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'POSTROUTING_ZONES_SOURCE',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'},
|
||||
{'target': 'POSTROUTING_ZONES',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere'}]})
|
||||
|
||||
def test_iptables_nat_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'sudo iptables -L -t nat' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.ubuntu_18_4_iptables_nat), [{'chain': 'PREROUTING',
|
||||
'rules': []},
|
||||
{'chain': 'INPUT',
|
||||
'rules': []},
|
||||
{'chain': 'OUTPUT',
|
||||
'rules': []}])
|
||||
|
||||
def test_iptables_raw_centos_7_7(self):
|
||||
"""
|
||||
Test 'sudo iptables -L -t raw' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.centos_7_7_iptables_raw)[3], {'chain': 'PREROUTING_ZONES',
|
||||
'rules': [{'target': 'PRE_public',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': '[goto] '},
|
||||
{'target': 'PRE_public',
|
||||
'prot': 'all',
|
||||
'opt': '--',
|
||||
'source': 'anywhere',
|
||||
'destination': 'anywhere',
|
||||
'options': '[goto] '}]})
|
||||
|
||||
def test_iptables_raw_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'sudo iptables -L -t raw' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.iptables.parse(self.ubuntu_18_4_iptables_raw), [{'chain': 'PREROUTING',
|
||||
'rules': []}])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
37
tests/test_jobs.py
Normal file
37
tests/test_jobs.py
Normal file
@ -0,0 +1,37 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.jobs
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/jobs.out'), 'r') as f:
|
||||
self.centos_7_7_jobs = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/jobs.out'), 'r') as f:
|
||||
self.ubuntu_18_4_jobs = f.read()
|
||||
|
||||
def test_jobs_centos_7_7(self):
|
||||
"""
|
||||
Test 'jobs' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.jobs.parse(self.centos_7_7_jobs)[3], {'job_number': '4',
|
||||
'history': 'current',
|
||||
'status': 'Running',
|
||||
'command': 'sleep 14 &'})
|
||||
|
||||
def test_jobs_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'jobs' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.jobs.parse(self.ubuntu_18_4_jobs)[2], {'job_number': '3',
|
||||
'history': 'previous',
|
||||
'status': 'Running',
|
||||
'command': 'sleep 13 &'})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
92
tests/test_ls.py
Normal file
92
tests/test_ls.py
Normal file
@ -0,0 +1,92 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.ls
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/ls.out'), 'r') as f:
|
||||
self.centos_7_7_ls = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/ls.out'), 'r') as f:
|
||||
self.ubuntu_18_4_ls = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/ls-al.out'), 'r') as f:
|
||||
self.centos_7_7_ls_al = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/ls-al.out'), 'r') as f:
|
||||
self.ubuntu_18_4_ls_al = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/ls-alh.out'), 'r') as f:
|
||||
self.centos_7_7_ls_alh = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/ls-alh.out'), 'r') as f:
|
||||
self.ubuntu_18_4_ls_alh = f.read()
|
||||
|
||||
def test_ls_centos_7_7(self):
|
||||
"""
|
||||
Test plain 'ls /' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.ls.parse(self.centos_7_7_ls)[1]['filename'], 'boot')
|
||||
|
||||
def test_ls_ubuntu_18_4(self):
|
||||
"""
|
||||
Test plain 'ls /' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.ls.parse(self.ubuntu_18_4_ls)[1]['filename'], 'boot')
|
||||
|
||||
def test_ls_al_centos_7_7(self):
|
||||
"""
|
||||
Test 'ls -al /' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.ls.parse(self.centos_7_7_ls_al)[2], {'filename': 'bin',
|
||||
'link_to': 'usr/bin',
|
||||
'flags': 'lrwxrwxrwx.',
|
||||
'links': '1',
|
||||
'owner': 'root',
|
||||
'group': 'root',
|
||||
'size': '7',
|
||||
'date': 'Aug 15 10:53'})
|
||||
|
||||
def test_ls_al_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'ls -al /' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.ls.parse(self.ubuntu_18_4_ls_al)[4], {'filename': 'cdrom',
|
||||
'flags': 'drwxr-xr-x',
|
||||
'links': '2',
|
||||
'owner': 'root',
|
||||
'group': 'root',
|
||||
'size': '4096',
|
||||
'date': 'Aug 12 17:21'})
|
||||
|
||||
def test_ls_alh_centos_7_7(self):
|
||||
"""
|
||||
Test 'ls -alh /' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.ls.parse(self.centos_7_7_ls_alh)[5], {'filename': 'etc',
|
||||
'flags': 'drwxr-xr-x.',
|
||||
'links': '78',
|
||||
'owner': 'root',
|
||||
'group': 'root',
|
||||
'size': '8.0K',
|
||||
'date': 'Oct 25 18:47'})
|
||||
|
||||
def test_ls_alh_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'ls -alh /' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.ls.parse(self.ubuntu_18_4_ls_alh)[7], {'filename': 'home',
|
||||
'flags': 'drwxr-xr-x',
|
||||
'links': '3',
|
||||
'owner': 'root',
|
||||
'group': 'root',
|
||||
'size': '4.0K',
|
||||
'date': 'Aug 12 17:24'})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
43
tests/test_lsblk.py
Normal file
43
tests/test_lsblk.py
Normal file
@ -0,0 +1,43 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.lsblk
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/lsblk.out'), 'r') as f:
|
||||
self.centos_7_7_lsblk = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/lsblk.out'), 'r') as f:
|
||||
self.ubuntu_18_4_lsblk = f.read()
|
||||
|
||||
def test_lsblk_centos_7_7(self):
|
||||
"""
|
||||
Test 'lsblk' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.lsblk.parse(self.centos_7_7_lsblk)[4], {'name': 'centos-swap',
|
||||
'maj_min': '253:1',
|
||||
'rm': '0',
|
||||
'size': '2G',
|
||||
'ro': '0',
|
||||
'type': 'lvm',
|
||||
'mountpoint': '[SWAP]'})
|
||||
|
||||
def test_lsblk_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'lsblk' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.lsblk.parse(self.ubuntu_18_4_lsblk)[8], {'name': 'loop8',
|
||||
'maj_min': '7:8',
|
||||
'rm': '0',
|
||||
'size': '3.1M',
|
||||
'ro': '1',
|
||||
'type': 'loop',
|
||||
'mountpoint': '/snap/stress-ng/847'})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
40
tests/test_lsmod.py
Normal file
40
tests/test_lsmod.py
Normal file
@ -0,0 +1,40 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.lsmod
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/lsmod.out'), 'r') as f:
|
||||
self.centos_7_7_lsmod = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/lsmod.out'), 'r') as f:
|
||||
self.ubuntu_18_4_lsmod = f.read()
|
||||
|
||||
def test_lsmod_centos_7_7(self):
|
||||
"""
|
||||
Test 'lsmod' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.lsmod.parse(self.centos_7_7_lsmod)[17], {'module': 'nf_nat_ipv6',
|
||||
'size': '14131',
|
||||
'used': '1',
|
||||
'by': ['ip6table_nat']})
|
||||
|
||||
def test_lsmod_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'lsmod' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.lsmod.parse(self.ubuntu_18_4_lsmod)[21], {'module': 'nf_conntrack',
|
||||
'size': '131072',
|
||||
'used': '4',
|
||||
'by': ['xt_conntrack',
|
||||
'nf_conntrack_ipv4',
|
||||
'nf_nat',
|
||||
'nf_nat_ipv4']})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
85
tests/test_lsof.py
Normal file
85
tests/test_lsof.py
Normal file
@ -0,0 +1,85 @@
|
||||
import os
|
||||
import unittest
|
||||
import jc.parsers.lsof
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/lsof.out'), 'r') as f:
|
||||
self.centos_7_7_lsof = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/lsof.out'), 'r') as f:
|
||||
self.ubuntu_18_4_lsof = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/lsof-sudo.out'), 'r') as f:
|
||||
self.centos_7_7_lsof_sudo = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/lsof-sudo.out'), 'r') as f:
|
||||
self.ubuntu_18_4_lsof_sudo = f.read()
|
||||
|
||||
def test_lsof_centos_7_7(self):
|
||||
"""
|
||||
Test 'lsof' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.lsof.parse(self.centos_7_7_lsof)[155], {'command': 'scsi_eh_0',
|
||||
'pid': '291',
|
||||
'tid': None,
|
||||
'user': 'root',
|
||||
'fd': 'NOFD',
|
||||
'type': None,
|
||||
'device': None,
|
||||
'size_off': None,
|
||||
'node': None,
|
||||
'name': '/proc/291/fd (opendir: Permission denied)'})
|
||||
|
||||
def test_lsof_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'lsof' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.lsof.parse(self.ubuntu_18_4_lsof)[341], {'command': 'scsi_tmf_',
|
||||
'pid': '246',
|
||||
'tid': None,
|
||||
'user': 'root',
|
||||
'fd': 'rtd',
|
||||
'type': 'unknown',
|
||||
'device': None,
|
||||
'size_off': None,
|
||||
'node': None,
|
||||
'name': '/proc/246/root (readlink: Permission denied)'})
|
||||
|
||||
def test_lsof_sudo_centos_7_7(self):
|
||||
"""
|
||||
Test 'sudo lsof' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.lsof.parse(self.centos_7_7_lsof_sudo)[500], {'command': 'dbus-daem',
|
||||
'pid': '778',
|
||||
'tid': None,
|
||||
'user': 'dbus',
|
||||
'fd': '6u',
|
||||
'type': 'netlink',
|
||||
'device': None,
|
||||
'size_off': '0t0',
|
||||
'node': '17854',
|
||||
'name': 'SELINUX'})
|
||||
|
||||
def test_lsof_sudo_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'sudo lsof' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.lsof.parse(self.ubuntu_18_4_lsof_sudo)[782], {'command': 'vmtoolsd',
|
||||
'pid': '680',
|
||||
'tid': None,
|
||||
'user': 'root',
|
||||
'fd': '4u',
|
||||
'type': 'a_inode',
|
||||
'device': '0,13',
|
||||
'size_off': '0',
|
||||
'node': '10717',
|
||||
'name': '[eventfd]'})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user