Maybe it's too trivial,
but try to check the CPU Time on the moments of slowliness, so you can tell:
- If the process' CPU Time progressing faster in moments of slowliness (High cpu load) - If there's hardly any progress in CPU Time (process is waiting for IO or some other resource) Also I tried to see what /proc/pid/stats give, nothing amazing but maybe it helps.


Maxim Veksler wrote:
On 4/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,

From your mail I cannot understand the context of your problem.
Are you looking for profiling tools to improve programs developed by you or a user that wants to understand why a process is slow?


Both. The application in question is developed in-house. Aside from
profiling each module I would like to know why the service "chocks"
after calling it for X concurrent sessions. I'm looking for a tool
that could show, in real time, why the service is busy: is it cpu / io
or memory (causing kernel to swap) intensive. I would have used the
term "bottle neck" to describe what I'm looking to solve, it's just
that it's possible that it's not a "bottle neck" but a simple bug.

Thank you for helping,
Maxim.

Best regards,

Yaron Kahanovitch

----- Original Message -----
From: "Maxim Veksler" <[EMAIL PROTECTED]>
To: "Linux-IL," <linux-il@linux.org.il>
Sent: 18:59:17 (GMT+0200) Asia/Jerusalem יום רביעי 4 אפריל 2007
Subject: Performance monitoring for selected process

Hi,

Except from "stracing -f" executables is there some way I can monitor
the process for performance? I would like to debug process delayed
response activity and need to know when it's doing heavy IO / when
it's CPU intensive and when it's all too busy waiting for IRQ.

A graphical display would be preferred, textual will do as well obviously.

For general system statistics, I've tried the following :
1. sysstat + kSar
2. gnome-system-monitor
3. ksysguard
4. ntop

All work great but are too general for my needs, I'm looking for tools
that could display single process statistics.


Thanks,
Maxim.

--
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?






=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to