From c1f2d036c0cd65c8afe73da75aece612870ed9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Fri, 19 Nov 2021 00:14:46 +0100 Subject: [PATCH] add scripts/watch-threads.sh for showing runtime stats Includes per-thread cpu affinity (PSR) --- scripts/watch-threads.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/watch-threads.sh diff --git a/scripts/watch-threads.sh b/scripts/watch-threads.sh new file mode 100755 index 0000000..864fbad --- /dev/null +++ b/scripts/watch-threads.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +watch -d -n 0.5 ps H -o euser,pid,tid,comm,%mem,rss,%cpu,psr -p `pgrep aquatic`