mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-05 00:44:15 +02:00
script to analyse the udp receivers cpu consumption
This commit is contained in:
Executable
+12
@@ -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
|
||||
Reference in New Issue
Block a user