From: Jeff Denham <jdenham@brighttiger.com>
Subject: Re: Performance Monitoring
Date: 1998/09/10 [thread overview]
Message-ID: <35F7D17C.6CA15087@brighttiger.com> (raw)
In-Reply-To: 6t7ae1$4e6$1@nnrp1.dejanews.com
vinny_in_vancouver@my-dejanews.com wrote:
> Hello,
>
> I'm doing performance monitoring on my alpha machine.
> One of the things I need to do is to test how my
> application will behave when it can no longer create
> threads due to the system limit being reached. I need
> a tool which will tell me how many threads are running
> in the system at a time. Also, if there's a tool which
> can show which applications have the most threads, that
> would be useful as well. Do you know of any tool or any
> way (I'm willing to write up code) which will be able
> to help me achieve my goals? Thanks in advance for the
> responses.
You can get way more complicated than this simple suggestion,
but 'ps -m' will show you all the kernel threads in a process.
For example
$ ps -mp 0
Will show all the internal kernel threads -- they hang
out in task 0. Maybe something like the TOP program
shows threads or can be easily modified to show
threads. It probably used the task_info and table
system calls, or maybe /proc, to get the scoop on all
processes.
__________________________________________________
Jeff Denham (jdenham@brighttiger.com)
Bright Tiger Technologies
SmartCluster� Software for Distributed Web Servers
http://www.brighttiger.com
125 Nagog Park
Acton, MA 01720
Phone: (978) 263-5455 x177
Fax: (978) 263-5547
next prev parent reply other threads:[~1998-09-10 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-10 4:00 Performance Monitoring vinny_in_vancouver
1998-09-10 4:00 ` Jeff Denham [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-09-10 4:00 bob
1997-09-15 4:00 ` lombardi emanuele
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox