On Wednesday 04 April 2007 18:59:17 Maxim Veksler wrote: > 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.
Regarding per I/O stats: I don't believe there is a tool that can help you with that. However, there are ways to mitigate that. For example: 1. Bring the system to a minimal I/O work and minimal applications in memory. 2. Turn off swap. 3. Run applications and use top, etc... apps to view changes. also use: vmstat, cat /proc/interrupts, cat /proc/stat for interrupts usage if you know the interrupt your respective driver (ur app uses) uses. Also you can enable echo "1" >/proc/sys/vm/block_dump and tail /proc/kmsg to see application disk usage. More than that i can indicate for you of a way to use kprobe/jprobe to get a bit more stat accuracy but you will have to create a module (and maybe also the kernel but i am not sure). -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html ================================================================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]