diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-08-27 19:28:26 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-08-27 19:28:26 +0200 |
commit | 4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397 (patch) | |
tree | 5ebdbb4658502993a9981a40573a46c42c78f5fe | |
parent | a50f54320317c1012f6d798f5d8fbaff0eeb438b (diff) | |
download | notes-4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397.tar.gz notes-4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397.zip |
misc: fix comments
-rw-r--r-- | src/monitor/ps.md | 1 | ||||
-rw-r--r-- | src/network/tcpdump.md | 2 | ||||
-rw-r--r-- | src/trace_profile/perf.md | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/monitor/ps.md b/src/monitor/ps.md index a935c5c..d7ddf95 100644 --- a/src/monitor/ps.md +++ b/src/monitor/ps.md @@ -40,6 +40,7 @@ sigmask mask of blocked signals ## Example: Use output for scripting ```sh +# Print the cpu affinity for each thread of process 31084. for tid in $(ps -o tid --no-header -T -p 31084); do taskset -c -p $tid; done diff --git a/src/network/tcpdump.md b/src/network/tcpdump.md index 308d9a1..c6745a6 100644 --- a/src/network/tcpdump.md +++ b/src/network/tcpdump.md @@ -4,7 +4,7 @@ ```markdown tcpdump [opts] -i <if> [<filter>] - -n Don't covert host/port names. + -n Don't convert host/port names. -w <file|-> Write pcap trace to file or stdout (-). -r <file> Read & parse pcap file. ``` diff --git a/src/trace_profile/perf.md b/src/trace_profile/perf.md index 7ce2ca2..0c92768 100644 --- a/src/trace_profile/perf.md +++ b/src/trace_profile/perf.md @@ -165,7 +165,7 @@ The following gives an example for a scenario where we have the following calls - `main -> do_bar() -> do_work()` ```sh -perf report --stdio -g graph,callee +perf report --stdio -g graph,caller # Children Self Command Shared Object Symbols # ........ ........ ....... .................... ................. |