From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079336919145.tru64-unix-managers.marc@archive.invalid> From: "Mireau, Devin" Date: Tue, 01 Feb 2000 16:36:58 +0000 To: tru64-unix-managers Subject: SUMMARY: how many threads is a particular user using? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079336919145 Thanks to Nikola Milutinovic & Udo de Boer who referred me to the 'ps' switch that will display all threads for a user using the following: ps -m -A -o pid,tty,user,command I was then able to grep for a particular user and pipe it through 'wc' to see how many for that user. thanks a lot, Devin Mireau > -----Original Message----- > > Greetings managers, > > Does anyone know of a way to tell how many threads a particular user has > running? I want to determine if we actually hit a real ceiling regarding > the kernel parameter "maxuthreads" or if the application had some problems > and eventually reached this maximum value due to an application error. > Here is some of the output from kernel.log. > > Jan 30 06:00:03 SYSTEMNAME vmunix: thread_create() failed for pid 11964: > maxuthreads (=1560) exceeded for uid 305. > Jan 30 06:01:02 SYSTEMNAME vmunix: thread_create() failed for pid 12129: > maxuthreads (=1560) exceeded for uid 305. > Jan 30 06:01:02 SYSTEMNAME vmunix: WARNING -- process concurrency may be > reduced for process 12083, uid 305: > Jan 30 06:01:02 SYSTEMNAME vmunix: number of blocked threads exceeds > maxuthreads quothread_create() failed for pid 12087: maxuthreads (=1560) > exceeded for uid 305. > > Thanks in advance. I will summarize, > > Devin