From owner-freebsd-questions@FreeBSD.ORG Mon Oct 2 01:24:43 2006 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 0345616A51B for ; Mon, 2 Oct 2006 01:24:43 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4909343D4C for ; Mon, 2 Oct 2006 01:24:42 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.03) with ESMTP id k921OfUV023164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 1 Oct 2006 18:24:41 -0700 X-Auth-Received: from [128.208.5.99] (nilakantha.cs.washington.edu [128.208.5.99]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.03) with ESMTP id k921Ofmp018547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 1 Oct 2006 18:24:41 -0700 Message-ID: <45206A59.3030008@u.washington.edu> Date: Sun, 01 Oct 2006 18:24:41 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1532.12.170.206.13.1159751554.squirrel@admintool.trueband.net> In-Reply-To: <1532.12.170.206.13.1159751554.squirrel@admintool.trueband.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.0.266434, Antispam-Engine: 2.4.0.264935, Antispam-Data: 2006.10.1.175443 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Checking remote processes 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: Mon, 02 Oct 2006 01:24:43 -0000 jhall@vandaliamo.net wrote: > Is there a way to test a remote server to determine if certain processes > are running? > > For example, can server 1 check server 2, which is at a remote location, > to ensure squid is running? > > I have not been able to figure out how to do this, or if it is even possible. > > Thanks, > > > Jay > This is easily done with ssh: ssh remote_host_addr "ps aux | grep server_proc_name", i.e. ssh some.hosts.address "ps aux | grep httpd" -Garrett