diff options
Diffstat (limited to 'tests/vma-analyze.sh')
-rwxr-xr-x | tests/vma-analyze.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vma-analyze.sh b/tests/vma-analyze.sh index 7000922..77c4eb1 100755 --- a/tests/vma-analyze.sh +++ b/tests/vma-analyze.sh @@ -7,9 +7,9 @@ sleep=1 path=/mnt/ands/bin/vma_stats_mlx #-z seems ignored #$path -p $(pidof onlineDetectorSimulatorServer) -c 1 -z &> /dev/null -stats1=($($path -p $(pidof python) -c 1 | grep Rx | awk '{ print $3, $4 }')) +stats1=($($path -p $(ps xa | grep python3 | grep roof | awk '{print $1}') -c 1 | grep Rx | awk '{ print $3, $4 }')) sleep $sleep -stats2=($($path -p $(pidof python) -c 1 | grep Rx | awk '{ print $3, $4 }')) +stats2=($($path -p $(ps xa | grep pyth | grep roof | awk '{print $1}') -c 1 | grep Rx | awk '{ print $3, $4 }')) pksum=0 bwsum=0 |