proc:smaps_file
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
proc:smaps_file [2017/04/05 09:58] – peter | proc:smaps_file [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Proc - smaps file ====== | ====== Proc - smaps file ====== | ||
+ | |||
+ | The **/ | ||
For SMP CONFIG users. | For SMP CONFIG users. | ||
Line 5: | Line 7: | ||
For making accounting scalable, RSS related information are handled in asynchronous manner and the value may not be very precise. | For making accounting scalable, RSS related information are handled in asynchronous manner and the value may not be very precise. | ||
- | The **/ | + | For each of mappings there is a series of lines such as the following: |
+ | ^address^perms^offset^dev^inode^pathname^ | ||
|08048000-080bc000|r-xp|00000000|03: | |08048000-080bc000|r-xp|00000000|03: | ||
+ | |||
+ | This shows the same information as is displayed for the mapping in [[Proc:maps file|/ | ||
+ | |||
+ | Additional information is also shown: | ||
|Size:|1084 kB| | |Size:|1084 kB| | ||
Line 22: | Line 29: | ||
|MMUPageSize: | |MMUPageSize: | ||
- | The first of these lines shows the same information as is displayed for the | + | where: |
- | mapping in / | + | |
- | (size), | + | |
- | process' | + | * **RSS** is the amount of the mapping that is currently resident in RAM. |
- | dirty private | + | * **PSS** is the process' |
- | MAP_SHARED | + | * **Shared_Clean** is the number of clean shared pages in the mapping. |
- | by only one process, is accounted as private | + | * **Shared_Dirty** is the number of dirty shared |
- | indicates the amount of memory currently marked as referenced or accessed. | + | * **Private_Clean** |
- | "Anonymous" | + | * **Private_Dirty** |
- | a mapping associated with a file may contain anonymous pages: when MAP_PRIVATE | + | * **Referenced** indicates the amount of memory currently marked as referenced or accessed. |
- | and a page is modified, the file page is replaced by a private anonymous copy. | + | * **Anonymous** shows the amount of memory that does not belong to any file. |
- | "Swap" | + | * Even a mapping associated with a file may contain anonymous pages: when **MAP_PRIVATE** and a page is modified, the file page is replaced by a private anonymous copy. |
- | swap. | + | * **Swap** shows how much would-be-anonymous memory is also used, but out on swap. |
+ | |||
+ | **NOTE: | ||
- | This file is only present if the CONFIG_MMU kernel configuration option is | ||
- | enabled. |
proc/smaps_file.1491386333.txt.gz · Last modified: 2020/07/15 09:30 (external edit)