[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Find hosts running bb client
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Find hosts running bb client
- From: "Asif Iqbal" <vadud3 (at) gmail.com>
- Date: Tue, 23 Dec 2008 22:50:37 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1QuiI6biAGRakKr9RUkTvf8GcC7PuNqRRTHBj8xYfNg=; b=s25OtZdXmByZ2eNK75Jdk5fpqxedUdMakthfgHhdDrueMjvcFxn6RjCK2/pf8/r6lq x+MF6KqlAt3v15N7CHA/ytPC4HUkOvbKFkghm3GUaMgcmO5unHn3tB/QEiqV+lRhvEGA SdTqezSIPzneFbwHBl59MxBZBPW75ouYRAY4c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AyKU+vPhyYxM9nwf5kVJACoGqawfZIlM2w0AYZnacUZqzSWr3w1j0f4dBpNZ2s9xlz vUGYwAFnFESNWVbTwDWWRKf55JaLvhV6rLspqOWcAz/igD6AnDaWq49zemZD1xKd7Zth GbwlTMqtm2xp0go0ZV89dKCyombPwZ29UVL/4=
- References: <a60f25fc0812231100t4cea6d73y4da026c4afd2d76b (at) mail.gmail.com> <girips$ra1$1 (at) voodoo.hswn.dk>
On Tue, Dec 23, 2008 at 3:47 PM, Henrik Størner <henrik (at) hswn.dk> wrote:
> In <a60f25fc0812231100t4cea6d73y4da026c4afd2d76b (at) mail.gmail.com> "Asif Iqbal" <vadud3 (at) gmail.com> writes:
>
>>I still have few servers that are running bb client and not hobbit
>>client. Is there a hobbit way to find out which servers still running
>>bb-client?
>
>>I could do some ugly tricks like this
>> awk '/^[1-9]/ {print $2}' server/etc/bb-hosts to get the list of hosts
>> do echo bb 127.0.0.1 \"clientlog $h section=uname\"; done > script.sh
>> run the script.sh
>> find the hosts with no output
>
> Easier way of doing the same:
> bb 127.0.0.1 "hobbitdboard test=cpu fields=hostname,client" | grep "|N"
sweet!!
>
> Merry xmas,
You too.
> Henrik
>
Thanks a lot
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu