From owner-freebsd-questions@FreeBSD.ORG Thu Aug 23 23:16:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D395106564A for ; Thu, 23 Aug 2012 23:16:35 +0000 (UTC) (envelope-from frank@undermydesk.org) Received: from amazone.undermydesk.org (amazone.undermydesk.org [213.211.198.100]) by mx1.freebsd.org (Postfix) with ESMTP id 512408FC0A for ; Thu, 23 Aug 2012 23:16:34 +0000 (UTC) Received: from amazone.undermydesk.org (localhost [127.0.0.1]) by amazone.undermydesk.org (Postfix) with ESMTP id D9421286E53; Fri, 24 Aug 2012 01:11:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at undermydesk.org Received: from amazone.undermydesk.org ([213.211.198.100]) by amazone.undermydesk.org (amazone.undermydesk.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FDvyT-Yn-H-U; Fri, 24 Aug 2012 01:11:26 +0200 (CEST) Received: from [192.168.0.74] (p57AE7096.dip.t-dialin.net [87.174.112.150]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by amazone.undermydesk.org (Postfix) with ESMTPSA id 70E02286E51; Fri, 24 Aug 2012 01:11:26 +0200 (CEST) Message-ID: <5036B897.1050101@undermydesk.org> Date: Fri, 24 Aug 2012 01:11:19 +0200 From: Frank Reppin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Jack Stone References: <5036B542.1040509@sage-american.com> In-Reply-To: <5036B542.1040509@sage-american.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: small script help 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: Thu, 23 Aug 2012 23:16:35 -0000 On 24.08.2012 00:57, Jack Stone wrote: [...] > How can I modify my script to see only the host based on the bottom line > above? pgrep(1) has an option (-j jid) to either include jails by given id or to exclude them (-j none). HTH, Frank Reppin -- 43rd Law of Computing: Anything that can go wr fortune: Segmentation violation -- Core dumped