LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-07-2010, 10:30 AM   #1
aryan1
Member
 
Registered: Jul 2009
Posts: 50

Rep: Reputation: 16
Question Linux IPC Profiler/Debugger


Hi All,

I have an application which contains several C++ modules which run as Linux daemons, and communicate to each other via IPC (specifically, message queues).

For now, the only tool that I know to get useful statistics information about message queues (or other IPCs as well) is "ipcs" command, which lists all active IPC mechanisms in the system.

Is there any free/commercial tool that is capable of providing information about, for example, the number of messages written/read to/from a specific queue per second on a real-time basis, a history info about the messages sent/received, etc ? (To summarize, I want to know exactly what is happening)

I am eager to hear about any tool (if any) that works for other IPC mechanisms as well (shared memories, etc).

I use Ubuntu by the way.

Thanks.

Last edited by aryan1; 01-07-2010 at 10:31 AM.
 
Old 01-09-2010, 07:07 AM   #2
manavendra
LQ Newbie
 
Registered: May 2009
Location: Bangalore, India
Distribution: Kubuntu 2.6.31-14
Posts: 19

Rep: Reputation: 2
you can try using 'ddd' command.

For realtime performance analysis, a more advanced tool 'ltt' known as 'linux trace tool' needs to be used.
 
Old 01-11-2010, 04:10 AM   #3
aryan1
Member
 
Registered: Jul 2009
Posts: 50

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by manavendra View Post
you can try using 'ddd' command.
If I am not wrong, 'ddd' is a graphical front-end for gdb, which is not what I am looking for.

Quote:
For realtime performance analysis, a more advanced tool 'ltt' known as 'linux trace tool' needs to be used.
Does 'ltt' provide real-time info about local IPCs ?
 
Old 01-11-2010, 07:47 AM   #4
manavendra
LQ Newbie
 
Registered: May 2009
Location: Bangalore, India
Distribution: Kubuntu 2.6.31-14
Posts: 19

Rep: Reputation: 2
Quote:
Originally Posted by aryan1 View Post
Does 'ltt' provide real-time info about local IPCs ?
yes, ltt can provide real-time info about running IPCs. From the wikipedia, http://en.wikipedia.org/wiki/Linux_Trace_Toolkit

The Linux Trace Toolkit (LTT) is a set of tools that is designed to log program execution details from a patched Linux kernel and then perform various analyses on them, using console-based and graphical tools. LTT allows the user to see in-depth information about the processes that were running during the trace period, including when context switches occurred, how long the processes were blocked for, and how much time the processes spent executing vs. how much time the processes were blocked. The data is logged to a text file and various console-based and graphical (GTK+) tools are provided for interpreting that data.
 
  


Reply



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
linux dvd profiler equivalent ckent Linux - Software 1 03-03-2007 07:50 PM
Linux System Profiler kazu Linux - Software 3 04-21-2005 12:31 AM
Memory profiler in Linux Franziss Programming 1 02-18-2005 12:29 PM
Adding a profiler to linux kernel scheduler svi_ya LinuxQuestions.org Member Intro 1 09-29-2004 07:31 AM
building a profiler for linux kernel scheduler svi_ya Programming 0 09-28-2004 04:23 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:22 PM.

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