X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=src%2Fbash%2Fexe%2Fkhatus_sensor_procs.sh;fp=src%2Fbash%2Fexe%2Fkhatus_sensor_procs.sh;h=5a3c6317f9e49ecdd0731a238ea62e229f528181;hb=91ee40f32a8ab133c8fd2119c052bc02bf32bae2;hp=0000000000000000000000000000000000000000;hpb=c6a7396ebc93cec32a1465d878ac9d36465dcb19;p=khatus.git diff --git a/src/bash/exe/khatus_sensor_procs.sh b/src/bash/exe/khatus_sensor_procs.sh new file mode 100644 index 0000000..5a3c631 --- /dev/null +++ b/src/bash/exe/khatus_sensor_procs.sh @@ -0,0 +1,7 @@ +#! /bin/sh + +set -e + +dir_bin="$1" + +ps -eo pid,state ww --no-headers | "$dir_bin"/khatus_parse_ps