Skip to content

Commit 465f7a1

Browse files
committed
process file
- Clarifies that process information in '/proc' is presented as human-readable files - Adds details on the ability to view, modify parameters, and use real-time information with monitoring tools
1 parent 8ff4130 commit 465f7a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/OS/Process/Process File.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Author Profile:
66
tags:
77
- OS
88
Creation Date: 2025-05-18, 20:26
9-
Last Date: 2025-05-18T21:00:15+08:00
9+
Last Date: 2025-05-18T21:06:31+08:00
1010
References:
1111
draft:
1212
description: Understand how Linux exposes process details through the /proc virtual filesystem. Learn about key files like cmdline, environ, fd, maps, status, limits, and io, vital for performance monitoring, debugging latency, and analyzing resource usage in critical applications.
@@ -15,7 +15,9 @@ description: Understand how Linux exposes process details through the /proc virt
1515
---
1616
![[process_dir.png]]
1717

18-
- For [[Linux Kernel|Linux]], we can view the [[Process (进程)|process]] info in the form of [[File|file]] under `/proc`
18+
- For [[Linux Kernel|Linux]], we can view the [[Process (进程)|process]] info in the form of [[File|file]] under `/proc/PID` in human-readable text format
19+
- It allows us to view and modify parameters, automate with shell scripts
20+
- We also feed these real-time system information to monitoring tools without requiring special APIs
1921

2022
>[!important] Key files
2123
> - `cmdline`: Contains the command line arguments used to start the process

0 commit comments

Comments
 (0)