CONTRIBUTING.d/patches: Please provide a git-range-diff(1)
[man-pages.git] / man5 / proc_pid_mountstats.5
blob6d2aa59852754697068c82806e21ca8ff48f47d4
1 .\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
2 .\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
4 .\"
5 .\" SPDX-License-Identifier: GPL-3.0-or-later
6 .\"
7 .TH proc_pid_mountstats 5 (date) "Linux man-pages (unreleased)"
8 .SH NAME
9 /proc/pid/mountstats \- mount statistics
10 .SH DESCRIPTION
11 .TP
12 .IR /proc/ pid /mountstats " (since Linux 2.6.17)"
13 This file exports information (statistics, configuration information)
14 about the mounts in the process's mount namespace (see
15 .BR mount_namespaces (7)).
16 Lines in this file have the form:
17 .IP
18 .in +4n
19 .EX
20 device /dev/sda7 mounted on /home with fstype ext3 [stats]
21 (       1      )            ( 2 )             (3 ) (  4  )
22 .EE
23 .in
24 .IP
25 The fields in each line are:
26 .RS 7
27 .TP 5
28 (1)
29 The name of the mounted device
30 (or "nodevice" if there is no corresponding device).
31 .TP
32 (2)
33 The mount point within the filesystem tree.
34 .TP
35 (3)
36 The filesystem type.
37 .TP
38 (4)
39 Optional statistics and configuration information.
40 Currently (as at Linux 2.6.26), only NFS filesystems export
41 information via this field.
42 .RE
43 .IP
44 This file is readable only by the owner of the process.
45 .SH SEE ALSO
46 .BR proc (5)