1 Star 0 Fork 0

pelin0963 / MemProcFS.wiki

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
FS_Process_Status.md 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
Ulf Frisk 提交于 2019-01-16 22:06 . Updated FS: Process: .status (markdown)

The .status per-process directory

The directory .status exists as a sub-directory in each process directory.

The file contains Memory Process File System status and configuration settings related to each process. The settings are exposed as files - please find them listed below:

  • cache_file_enable: in-memory caching of memory pages when reading/writing memory in this process - always user writable!

NB! the cache_file_enable file will allow a user to disable read caching of memory on a per-process basis. This is only a meaningful setting if memory may change - such as when analyzing live memory with a write-capable memory acquisition device. This is not a meaningful setting (even though it works) if never changing read-only memory devices, such as memory dump files, are analyzed.

Example

The example below shows reading and writing to the cache_file_enable in the .status process directory.

[[resources/proc_status.png]]

For Developers

The .status sub-directory is implemented as a built-in native C-code plugin. The plugin source is located in the file m_status.c in the vmm project. In addition of being responsible for the per-process status and configuration settings it's responsible for global status and configuration.

1
https://gitee.com/pelin0963/MemProcFS-wiki.git
git@gitee.com:pelin0963/MemProcFS-wiki.git
pelin0963
MemProcFS-wiki
MemProcFS.wiki
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891