Skip to content

Commit

Permalink
debugging: slides: give a few standard options for ps
Browse files Browse the repository at this point in the history
Give some common options to tune ps output

Fixes #178

Signed-off-by: Alexis Lothoré <[email protected]>
  • Loading branch information
Tropicao committed Jan 3, 2025
1 parent fb4aaa8 commit f0ea04a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion slides/debugging-common-tools/debugging-common-tools.tex
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,14 @@ \subsection{Process and CPU monitoring tools}
\item Almost always present on embedded platforms (provided by
{\em Busybox}).
\end{itemize}
\item By default, displays only the current user/current tty processes.
\item By default, displays only the current user/current tty processes,
but output is highly customizable:
\begin{itemize}
\item \code{aux}/\code{-e}: show all processes
\item \code{-L}: show threads
\item \code{-p}: target a specific process
\item \code{-o}: select output columns to display
\end{itemize}
\item Useful for scripting and parsing since its output is static.
\end{itemize}
\end{frame}
Expand Down

0 comments on commit f0ea04a

Please sign in to comment.