diff options
author | Nathan Straz <nstraz@redhat.com> | 2013-09-27 12:43:03 -0400 |
---|---|---|
committer | Nathan Straz <nstraz@redhat.com> | 2013-10-02 14:11:33 -0400 |
commit | e5d68f8cfdc444791b28cb7b885a07cf62093c76 (patch) | |
tree | ffa31af74126ba4f23d635325d1ad5757c101e68 | |
parent | 044bfc699f1ced1ed03bcee6855a4752ab76ef01 (diff) | |
download | qarsh-e5d68f8cfdc444791b28cb7b885a07cf62093c76.tar.gz qarsh-e5d68f8cfdc444791b28cb7b885a07cf62093c76.tar.xz qarsh-e5d68f8cfdc444791b28cb7b885a07cf62093c76.zip |
Add a warning in qarsh about btimed
If we don't get a heart beat when qarsh starts, print a warning to check
on the btimed service. Commands could be stopped early if it doesn't
produce any output and qarsh thinks the host is down.
-rw-r--r-- | qarsh.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -235,6 +235,9 @@ run_remote_cmd(char *cmdline) } hbeat(qarsh_hb); + if (hbeat_getstate(qarsh_hb) == HOST_QUIET) { + fprintf(stderr, "WARNING: Heartbeat did not respond at start of command. Check btimed service on remote host\n"); + } cmd_finished = 0; for (;;) { if (cmd_finished) { |