ref: 1013496423bee0a0aa0da083059555f41176d37f
parent: 1ae75e5509a2967ade062bad4eced22893660084
author: qwx <qwx@sciops.net>
date: Mon Jul 26 02:43:41 EDT 2021
add lstk: slightly modified acid lstk script from ori
--- /dev/null
+++ b/bin/lstk
@@ -1,0 +1,10 @@
+#!/bin/rc
+# from ori
+if(~ $#* 1)
+ p=$1
+if not if(~ $#* 0)
+ p=`{ps | grep Broken | awk '{print $2}' | sort -n | tail -n 1}
+if not
+ p 'usage: $0 [broken]' >[2=1]
+echo acid -l thread $p
+echo 'lstk()' | acid -l thread $p