From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kai Svahn Subject: Re: CPU usage on OMAP5912 Date: Mon, 09 Oct 2006 09:28:55 +0300 Message-ID: <4529EC27.5010200@nokia.com> References: <20061008111227.82784.qmail@web54310.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20061008111227.82784.qmail@web54310.mail.yahoo.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com Errors-To: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com To: nduongthanh@yahoo.com Cc: Linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org ext Duong Thanh Nguyen wrote: > Hello everyone, > > I have a question, when i run a program on OMAP5912, kernel Linux. I want to know > how much CPU percent and Memory of OMAP, that my program uses. I stuck at this point > for a long time. Does anyone know how? Can i write a C function in my program to > show these infomation Why don't you use top? That shows a percentage of memory usage and cpu usage. Cheers, Kai