From owner-freebsd-hackers Fri Mar 1 21:34: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by hub.freebsd.org (Postfix) with ESMTP id 4CF9E37B417 for ; Fri, 1 Mar 2002 21:33:57 -0800 (PST) Received: from hyperion ([24.156.109.145]) by fep01-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.04.06 201-253-122-122-106-20020109) with ESMTP id <20020302053356.XTSH5488.fep01-mail.bloor.is.net.cable.rogers.com@hyperion>; Sat, 2 Mar 2002 00:33:56 -0500 Date: Sat, 2 Mar 2002 00:33:56 -0500 Subject: Re: how do I see the current number of PTYs in use ? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: Dan Nelson , "Daniel O'Connor" , Danny Braniss , Patrick Thomas , To: Paul Halliday From: Joe Abley In-Reply-To: Message-Id: <1711D996-2D9F-11D6-94E9-00039312C852@automagic.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.156.109.145] using ID at Sat, 2 Mar 2002 00:33:56 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday, March 2, 2002, at 12:23 , Paul Halliday wrote: > [00:12am]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | grep OCc | > wc -l Oh, and pstat -t | egrep -ic 'tty[pqrs].* OCc ' saves two forks. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message