diff options
Diffstat (limited to 'src/monitor')
-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 |