proc_pid_mountstats(5)
๐ /proc/pid/mountstats โ mount statistics ๐
okay bestie, pull up a chair, this is the Linux proc_pid_mountstats(5) page and it's a short one but it's so useful ๐ซถ
โจ NAME โจ
/proc/pid/mountstats โ literally just mount statistics, that's the whole vibe ๐
๐ธ DESCRIPTION ๐ธ
๐ฆ /proc/pid/mountstats (since Linux 2.6.17)
So this file (yes it's a file, not a dir, stay with me) exports info โ statistics, configuration info, the whole little bundle โ about the mounts inside the process's mount namespace. If you need a refresher on what a mount namespace even is, go check mount_namespaces(7), iykyk ๐
The lines in this file look like this:
device /dev/sda7 mounted on /home with fstype ext3 [stats]
( 1 ) ( 2 ) (3 ) ( 4 )
and those little numbers underneath? they're a map, bestie. here's what each field means:
- (1) โ the name of the mounted device. or, if there's no device behind it, it says
"nodevice". iconic honestly ๐ - (2) โ the mount point, aka where it lives in the filesystem tree.
- (3) โ the filesystem type.
- (4) โ optional stats and configuration info. and this is the tea: currently (as at Linux 2.6.26), only NFS filesystems actually export anything through this field. everyone else leaves it empty ๐ญ
heads up: this file is readable only by the owner of the process. no peeking, no cap ๐ฅ
๐ SEE ALSO ๐
star sign moment: this page is from Linux man-pages 6.20, dated 2026-02-08. periodt ๐โจ๐
๐ฆ where this page comes from
- arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- ๐ the page's license: GPL-3.0-or-later
- Copyright 1994-1995, Daniel Quinlan <Daniel.Quinlan@linux.org>
- Copyright 2002-2017, Michael Kerrisk <mtk.manpages@gmail.com>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms