[bootlin/training-materials updates] master: debugging: slides: debugging-common-tools: Use /proc when relevant (5724951c)
Herve Codina
herve.codina at bootlin.com
Tue Nov 15 17:36:05 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/5724951c51b96ef7cc38e2de9a171571fd5d06e8
>---------------------------------------------------------------
commit 5724951c51b96ef7cc38e2de9a171571fd5d06e8
Author: Herve Codina <herve.codina at bootlin.com>
Date: Tue Nov 15 17:31:35 2022 +0100
debugging: slides: debugging-common-tools: Use /proc when relevant
Add /proc when relevant and fix some entries using /proc
instead of /sys.
Signed-off-by: Herve Codina <herve.codina at bootlin.com>
>---------------------------------------------------------------
5724951c51b96ef7cc38e2de9a171571fd5d06e8
slides/debugging-common-tools/debugging-common-tools.tex | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/slides/debugging-common-tools/debugging-common-tools.tex b/slides/debugging-common-tools/debugging-common-tools.tex
index 849e84e7..c6b72aee 100644
--- a/slides/debugging-common-tools/debugging-common-tools.tex
+++ b/slides/debugging-common-tools/debugging-common-tools.tex
@@ -193,9 +193,9 @@ liblqr-1.so.0 => /lib/x86_64-linux-gnu/liblqr-1.so.0 (0x00007fb4b6e00000)
\item Memory with {\em free}, {\em vmstat}
\item Networking
\end{itemize}
- \item Almost all these tools relies on the {\em sysfs} filesystem to obtain
- the processes, memory and system information but will display them in
- a more human readable way.
+ \item Almost all these tools relies on the {\em sysfs} or {\em procfs}
+ filesystem to obtain the processes, memory and system information but
+ will display them in a more human readable way.
\begin{itemize}
\item Networking tools uses a netlink interface with the networking
subsystem of the kernel.
@@ -213,7 +213,7 @@ liblqr-1.so.0 => /lib/x86_64-linux-gnu/liblqr-1.so.0 (0x00007fb4b6e00000)
\item Display PID, CPU usage, memory usage, uptime, etc.
\end{itemize}
\begin{itemize}
- \item Uses {\em /sys/<pid>/} directory to obtain process information.
+ \item Uses {\em /proc/<pid>/} directory to obtain process information.
\item Always present on almost all embedded platforms (provided by
{\em busybox}).
\end{itemize}
More information about the training-materials-updates
mailing list