<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I've used this <br><br>http://www.linux.com/archive/feature/136114<br><br>it got results..also http://oprofile.sourceforge.net/examples/<br>there's also a few more kernel profilers, that may shed some light<br>on the situation if your bottle necks are in kernel space rather than user space.<br><br><br>--- On <b>Mon, 27/7/09, Andrew Clayton <i>&lt;andrew@digital-domain.net&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Andrew Clayton &lt;andrew@digital-domain.net&gt;<br>Subject: Re: [dundee] Investigating resource hungry processes<br>To: dundee@lists.lug.org.uk<br>Date: Monday, 27 July, 2009, 7:28 PM<br><br><div class="plainMail">On Mon, 27 Jul 2009 19:06:43 +0100 (BST), Marcel Hecko wrote:<br><br>&gt; Hi Iain,<br>&gt; <br>&gt; we are using `iotop`, `ps` (ps -efH) and `lsof` (lsof
 -i for sockets)<br>&gt; to digg into the resources usage on the system.<br><br>Yeah, all good.&nbsp; strace is also useful. Like others, top is about the<br>very thing I look at, gives a good overall look at the current<br>situation.<br><br>Then of course you have /proc/PID with an abundance of information<br>(where most of the above get their information from).<br><br>Your lsof is useful in conjunction with /prot/PID/fd (list of open file<br>descriptors for that process)<br><br>pmap can be useful to view a processes memory mapping.<br><br>I highly recommend to install the sysstat package, which will do<br>periodic system stats gathering which can be queried with the sar<br>command (people from a Solaris background will probably recognise this).<br><br>This also includes iostat (like vmstat, but for blockdevices/filesystems).<br><br><br>Andrew<br><br>_______________________________________________<br>dundee GNU/Linux Users Group mailing list<br><a
 ymailto="mailto:dundee@lists.lug.org.uk" href="/mc/compose?to=dundee@lists.lug.org.uk">dundee@lists.lug.org.uk</a>&nbsp; <a href="http://dundeelug.org.uk" target="_blank">http://dundeelug.org.uk</a><br><a href="https://mailman.lug.org.uk/mailman/listinfo/dundee" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/dundee</a><br>Chat on IRC, #tlug on irc.lug.org.uk<br></div></blockquote></td></tr></table><br>