blob: fbced9bfd76976a1192729f6be8555a7e045b929 [file] [log] [blame]
J. Richard Barnette556038b2014-07-08 14:33:00 -07001#!/bin/bash
2
3# Go through all hosts known to the database for cautotest or
4# cautotest-cq. Find all hosts with a corresponding servo host.
5# Run servo-stat for each of those hosts.
6#
7# Output from servo-stat goes to stdout. Starting and ending
8# timestamps are recorded on stderr.
9
10cd $(dirname $0)
11
12date >&2
13for MASTER in cautotest cautotest-cq
14do
15 ../cli/atest host list -w $MASTER
16done | awk '$0 !~ /^Host / {print $1}' | sort |
17 ./haveservo | xargs -l1 ./servo-stat
18date >&2