Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2002 00:33:56 -0500
From:      Joe Abley <jabley@automagic.org>
To:        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:  <1711D996-2D9F-11D6-94E9-00039312C852@automagic.org>
In-Reply-To: <Pine.LNX.4.33.0203012321050.32637-100000@saruman.xwin.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1711D996-2D9F-11D6-94E9-00039312C852>