From owner-freebsd-hackers Fri Mar 1 14:20: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 8EE3C37B402 for ; Fri, 1 Mar 2002 14:19:53 -0800 (PST) Received: from localhost (root@localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.2/8.12.2) with ESMTP id g21MJeZR000200; Sat, 2 Mar 2002 08:49:41 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: how do I see the current number of PTYs in use ? From: "Daniel O'Connor" To: Danny Braniss Cc: Paul Halliday , Patrick Thomas , freebsd-hackers@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 02 Mar 2002 09:49:40 +1130 Message-Id: <1015021184.19697.25.camel@chowder.gsoft.com.au> Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 Fri, 2002-03-01 at 21:19, Danny Braniss wrote: > fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l > > is IMHO correct, ;-) Ach, of course :) I hope the original poster is satisfied 8-) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message