Help Center/
Huawei Cloud EulerOS/
User Guide/
Tuning of Transparent Huge Pages/
Viewing the THP Usage
Updated on 2025-07-21 GMT+08:00
Viewing the THP Usage
View the global THP usage.
cat /proc/meminfo | grep AnonHugePages
A non-0 value indicates transparent huge pages are used in the system.
Check whether a specific process is using THP.
cat /proc/<PID>/smaps | grep AnonHugePages
Replace <PID> with a process ID to check which memory segments of the process are using huge pages.
Parent topic: Tuning of Transparent Huge Pages
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot