aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/monitor/ps.md1
-rw-r--r--src/network/tcpdump.md2
-rw-r--r--src/trace_profile/perf.md2
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
# ........ ........ ....... .................... .................