script to analyse the udp receivers cpu consumption

This commit is contained in:
2022-03-17 20:30:27 +01:00
parent 72386e432c
commit 4be2732d20
+12
View File
@@ -0,0 +1,12 @@
#! /bin/bash
while : ; do sleep 1 && echo $(date) && top -b -p 12790,12775,12774,12778 -n 1 | tail -n4;
#while true; do:
# sleep 1
# echo $(date)
# top -b -p 12790,12775,12774, 12778 -n1 | tail -4
# if [[ $input = "q" ]] || [[ $input = "Q" ]]
# then
# echo "Q pressed, quitting..."
# break
# fi;
done