diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/plan9-4e/man1/ns.1 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/plan9-4e/man1/ns.1')
| -rw-r--r-- | static/plan9-4e/man1/ns.1 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/static/plan9-4e/man1/ns.1 b/static/plan9-4e/man1/ns.1 new file mode 100644 index 00000000..ab980345 --- /dev/null +++ b/static/plan9-4e/man1/ns.1 @@ -0,0 +1,44 @@ +.TH NS 1 +.SH NAME +ns \- display name space +.SH SYNOPSIS +.B ns +[ +.B -r +] [ +.I pid +] +.SH DESCRIPTION +.I Ns +prints a representation of the file name space of the process with the named +.IR pid , +or by default itself. +The output is in the form of an +.IR rc (1) +script that could, in principle, recreate the name space. +The output is produced by reading and reformatting the contents of +.BI /proc/ pid /ns . +.PP +By default, +.I ns +rewrites the names of network data files to represent the network +address that data file is connected to, for example replacing +.B /net/il/82/data +with +.BR il!123.122.121.9 . +The +.B -r +flag suppresses this rewriting. +.SH FILES +.B /proc/*/ns +.SH SOURCE +.B /sys/src/cmd/ns.c +.SH "SEE ALSO" +.IR ps (1), +.IR proc (3), +.IR namespace (4), +.IR namespace (6) +.SH BUGS +The names of files printed by +.I ns +will be inaccurate if a file or directory it includes has been renamed. |
