Compare commits
6 Commits
8c4e4216ba
...
6995ce4554
| Author | SHA1 | Date | |
|---|---|---|---|
| 6995ce4554 | |||
| fa2e0cff6c | |||
| 9aef456534 | |||
| 885fb62a46 | |||
| 1ff5530fd1 | |||
| 4ae0ea2d8f |
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
N=500
|
N=500
|
||||||
|
|
||||||
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}")
|
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}")
|
||||||
|
|
||||||
if [ -z "$t" ]; then
|
if [ -z "$t" ]; then
|
||||||
t="5.00"
|
t="NaN"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
@ -16,3 +16,5 @@ 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