1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

ps doc update

This commit is contained in:
Kelly Brazil
2019-11-12 15:05:21 -08:00
parent 3f4838f17a
commit b6f65c93c4
3 changed files with 43 additions and 69 deletions

View File

@ -938,23 +938,23 @@ $ ps axu | jc --ps -p
{ {
"user": "root", "user": "root",
"pid": 1, "pid": 1,
"cpu_percent": "0.0", "cpu_percent": 0.0,
"mem_percent": "0.1", "mem_percent": 0.1,
"vsz": "128072", "vsz": 128072,
"rss": "6676", "rss": 6784,
"tty": null, "tty": null,
"stat": "Ss", "stat": "Ss",
"start": "Nov09", "start": "Nov09",
"time": "0:06", "time": "0:08",
"command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22" "command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22"
}, },
{ {
"user": "root", "user": "root",
"pid": 2, "pid": 2,
"cpu_percent": "0.0", "cpu_percent": 0.0,
"mem_percent": "0.0", "mem_percent": 0.0,
"vsz": "0", "vsz": 0,
"rss": "0", "rss": 0,
"tty": null, "tty": null,
"stat": "S", "stat": "S",
"start": "Nov09", "start": "Nov09",
@ -964,10 +964,10 @@ $ ps axu | jc --ps -p
{ {
"user": "root", "user": "root",
"pid": 4, "pid": 4,
"cpu_percent": "0.0", "cpu_percent": 0.0,
"mem_percent": "0.0", "mem_percent": 0.0,
"vsz": "0", "vsz": 0,
"rss": "0", "rss": 0,
"tty": null, "tty": null,
"stat": "S<", "stat": "S<",
"start": "Nov09", "start": "Nov09",

View File

@ -85,23 +85,23 @@ Examples:
{ {
"user": "root", "user": "root",
"pid": 1, "pid": 1,
"cpu_percent": "0.0", "cpu_percent": 0.0,
"mem_percent": "0.1", "mem_percent": 0.1,
"vsz": "128072", "vsz": 128072,
"rss": "6676", "rss": 6784,
"tty": null, "tty": null,
"stat": "Ss", "stat": "Ss",
"start": "Nov09", "start": "Nov09",
"time": "0:06", "time": "0:08",
"command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22" "command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22"
}, },
{ {
"user": "root", "user": "root",
"pid": 2, "pid": 2,
"cpu_percent": "0.0", "cpu_percent": 0.0,
"mem_percent": "0.0", "mem_percent": 0.0,
"vsz": "0", "vsz": 0,
"rss": "0", "rss": 0,
"tty": null, "tty": null,
"stat": "S", "stat": "S",
"start": "Nov09", "start": "Nov09",
@ -111,10 +111,10 @@ Examples:
{ {
"user": "root", "user": "root",
"pid": 4, "pid": 4,
"cpu_percent": "0.0", "cpu_percent": 0.0,
"mem_percent": "0.0", "mem_percent": 0.0,
"vsz": "0", "vsz": 0,
"rss": "0", "rss": 0,
"tty": null, "tty": null,
"stat": "S<", "stat": "S<",
"start": "Nov09", "start": "Nov09",
@ -132,11 +132,11 @@ Examples:
"cpu_percent": "0.0", "cpu_percent": "0.0",
"mem_percent": "0.1", "mem_percent": "0.1",
"vsz": "128072", "vsz": "128072",
"rss": "6676", "rss": "6784",
"tty": "?", "tty": "?",
"stat": "Ss", "stat": "Ss",
"start": "Nov09", "start": "Nov09",
"time": "0:06", "time": "0:08",
"command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22" "command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22"
}, },
{ {
@ -165,19 +165,6 @@ Examples:
"time": "0:00", "time": "0:00",
"command": "[kworker/0:0H]" "command": "[kworker/0:0H]"
}, },
{
"user": "root",
"pid": "6",
"cpu_percent": "0.0",
"mem_percent": "0.0",
"vsz": "0",
"rss": "0",
"tty": "?",
"stat": "S",
"start": "Nov09",
"time": "0:00",
"command": "[ksoftirqd/0]"
},
... ...
] ]

View File

@ -84,23 +84,23 @@ Examples:
{ {
"user": "root", "user": "root",
"pid": 1, "pid": 1,
"cpu_percent": "0.0", "cpu_percent": 0.0,
"mem_percent": "0.1", "mem_percent": 0.1,
"vsz": "128072", "vsz": 128072,
"rss": "6676", "rss": 6784,
"tty": null, "tty": null,
"stat": "Ss", "stat": "Ss",
"start": "Nov09", "start": "Nov09",
"time": "0:06", "time": "0:08",
"command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22" "command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22"
}, },
{ {
"user": "root", "user": "root",
"pid": 2, "pid": 2,
"cpu_percent": "0.0", "cpu_percent": 0.0,
"mem_percent": "0.0", "mem_percent": 0.0,
"vsz": "0", "vsz": 0,
"rss": "0", "rss": 0,
"tty": null, "tty": null,
"stat": "S", "stat": "S",
"start": "Nov09", "start": "Nov09",
@ -110,10 +110,10 @@ Examples:
{ {
"user": "root", "user": "root",
"pid": 4, "pid": 4,
"cpu_percent": "0.0", "cpu_percent": 0.0,
"mem_percent": "0.0", "mem_percent": 0.0,
"vsz": "0", "vsz": 0,
"rss": "0", "rss": 0,
"tty": null, "tty": null,
"stat": "S<", "stat": "S<",
"start": "Nov09", "start": "Nov09",
@ -131,11 +131,11 @@ Examples:
"cpu_percent": "0.0", "cpu_percent": "0.0",
"mem_percent": "0.1", "mem_percent": "0.1",
"vsz": "128072", "vsz": "128072",
"rss": "6676", "rss": "6784",
"tty": "?", "tty": "?",
"stat": "Ss", "stat": "Ss",
"start": "Nov09", "start": "Nov09",
"time": "0:06", "time": "0:08",
"command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22" "command": "/usr/lib/systemd/systemd --switched-root --system --deserialize 22"
}, },
{ {
@ -164,19 +164,6 @@ Examples:
"time": "0:00", "time": "0:00",
"command": "[kworker/0:0H]" "command": "[kworker/0:0H]"
}, },
{
"user": "root",
"pid": "6",
"cpu_percent": "0.0",
"mem_percent": "0.0",
"vsz": "0",
"rss": "0",
"tty": "?",
"stat": "S",
"start": "Nov09",
"time": "0:00",
"command": "[ksoftirqd/0]"
},
... ...
] ]
""" """