Monitering process.
Tony Rogvall
tony@REDACTED
Fri May 23 14:34:46 CEST 2003
On Thu, 2003-05-22 at 16:26, Jeff Einhorn wrote:
> Is there a handy tool other than just i(). to moniter serveral erlang
> processes for how much cpu they are using. Something like top for
> individual erlang processes? I ask because using the reductions number
> is difficult to use to get an idea of how busy a process is at a certain
> point in time. (Or is there a way to grab the counts from somewhere so
> we can periodically compute a delta?).
>
> -jeff
try:
lists:map(fun(P) -> process_info(P, reductions) end, processes()).
or replace the 'reductions' with message_queue_len to see if you get a
bottle neck somewhere.
or use a combination.
--
Tony Rogvall <tony@REDACTED>
More information about the erlang-questions
mailing list