Guest User

Untitled

a guest
Jul 20th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. $ PID=`sudo lsns -t net -n -o PID,COMMAND | grep rtkit-daemon | cut -d ' ' -f 2`
  2. $ sudo nsenter -t $PID -n
  3. # ip link show
  4. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
  5. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  6. # ls /sys/class/net
  7. docker0 enp3s0 lo lxcbr0 ...
  8.  
  9. /sys/class/net
  10. Each of the entries in this directory is a symbolic link representing
  11. one of the real or virtual networking devices that are visible in
  12. the network namespace of the process that is accessing the directory.
Add Comment
Please, Sign In to add comment