commit | 0948adc01a3cee312e2bf81cfffe316f0b5f950b | [log] [tgz] |
---|---|---|
author | vadimk <vadim4j@gmail.com> | Fri Nov 07 18:25:30 2014 +0200 |
committer | Stephen Hemminger <shemming@brocade.com> | Sat Nov 29 11:19:11 2014 -0800 |
tree | 63d66c1f2d2cdc628f3e4cd6be437389ce3a674e | |
parent | 18f39a3a02bd5a09650a3a9b71e84652137eedac [diff] |
ip netns: Identify netns for the current process As 'ip' util will share the same netns from the caller process then we can just look at /proc/self/.. to show the netns of the current process by: ip netns id Signed-off-by: Vadim Kochan <vadim4j@gmail.com>