From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 06:44:55 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E0C216A41F for ; Wed, 14 Dec 2005 06:44:55 +0000 (GMT) (envelope-from anirban.adhikary@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D08FC43D53 for ; Wed, 14 Dec 2005 06:44:54 +0000 (GMT) (envelope-from anirban.adhikary@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so38296nzo for ; Tue, 13 Dec 2005 22:44:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Au0NQ9TjPmJ89beLRA4td+dO/GtmAGz8OptO/C0+3kujOPcaDQPnysy6Qswls702JdA20L7ZruLo5qNy31TmGoexbtFswfEEXQ7vdNQxUSQjvuv2NdkovnxFRNNt78bPszhZUSxKAkPMNMxIoQqriBZVwPUgVLLtLs6vIDKxaww= Received: by 10.37.12.73 with SMTP id p73mr239945nzi; Tue, 13 Dec 2005 22:44:54 -0800 (PST) Received: by 10.36.220.80 with HTTP; Tue, 13 Dec 2005 22:44:53 -0800 (PST) Message-ID: <71c73b070512132244y1d8737ebhe32be069976add88@mail.gmail.com> Date: Wed, 14 Dec 2005 12:14:53 +0530 From: Anirban Adhikary To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: doubts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 06:44:55 -0000 Hi guys This is Anirban. I have a doubts on the following question. How to write a shell program that will check whether a server is up or down (on ping) and log the report to a file. Hope i will receive my answer soon. With regards Anirban.