Lines Matching +full:4 +full:kb +full:- +full:page

1 .. SPDX-License-Identifier: GPL-2.0
24 1.1 Process-Specific Subdirectories
36 3 Per-Process Parameters
37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
39 3.2 /proc/<pid>/oom_score - Display current oom-killer score
40 3.3 /proc/<pid>/io - Display the IO accounting fields
41 3.4 /proc/<pid>/coredump_filter - Core dump filtering settings
42 3.5 /proc/<pid>/mountinfo - Information about mounts
44 3.7 /proc/<pid>/task/<tid>/children - Information about task children
45 3.8 /proc/<pid>/fdinfo/<fd> - Information about opened file
46 3.9 /proc/<pid>/map_files - Information about memory mapped files
47 3.10 /proc/<pid>/timerslack_ns - Task timerslack value
48 3.11 /proc/<pid>/patch_state - Livepatch patch operation state
49 3.12 /proc/<pid>/arch_status - Task architecture specific information
50 3.13 /proc/<pid>/fd - List of symlinks to open files
51 3.14 /proc/<pid/ksm_stat - Information about the process's ksm status.
53 4 Configuring procfs
62 ------------------------
70 we know, it is the first 'all-in-one' document about the /proc file system. It
73 It also only covers IPv4 networking, not IPv6 nor other protocols - sorry. But
92 mailing list at linux-[email protected] and/or try to reach me at
96 ---------------
106 ---------------
113 ------------------------------------------------------------------------------
119 First, we'll take a look at the read-only parts of /proc. In Chapter 2, we
122 1.1 Process-Specific Subdirectories
123 -----------------------------------
129 subdirectory has the entries listed in Table 1-1.
139 .. table:: Table 1-1: Process specific entries in /proc
144 clear_refs Clears page referenced bits shown in smaps output
158 symbol the task is blocked in - or "0" if not blocked.
159 pagemap Page table
184 VmPeak: 5004 kB
185 VmSize: 5004 kB
186 VmLck: 0 kB
187 VmHWM: 476 kB
188 VmRSS: 476 kB
189 RssAnon: 352 kB
190 RssFile: 120 kB
191 RssShmem: 4 kB
192 VmData: 156 kB
193 VmStk: 88 kB
194 VmExe: 68 kB
195 VmLib: 1412 kB
196 VmPTE: 20 kb
197 VmSwap: 0 kB
198 HugetlbPages: 0 kB
223 file /proc/PID/status. It fields are described in table 1-2.
226 memory usage. Its seven fields are explained in Table 1-3. The stat file
228 explained in Table 1-4.
234 snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table.
237 .. table:: Table 1-2: Contents of the status fields (as of 4.19)
278 VmPTE size of page table entries
311 .. table:: Table 1-3: Contents of the statm fields (as of 2.6.8-rc3)
329 .. table:: Table 1-4: Contents of the stat fields (as of 2.6.30-rc7)
398 08048000-08049000 r-xp 00000000 03:00 8312 /opt/test
399 08049000-0804a000 rw-p 00001000 03:00 8312 /opt/test
400 0804a000-0806b000 rw-p 00000000 00:00 0 [heap]
401 a7cb1000-a7cb2000 ---p 00000000 00:00 0
402 a7cb2000-a7eb2000 rw-p 00000000 00:00 0
403 a7eb2000-a7eb3000 ---p 00000000 00:00 0
404 a7eb3000-a7ed5000 rw-p 00000000 00:00 0
405 a7ed5000-a8008000 r-xp 00000000 03:00 4222 /lib/libc.so.6
406 a8008000-a800a000 r--p 00133000 03:00 4222 /lib/libc.so.6
407 a800a000-a800b000 rw-p 00135000 03:00 4222 /lib/libc.so.6
408 a800b000-a800e000 rw-p 00000000 00:00 0
409 a800e000-a8022000 r-xp 00000000 03:00 14462 /lib/libpthread.so.0
410 a8022000-a8023000 r--p 00013000 03:00 14462 /lib/libpthread.so.0
411 a8023000-a8024000 rw-p 00014000 03:00 14462 /lib/libpthread.so.0
412 a8024000-a8027000 rw-p 00000000 00:00 0
413 a8027000-a8043000 r-xp 00000000 03:00 8317 /lib/ld-linux.so.2
414 a8043000-a8044000 r--p 0001b000 03:00 8317 /lib/ld-linux.so.2
415 a8044000-a8045000 rw-p 0001c000 03:00 8317 /lib/ld-linux.so.2
416 aff35000-aff4a000 rw-p 00000000 00:00 0 [stack]
417 ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
448 ioctl()-based API that gives ability to flexibly and efficiently query and
460 08048000-080bc000 r-xp 00000000 03:02 13130 /bin/bash
462 Size: 1084 kB
463 KernelPageSize: 4 kB
464 MMUPageSize: 4 kB
465 Rss: 892 kB
466 Pss: 374 kB
467 Pss_Dirty: 0 kB
468 Shared_Clean: 892 kB
469 Shared_Dirty: 0 kB
470 Private_Clean: 0 kB
471 Private_Dirty: 0 kB
472 Referenced: 892 kB
473 Anonymous: 0 kB
474 KSM: 0 kB
475 LazyFree: 0 kB
476 AnonHugePages: 0 kB
477 ShmemPmdMapped: 0 kB
478 Shared_Hugetlb: 0 kB
479 Private_Hugetlb: 0 kB
480 Swap: 0 kB
481 SwapPss: 0 kB
482 KernelPageSize: 4 kB
483 MMUPageSize: 4 kB
484 Locked: 0 kB
490 mapping (size); the size of each page allocated when backing a VMA
491 (KernelPageSize), which is usually the same as the size in the page table
492 entries; the page size used by the MMU when backing a VMA (in most cases,
499 in memory, where each page is divided by the number of processes sharing it.
505 Note that even a page which is part of a MAP_SHARED mapping, but has only
514 and a page is modified, the file page is replaced by a private anonymous copy.
516 "KSM" reports how many of the pages are KSM pages. Note that KSM-placed zeropages
531 hugetlbfs page which is *not* counted in "RSS" or "PSS" field for historical
534 "Swap" shows how much would-be-anonymous memory is also used, but out on swap.
537 replaced by copy-on-write) part of the underlying shmem object out on swap.
539 does not take into account swapped out page of underlying shmem objects.
571 sf synchronous page fault
577 hg huge page advise flag
578 nh no huge page advise flag
580 bt arm64 BTI guarded page
583 uw userfaultfd wr-protect tracking
584 ss shadow/guarded control stack page
590 be vanished or the reverse -- new added. Interpretation of their meaning
613 - Pss_Anon
614 - Pss_File
615 - Pss_Shmem
625 soft-dirty bit on pte (see Documentation/admin-guide/mm/soft-dirty.rst
639 To clear the soft-dirty bit::
641 > echo 4 > /proc/PID/clear_refs
651 using /proc/kpageflags and number of times a page is mapped using
653 Documentation/admin-guide/mm/pagemap.rst.
662 00400000 default file=/usr/local/bin/app mapped=1 active=0 N3=1 kernelpagesize_kB=4
663 00600000 default file=/usr/local/bin/app anon=1 dirty=1 N3=1 kernelpagesize_kB=4
664 3206000000 default file=/lib64/ld-2.12.so mapped=26 mapmax=6 N0=24 N3=2 kernelpagesize_kB=4
665 320621f000 default file=/lib64/ld-2.12.so anon=1 dirty=1 N3=1 kernelpagesize_kB=4
666 3206220000 default file=/lib64/ld-2.12.so anon=1 dirty=1 N3=1 kernelpagesize_kB=4
667 3206221000 default anon=1 dirty=1 N3=1 kernelpagesize_kB=4
668 …3206800000 default file=/lib64/libc-2.12.so mapped=59 mapmax=21 active=55 N0=41 N3=18 kernelpagesi…
669 320698b000 default file=/lib64/libc-2.12.so
670 3206b8a000 default file=/lib64/libc-2.12.so anon=2 dirty=2 N3=2 kernelpagesize_kB=4
671 3206b8e000 default file=/lib64/libc-2.12.so anon=1 dirty=1 N3=1 kernelpagesize_kB=4
672 3206b8f000 default anon=3 dirty=3 active=1 N3=3 kernelpagesize_kB=4
673 7f4dc10a2000 default anon=3 dirty=3 N3=3 kernelpagesize_kB=4
674 7f4dc10b4000 default anon=2 dirty=2 active=1 N3=2 kernelpagesize_kB=4
676 7fff335f0000 default stack anon=3 dirty=3 N3=3 kernelpagesize_kB=4
677 7fff3369d000 default mapped=1 mapmax=35 active=0 N3=1 kernelpagesize_kB=4
683 "policy" reports the NUMA memory policy set for the mapping (see Documentation/admin-guide/mm/numa_…
685 "mapping details" summarizes mapping data such as mapping type, page usage counters,
686 node locality page counters (N0 == node0, N1 == node1, ...) and the kernel page
687 size, in KB, that is backing the mapping up.
690 ---------------
694 /proc and are listed in Table 1-5. Not all of these will be present in your
698 .. table:: Table 1-5: Kernel info in /proc
745 pagetypeinfo Additional page allocator information (see text) (2.5)
747 pci Deprecated info of PCI bus (new way -> /proc/bus/pci/,
769 0: 8728810 XT-PIC timer
770 1: 895 XT-PIC keyboard
771 2: 0 XT-PIC cascade
772 3: 531695 XT-PIC aha152x
773 4: 2014133 XT-PIC serial
774 5: 44401 XT-PIC pcnet_cs
775 8: 2 XT-PIC rtc
776 11: 8 XT-PIC i82365
777 12: 182918 XT-PIC PS/2 Mouse
778 13: 1 XT-PIC fpu
779 14: 1232265 XT-PIC ide0
780 15: 7 XT-PIC ide1
789 0: 1243498 1214548 IO-APIC-edge timer
790 1: 8949 8958 IO-APIC-edge keyboard
791 2: 0 0 XT-PIC cascade
792 5: 11286 10161 IO-APIC-edge soundblaster
793 8: 1 0 IO-APIC-edge rtc
794 9: 27422 27407 IO-APIC-edge 3c503
795 12: 113645 113873 IO-APIC-edge PS/2 Mouse
796 13: 0 0 XT-PIC fpu
797 14: 22491 24012 IO-APIC-edge ide0
798 15: 2183 2415 IO-APIC-edge ide1
799 17: 30564 30414 IO-APIC-level eth0
800 18: 177 164 IO-APIC-level bttv
810 ERR is incremented in the case of errors in the IO-APIC bus (the bus that
812 the IO-APIC automatically retry the transmission, so it should not be a big
813 problem, but you should read the SMP-FAQ.
856 0 10 12 14 16 18 2 4 6 8 prof_cpu_mask
878 1024-1031
880 The default_smp_affinity mask applies to all non-active IRQs, which are the
882 /proc/irq/[0-9]* directory.
891 The way IRQs are routed is handled by the IO-APIC, and it's Round Robin
894 best choice for almost everyone. [Note this applies only to those IO-APIC's
904 Linux uses slab pools for memory management above page level in version 2.2.
912 Node 0, zone DMA 0 4 5 4 4 3 ...
923 ZONE_DMA, 4 chunks of 2^1*PAGE_SIZE in ZONE_DMA, 101 chunks of 2^4*PAGE_SIZE
930 Page block order: 9
933 …Free pages count per migrate type at order 0 1 2 3 4 5 6 …
950 migrate types into the same contiguous regions of memory called page blocks.
951 A page block is typically the size of the default hugepage size, e.g. 2MB on
952 X86-64. By keeping pages grouped based on their ability to move, the kernel
953 can reclaim pages within a page block to satisfy a high-order allocation.
955 The pagetypinfo begins with information on the size of a page block. It
957 by migrate-type and finishes with details on how many page blocks of each
983 > tail -n +3 /proc/allocinfo | sort -rn
988 13377536 234 block/blk-mq.c:3421 func:blk_mq_alloc_rqs
991 4206592 4 net/netfilter/nf_conntrack_core.c:2567 func:nf_ct_alloc_hashtable
1015 MemTotal: 32858820 kB
1016 MemFree: 21001236 kB
1017 MemAvailable: 27214312 kB
1018 Buffers: 581092 kB
1019 Cached: 5587612 kB
1020 SwapCached: 0 kB
1021 Active: 3237152 kB
1022 Inactive: 7586256 kB
1023 Active(anon): 94064 kB
1024 Inactive(anon): 4570616 kB
1025 Active(file): 3143088 kB
1026 Inactive(file): 3015640 kB
1027 Unevictable: 0 kB
1028 Mlocked: 0 kB
1029 SwapTotal: 0 kB
1030 SwapFree: 0 kB
1031 Zswap: 1904 kB
1032 Zswapped: 7792 kB
1033 Dirty: 12 kB
1034 Writeback: 0 kB
1035 AnonPages: 4654780 kB
1036 Mapped: 266244 kB
1037 Shmem: 9976 kB
1038 KReclaimable: 517708 kB
1039 Slab: 660044 kB
1040 SReclaimable: 517708 kB
1041 SUnreclaim: 142336 kB
1042 KernelStack: 11168 kB
1043 PageTables: 20540 kB
1044 SecPageTables: 0 kB
1045 NFS_Unstable: 0 kB
1046 Bounce: 0 kB
1047 WritebackTmp: 0 kB
1048 CommitLimit: 16429408 kB
1049 Committed_AS: 7715148 kB
1050 VmallocTotal: 34359738367 kB
1051 VmallocUsed: 40444 kB
1052 VmallocChunk: 0 kB
1053 Percpu: 29312 kB
1054 EarlyMemtestBad: 0 kB
1055 HardwareCorrupted: 0 kB
1056 AnonHugePages: 4149248 kB
1057 ShmemHugePages: 0 kB
1058 ShmemPmdMapped: 0 kB
1059 FileHugePages: 0 kB
1060 FilePmdMapped: 0 kB
1061 CmaTotal: 0 kB
1062 CmaFree: 0 kB
1067 Hugepagesize: 2048 kB
1068 Hugetlb: 0 kB
1069 DirectMap4k: 401152 kB
1070 DirectMap2M: 10008576 kB
1071 DirectMap1G: 24117248 kB
1084 page cache to function well, and that not all reclaimable
1091 In-memory cache for files read from the disk (the
1135 Non-file backed pages mapped into userspace page tables
1145 in-kernel data structures cache
1153 Memory consumed by userspace page tables
1155 Memory consumed by secondary page tables, this currently includes
1173 CommitLimit = ([total RAM pages] - [total huge TLB pages]) *
1181 in mm/overcommit-accounting.
1206 The amount of RAM/memory in kB, that was identified as corrupted
1208 be displayed at all. Size is never rounded down to 0 kB.
1209 That means if 0 kB is reported, you can safely assume
1213 The amount of RAM/memory in KB, the kernel identifies as
1216 Non-file backed huge pages mapped into userspace page tables
1223 Memory used for filesystem data (page cache) allocated
1226 Page cache mapped into userspace with huge pages
1232 See Documentation/admin-guide/mm/hugetlbpage.rst.
1234 Breakdown of page table sizes used in the kernel's
1260 0xffffc20000000000-0xffffc20000201000 2101248 alloc_large_system_hash+0x204 ...
1262 0xffffc20000201000-0xffffc20000302000 1052672 alloc_large_system_hash+0x204 ...
1264 0xffffc20000302000-0xffffc20000304000 8192 acpi_tb_verify_table+0x21/0x4f...
1266 0xffffc20000304000-0xffffc20000307000 12288 acpi_tb_verify_table+0x21/0x4f...
1268 0xffffc2000031d000-0xffffc2000031f000 8192 init_vdso_vars+0x112/0x210
1269 0xffffc2000031f000-0xffffc2000032b000 49152 cramfs_uncompress_init+0x2e ...
1271 0xffffc2000033a000-0xffffc2000033d000 12288 sys_swapon+0x640/0xac0 ...
1273 0xffffc20000347000-0xffffc2000034c000 20480 xt_alloc_table_info+0xfe ...
1274 /0x130 [x_tables] pages=4 vmalloc N0=4
1275 0xffffffffa0000000-0xffffffffa000f000 61440 sys_init_module+0xc27/0x1d00 ...
1277 0xffffffffa000f000-0xffffffffa0014000 20480 sys_init_module+0xc27/0x1d00 ...
1278 pages=4 vmalloc N1=4
1279 0xffffffffa0014000-0xffffffffa0017000 12288 sys_init_module+0xc27/0x1d00 ...
1281 0xffffffffa0017000-0xffffffffa0022000 45056 sys_init_module+0xc27/0x1d00 ...
1305 --------------------------------
1307 The subdirectory /proc/net follows the usual pattern. Table 1-8 shows the
1309 support this. Table 1-9 lists the files and their meaning.
1312 .. table:: Table 1-8: IPv6 info in /proc/net
1328 .. table:: Table 1-9: Network info in /proc/net
1350 softnet_stat Per-CPU incoming packets queues statistics of online CPUs
1366 Inter-|Receive |[...
1385 -------------
1395 Type: Direct-Access ANSI SCSI revision: 03
1397 Vendor: PIONEER Model: CD-ROM DR-U06S Rev: 1.04
1398 Type: CD-ROM ANSI SCSI revision: 02
1405 AHA-2940 SCSI adapter::
1409 Adaptec AIC7xxx driver version: 5.1.19/3.2.4
1415 SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
1422 Allocated 15, HW 16, Page 255
1448 ---------------------------------------
1454 These directories contain the four files shown in Table 1-10.
1457 .. table:: Table 1-10: Files in /proc/parport
1462 autoprobe Any IEEE-1284 device ID information that has been acquired.
1473 -------------------------
1477 this directory, as shown in Table 1-11.
1480 .. table:: Table 1-11: Files in /proc/tty
1494 pty_slave /dev/pts 136 0-255 pty:slave
1495 pty_master /dev/ptm 128 0-255 pty:master
1496 pty_slave /dev/ttyp 3 0-255 pty:slave
1497 pty_master /dev/pty 2 0-255 pty:master
1498 serial /dev/cua 5 64-67 serial:callout
1499 serial /dev/ttyS 4 64-67 serial
1500 /dev/tty0 /dev/tty0 4 0 system:vtmaster
1504 unknown /dev/tty 4 1-63 console
1508 -------------------------------------------------
1533 - user: normal processes executing in user mode
1534 - nice: niced processes executing in user mode
1535 - system: processes executing in kernel mode
1536 - idle: twiddling thumbs
1537 - iowait: In a word, iowait stands for waiting for I/O to complete. But there
1543 2. In a multi-core CPU, the task waiting for I/O to complete is not running
1549 - irq: servicing interrupts
1550 - softirq: servicing softirqs
1551 - steal: involuntary wait
1552 - guest: running a normal guest
1553 - guest_nice: running a niced guest
1583 -------------------------------
1588 /proc/fs/ext4/sda9 or /proc/fs/ext4/dm-0). The files in each per-device
1589 directory are shown in Table 1-12, below.
1591 .. table:: Table 1-12: Files in /proc/fs/ext4/<devname>
1599 -------------------
1606 tty0 -WU (ECp) 4:7
1607 ttyS0 -W- (Ep) 4:64
1611 +--------------------+-------------------------------------------------------+
1617 +--------------------+-------------------------------------------------------+
1624 +--------------------+-------------------------------------------------------+
1627 +--------------------+-------------------------------------------------------+
1630 -------
1643 ---------------
1649 ------------------------------------------------------------------------------
1673 Please see: Documentation/admin-guide/sysctl/ directory for descriptions of
1677 -------
1686 Chapter 3: Per-process Parameters
1689 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1690 --------------------------------------------------------------------------------
1712 is used to determine which task to kill. Acceptable values range from -1000
1715 task or completely disabling it. The lowest possible value, -1000, is
1723 50% more memory. A value of -500, on the other hand, would be roughly
1728 be used to tune the badness score. Its acceptable values range from -16
1729 (OOM_ADJUST_MIN) to +15 (OOM_ADJUST_MAX) and a special value of -17
1738 3.2 /proc/<pid>/oom_score - Display current oom-killer score
1739 -------------------------------------------------------------
1741 This file can be used to check the current score used by the oom-killer for
1743 process should be killed in an out-of-memory situation.
1749 3.3 /proc/<pid>/io - Display the IO accounting fields
1750 -------------------------------------------------------
1816 accurate for block-backed filesystems. <please add status regarding NFS and
1825 the storage layer. This is done at page-dirtying time.
1844 At its current implementation state, this is a bit racy on 32-bit machines:
1846 of those 64-bit counters, process A could see an intermediate result.
1852 3.4 /proc/<pid>/coredump_filter - Core dump filtering settings
1853 ---------------------------------------------------------------
1857 Conversely, sometimes we want to save file-backed memory segments into a core
1867 - (bit 0) anonymous private memory
1868 - (bit 1) anonymous shared memory
1869 - (bit 2) file-backed private memory
1870 - (bit 3) file-backed shared memory
1871 - (bit 4) ELF header pages in file-backed private memory areas (it is
1873 - (bit 5) hugetlb private memory
1874 - (bit 6) hugetlb shared memory
1875 - (bit 7) DAX private memory
1876 - (bit 8) DAX shared memory
1881 Note that bits 0-4 don't affect hugetlb or DAX memory. hugetlb memory is
1882 only affected by bit 5-6, and DAX is only affected by bits 7-8.
1899 3.5 /proc/<pid>/mountinfo - Information about mounts
1900 --------------------------------------------------------
1904 36 35 98:0 /mnt1 /mnt2 rw,noatime master:1 - ext3 /dev/root rw,errors=continue
1905 (1)(2)(3) (4) (5) (6) (n…m) (m+1)(m+2) (m+3) (m+4)
1910 (4) root: root of the mount within the filesystem
1917 (m+4) super options: per super block options
1940 --------------------------------------------------------
1948 3.7 /proc/<pid>/task/<tid>/children - Information about task children
1949 -------------------------------------------------------------------------
1954 Note the "first level" here -- if a child has its own children they will
1955 not be listed here; one needs to read /proc/<children-pid>/task/<tid>/children
1965 3.8 /proc/<pid>/fdinfo/<fd> - Information about opened file
1966 ---------------------------------------------------------------
1968 files have at least four fields -- 'pos', 'flags', 'mnt_id' and 'ino'.
1999 eventfd-count: 5a
2001 where 'eventfd-count' is hex value of a counter.
2044 …inotify wd:3 ino:9e7e sdev:800013 mask:800afce ignored_mask:0 fhandle-bytes:8 fhandle-type:1 f_han…
2053 fields 'fhandle-bytes', 'fhandle-type' and 'f_handle', all in hex
2067 fanotify flags:10 event-flags:0
2069 …fanotify ino:4f969 sdev:800013 mflags:0 mask:3b ignored_mask:40000000 fhandle-bytes:8 fhandle-type…
2071 where fanotify 'flags' and 'event-flags' are values used in fanotify_init
2117 exp_name: system-heap
2122 3.9 /proc/<pid>/map_files - Information about memory mapped files
2123 ---------------------------------------------------------------------
2127 | lr-------- 1 root root 64 Jan 27 11:24 333c600000-333c620000 -> /usr/lib64/ld-2.18.so
2128 | lr-------- 1 root root 64 Jan 27 11:24 333c81f000-333c820000 -> /usr/lib64/ld-2.18.so
2129 | lr-------- 1 root root 64 Jan 27 11:24 333c820000-333c821000 -> /usr/lib64/ld-2.18.so
2131 | lr-------- 1 root root 64 Jan 27 11:24 35d0421000-35d0422000 -> /usr/lib64/libselinux.so.1
2132 | lr-------- 1 root root 64 Jan 27 11:24 400000-41a000 -> /usr/bin/ls
2135 vm_area_struct::vm_start-vm_area_struct::vm_end.
2144 3.10 /proc/<pid>/timerslack_ns - Task timerslack value
2145 ---------------------------------------------------------
2155 Valid values are from 0 - ULLONG_MAX
2160 3.11 /proc/<pid>/patch_state - Livepatch patch operation state
2161 -----------------------------------------------------------------
2165 A value of '-1' indicates that no patch is in transition.
2177 3.12 /proc/<pid>/arch_status - task architecture specific status
2178 -------------------------------------------------------------------
2218 A special value of '-1' indicates that no AVX512 usage was recorded, thus
2222 3.13 /proc/<pid>/fd - List of symlinks to open files
2223 -------------------------------------------------------
2227 lr-x------ 1 root root 64 Sep 20 17:53 0 -> /dev/null
2228 l-wx------ 1 root root 64 Sep 20 17:53 1 -> /dev/null
2229 lrwx------ 1 root root 64 Sep 20 17:53 10 -> 'socket:[12539]'
2230 lrwx------ 1 root root 64 Sep 20 17:53 11 -> 'socket:[12540]'
2231 lrwx------ 1 root root 64 Sep 20 17:53 12 -> 'socket:[12542]'
2235 -------------------------------------------------------
2237 3.14 /proc/<pid/ksm_stat - Information about the process's ksm status
2238 ---------------------------------------------------------------------
2263 addresses. KSM will generate a ksm_rmap_item for each ksm-scanned page of
2284 to generate a number of rmap_items to save each scanned page's brief rmap
2303 Documentation/admin-guide/mm/ksm.rst.
2306 Chapter 4: Configuring procfs
2310 ---------------------
2320 hidepid=off or hidepid=0 means classic mode - everybody may access all
2334 by "kill -0 $PID"), but it hides process's uid and gid, which may be learned by
2340 hidepid=ptraceable or hidepid=4 means that procfs should only contain
2363 # strace -e mount mount -o hidepid=1 -t proc proc /tmp/proc
2374 # mount -o remount,hidepid=1 -t proc proc /tmp/proc
2387 # mount -o hidepid=invisible -t proc proc /proc
2388 # mount -o hidepid=noaccess -t proc proc /tmp/proc