From 4dbc229db28c12a1d9533d73892d806cf4afa3e3 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 13 Jun 2020 23:18:53 +0200 Subject: op-mode: T2321: add "show vrf black processes" command List all processes running in given VRF vyos@vyos:~$ show vrf black processes 4624 sshd 4404 ntpd --- op-mode-definitions/show-vrf.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/op-mode-definitions/show-vrf.xml b/op-mode-definitions/show-vrf.xml index 360153d8e..1c806908b 100644 --- a/op-mode-definitions/show-vrf.xml +++ b/op-mode-definitions/show-vrf.xml @@ -16,6 +16,14 @@ ${vyos_op_scripts_dir}/show_vrf.py -e "$3" + + + + Shows all process ids associated with VRF + + /usr/sbin/ip vrf pids "$3" + + -- cgit v1.2.3