]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip vrf: Add command name next to pid
authorDavid Ahern <dsa@cumulusnetworks.com>
Fri, 14 Apr 2017 23:09:56 +0000 (16:09 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 16 Apr 2017 17:19:32 +0000 (10:19 -0700)
commit0da8250be8a3bdac49d8a1e256ecf6e3767084fb
tree99b441144dc8395a36ac0ea12055bb698931a61a
parentc6858ef43113404a528a66a1310d154297648ea1
ip vrf: Add command name next to pid

'ip vrf pids' is used to list processes bound to a vrf, but it only
shows the pid leaving a lot of work for the user. Add the command
name to the output. With this patch you get the more user friendly:

    $ ip vrf pids mgmt
     1121  ntpd
     1418  gdm-session-wor
     1488  gnome-session
     1491  dbus-launch
     1492  dbus-daemon
     1565  sshd
     ...

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
include/utils.h
ip/ipvrf.c
lib/fs.c