LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2004, 09:07 PM   #1
rbarara
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
How reliable is /proc/stat information vs LTT ?


Hi all

I am working on an application where we need to find CPU utilization at regular intervals.

We extract information from /proc/stat/cpuinfo at regular intervals and take delta over a longer period of time to get CPU utilization.

Most of the times the CPu utilization is in line with LTT (Linux Trace Toolkit) but there are instances when LTT shows that CPU is 20-30% idle whereas our calculations show 100% CPU utilization.

Any input as to : whether LTT can be trusted more than the /proc/stat/cpuinfo ?

much thanks


Rajan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/stat values don't add up ! mike0w Linux - General 0 10-25-2005 05:01 AM
New cpu values in /proc/stat? eldonz Linux - General 1 10-19-2005 12:16 PM
/proc/stat cpu info GDarkBladE Linux - Software 2 10-11-2005 03:16 PM
/proc/stat cpu ahz Programming 1 04-24-2005 07:24 AM
Cannot find reliable information on shell commands Rakin Linux - Newbie 7 02-21-2003 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration