File: benchmark-parallel-deploy

package info (click to toggle)
cdist 7.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,992 kB
  • sloc: sh: 16,815; python: 9,199; makefile: 344; awk: 261
file content (12 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

outfile="$1"; shift

(
   for host in "$@"; do
      hosts="$hosts $host"
      cdist config -c ~/p/cdist-nutzung -p $hosts 2>&1
   done
) | tee "$outfile"
echo "----------"
grep 'INFO: Total processing time for' "$outfile" | sed 's/.*: //'