Skip site navigation (1)Skip section navigation (2)
Date:      02 Mar 2002 09:49:40 +1130
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        Paul Halliday <dp@penix.org>, 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:  <1015021184.19697.25.camel@chowder.gsoft.com.au>
In-Reply-To: <E16gjfE-000166-00@pampa.cs.huji.ac.il>
References:  <E16gjfE-000166-00@pampa.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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