Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Mar 2002 06:50:32 +0100
From:      "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
To:        Joe Abley <jabley@automagic.org>, Paul Halliday <dp@penix.org>
Cc:        Dan Nelson <dnelson@allantgroup.com>, "Daniel O'Connor" <doconnor@gsoft.com.au>, Danny Braniss <danny@cs.huji.ac.il>, Patrick Thomas <root@utility.clubscholarship.com>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: how do I see the current number of PTYs in use ?
Message-ID:  <5.1.0.14.0.20020302065001.01c9a058@mail.drwilco.net>
In-Reply-To: <1711D996-2D9F-11D6-94E9-00039312C852@automagic.org>
References:  <Pine.LNX.4.33.0203012321050.32637-100000@saruman.xwin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 00:33 2-3-2002 -0500, Joe Abley wrote:

>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.

And forks aren't cheap at all!

See: http://www.pricepoint.com/AllForks.html




Are we done being silly? =)

         Doc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020302065001.01c9a058>