]> 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:06:33 +0000 (10:06 -0700)
commitf443565f8df65e7d3b3e7cb5f4e94aec1e12d067
treebf06a6b2df3e38813f50a3d6f2d77a20a13dc80e
parent2d3af1675ddffe3fd50a94ba5f91a13672d9e091
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