> For the complete documentation index, see [llms.txt](https://richardweiyang-2.gitbook.io/kernel-exploring/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://richardweiyang-2.gitbook.io/kernel-exploring/nei-cun-guan-li/00-index-3.md).

# 观测数据

在真实系统运行中，针对不同的业务系统会产生不同的行为。同时在开发过程中，我们也想通过某些手段观测系统运行状态是否符合预期。

这部分我们总结梳理一下目前内核中针对内存管理行为的观测手段。

从统计范围的角度来区分的话，可以分成全局数据和进程数据。全局数据统计的是整个系统范围的，而进程数据统计的是单个进程的。

[全局观测](/kernel-exploring/nei-cun-guan-li/00-index-3/02-per_process/04-pagemap.md)

[进程观测](broken://pages/zqFaqyIm19OiIdteSAhQ)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://richardweiyang-2.gitbook.io/kernel-exploring/nei-cun-guan-li/00-index-3.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
