diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-07-07 11:09:56 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-07-07 11:12:30 +0200 |
| commit | 9fb88bc878096a02d949bca26b481e2da685740d (patch) | |
| tree | f4e464d2f8f89d2206ca5b7339155b9fcc3ea60c /man5 | |
| parent | ccb4bcdc130d8b0d6b3ca5135369333158d8dbe5 (diff) | |
| download | man-pages-9fb88bc878096a02d949bca26b481e2da685740d.tar.gz | |
proc.5: Note that /proc/net is now virtualized per network namespace
Reported-by: "Yuming Ma(马玉明)" <mayuming@le.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man5')
| -rw-r--r-- | man5/proc.5 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index 0f9be17f57..dfa8629fce 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -1259,6 +1259,11 @@ information via this field. .IP This file is readable only by the owner of the process. .TP +.IR +/proc/[pid]/net " (since Linux 2.6.25)" +See the description of +.IR /proc/net . +.TP .IR /proc/[pid]/ns/ " (since Linux 3.0)" .\" See commit 6b4e306aa3dc94a0545eb9279475b1ab6209a31f This is a subdirectory containing one entry for each namespace that @@ -3090,6 +3095,18 @@ therefore, readable with However, the standard .BR netstat (8) suite provides much cleaner access to these files. + +With the advent of network namespaces, +various information relating to the network stack is virtualized (see +.BR namespaces (7)). +Thus, since Linux 2.6.25, +.\" commit e9720acd728a46cb40daa52c99a979f7c4ff195c +.IR /proc/net +is a symbolic link to the directory +.IR /proc/self/net , +which contains the same files and directories as listed below. +However, these files and directories now expose information +for the network namespace of which the process is a member. .TP .I /proc/net/arp This holds an ASCII readable dump of the kernel ARP table used for |
