diff options
author | gabime <gmelman1@gmail.com> | 2019-07-07 17:58:36 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2019-07-07 17:58:36 +0300 |
commit | a4ec91fd06472b2479381c476ef9964ea210bca8 (patch) | |
tree | e55c5065d015ae21fc2a763ed033ada6746ee383 /bench | |
parent | fd53472238f2b227e9dfcfc8a9337637f16d65e3 (diff) |
Cleaned bench folder
Diffstat (limited to 'bench')
-rw-r--r-- | bench/logs/.gitignore | 4 | ||||
-rwxr-xr-x | bench/mem | 19 |
2 files changed, 0 insertions, 23 deletions
diff --git a/bench/logs/.gitignore b/bench/logs/.gitignore deleted file mode 100644 index 40637012..00000000 --- a/bench/logs/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory
-*
-# Except this file
-!.gitignore
diff --git a/bench/mem b/bench/mem deleted file mode 100755 index c49744e7..00000000 --- a/bench/mem +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -if [ $# -lt 1 ]; then - echo "usage: $0 <program>" -fi - -PROG=$1 - -if [ ! -x "$PROG" ]; then - echo $PROG not found or not executable. - exit 1 -fi - -$* & -PID=$! - -while `kill -0 $PID 2>/dev/null`; do - ps -eo size,pid,user,pcpu,command --sort -size | awk '{ line=1 ; hr=$1/1024 ; printf("%13.2f Mb ",hr); } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }' | grep -v grep | grep -v $0 | grep $PROG -done |