mirror of https://github.com/mkerrisk/man-pages
namespaces.7: Eliminate some superfluous info from display of /proc/PID/ns links
The display of the /proc/PID/ns renders very wide. Make it narrower by eliminating some nonessential info via some awk(1) filtering. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
19e8f797fc
commit
05d2e9d0ab
|
@ -154,18 +154,18 @@ supports being manipulated by
|
|||
.PP
|
||||
.in +4n
|
||||
.EX
|
||||
$ \fBls \-l /proc/$$/ns\fP
|
||||
$ \fBls \-l /proc/$$/ns | awk \(aq{print $1, $9, $10, $11}\(aq\fP
|
||||
total 0
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 cgroup \-> cgroup:[4026531835]
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 ipc \-> ipc:[4026531839]
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 mnt \-> mnt:[4026531840]
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 net \-> net:[4026531969]
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 pid \-> pid:[4026531836]
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 pid_for_children \-> pid:[4026531834]
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 13:21 time -> time:[4026531834]
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 13:21 time_for_children -> time:[4026531834]
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 user \-> user:[4026531837]
|
||||
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 uts \-> uts:[4026531838]
|
||||
lrwxrwxrwx. cgroup \-> cgroup:[4026531835]
|
||||
lrwxrwxrwx. ipc \-> ipc:[4026531839]
|
||||
lrwxrwxrwx. mnt \-> mnt:[4026531840]
|
||||
lrwxrwxrwx. net \-> net:[4026531969]
|
||||
lrwxrwxrwx. pid \-> pid:[4026531836]
|
||||
lrwxrwxrwx. pid_for_children \-> pid:[4026531834]
|
||||
lrwxrwxrwx. time -> time:[4026531834]
|
||||
lrwxrwxrwx. time_for_children -> time:[4026531834]
|
||||
lrwxrwxrwx. user \-> user:[4026531837]
|
||||
lrwxrwxrwx. uts \-> uts:[4026531838]
|
||||
.EE
|
||||
.in
|
||||
.PP
|
||||
|
|
Loading…
Reference in New Issue