summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOto Šťáva <oto.stava@nic.cz>2023-09-22 10:07:29 +0200
committerAleš Mrázek <ales.mrazek@nic.cz>2024-12-03 11:49:05 +0100
commit055d53dbcbff81c86751da5952046211e2d51174 (patch)
tree46d634bbce2ce4457029227800c9e9b354eeef67
parentmanager: add more verbose PIDs listing (diff)
downloadknot-resolver-055d53dbcbff81c86751da5952046211e2d51174.tar.xz
knot-resolver-055d53dbcbff81c86751da5952046211e2d51174.zip
manager, kresctl: print status in pids
-rw-r--r--python/knot_resolver/manager/manager.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/knot_resolver/manager/manager.py b/python/knot_resolver/manager/manager.py
index a26bb806..952c8b7d 100644
--- a/python/knot_resolver/manager/manager.py
+++ b/python/knot_resolver/manager/manager.py
@@ -59,6 +59,7 @@ async def _subprocess_desc(subprocess: Subprocess) -> object:
return {
"type": subprocess.type.name,
"pid": await subprocess.get_pid(),
+ "status": subprocess.status().name,
}