From 4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Tue, 27 Aug 2024 19:28:26 +0200 Subject: misc: fix comments --- src/monitor/ps.md | 1 + 1 file changed, 1 insertion(+) (limited to 'src/monitor/ps.md') 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 -- cgit v1.2.3