Compare commits
6 Commits
6995ce4554
...
8c4e4216ba
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c4e4216ba | |||
| 055ce75a75 | |||
| 25172b060c | |||
| 38061e4f15 | |||
| c614366aee | |||
| ee897cac7d |
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
N=500
|
N=500
|
||||||
|
|
||||||
t=$(ssh bsc015557@glogin2.bsc.es "timeout 5 command time -f %e touch /gpfs/projects/bsc15/bsc015557/gpfs.{1..$N} 2>&1; rm -f /gpfs/projects/bsc15/bsc015557/gpfs.{1..$N}")
|
t=$(timeout 5 ssh bsc015557@glogin2.bsc.es "timeout 3 command time -f %e touch /gpfs/projects/bsc15/bsc015557/gpfs.{1..$N} 2>&1; rm -f /gpfs/projects/bsc15/bsc015557/gpfs.{1..$N}")
|
||||||
|
|
||||||
if [ -z "$t" ]; then
|
if [ -z "$t" ]; then
|
||||||
t="NaN"
|
t="5.00"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
@ -16,5 +16,3 @@ Content-Type: text/plain; version=0.0.4; charset=utf-8; escaping=values
|
|||||||
# TYPE gpfs_touch_latency gauge
|
# TYPE gpfs_touch_latency gauge
|
||||||
gpfs_touch_latency $t
|
gpfs_touch_latency $t
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
env >&2
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user