add scripts/watch-threads.sh for showing runtime stats

Includes per-thread cpu affinity (PSR)
This commit is contained in:
Joakim Frostegård 2021-11-19 00:14:46 +01:00
parent 3d88689c77
commit c1f2d036c0

3
scripts/watch-threads.sh Executable file
View file

@ -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`