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 /src/monitor/ps.md | |
parent | a50f54320317c1012f6d798f5d8fbaff0eeb438b (diff) | |
download | notes-4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397.tar.gz notes-4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397.zip |
misc: fix comments
Diffstat (limited to 'src/monitor/ps.md')
-rw-r--r-- | src/monitor/ps.md | 1 |
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 |