aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/monitor/ps.md
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-08-27 19:28:26 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-08-27 19:28:26 +0200
commit4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397 (patch)
tree5ebdbb4658502993a9981a40573a46c42c78f5fe /src/monitor/ps.md
parenta50f54320317c1012f6d798f5d8fbaff0eeb438b (diff)
downloadnotes-4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397.tar.gz
notes-4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397.zip
misc: fix comments
Diffstat (limited to 'src/monitor/ps.md')
-rw-r--r--src/monitor/ps.md1
1 files changed, 1 insertions, 0 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