Vincent Kiely told me to use the following:
> Try ps -mef , also lists threads not just processes.
Now I can count the threads with the following:
#> ps -emf -u oracle | wc
This number is almost 300, which was the maxuthreads.
  ----- Original Message ----- 
  From: Alejandra Davidson 
  To: tru64-unix-managers_at_ornl.gov 
  Sent: Tuesday, June 19, 2001 11:46 AM
  Subject: Maxuthreads exceeded
  I have de following error:
  _________________________________________________________________________
  Jun 19 11:04:12 ba20 vmunix:       number of blocked threads exceeds maxuthreads
  Jun 19 11:04:18 ba20 vmunix: thread_create() failed for pid 316300: maxuthreads
  (=300) exceeded for uid 401.
  Jun 19 11:04:32 ba20 vmunix: WARNING -- process concurrency may be reduced for p
  rocess 316303, uid 401:
  Jun 19 11:04:32 ba20 vmunix:       number of blocked threads exceeds maxuthreads
   qu
  ___________________________________________________________________________
   
  If I try to count processes for this particular user I got less than 80 (ps -ef | grep oracle |wc ó ps -m -A -o pid,tty,user,command | grep oracle | wc), but the message says 300!!!. 
  How can I count user threads? What am I counting when I do that ps? 
  Thanks,
  Alejandra.
  Alejandra Davidson
  adavidson_at_aluar.com.ar
Received on Tue Jun 19 2001 - 16:39:58 NZST