OpenQNX :: The QNX Community Portal

May 17, 2008 - 11:57 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 32 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
veni
Post subject: QNX6 Performance Monitor tools  PostPosted: May 09, 2007 - 09:19 PM
Active Member


Joined: May 09, 2007
Posts: 12

1. what are the best performance monitoring tools to use for measuring
-CPU utilization by each process
-RAM utilzation by each process

2.how to configure tracelogger/IDE kernel trace logging to log for 24 hours and collect a snapshot of system state at every 1 minute.
 
 View user's profile Send private message  
Reply with quote Back to top
cburgess
Post subject: Re: QNX6 Performance Monitor tools  PostPosted: May 10, 2007 - 03:28 AM
QNX Master


Joined: Aug 31, 2004
Posts: 176
Location: Ottawa
veni wrote:
2.how to configure tracelogger/IDE kernel trace logging to log for 24 hours and collect a snapshot of system state at every 1 minute.


Depends on what you mean by snapshot. You could start tracelogger in daemon mode (-d1 -n0) and it will run forever. Then have another application enable all classes and once a minute do a TRACE_START/delay/TRACE_STOP. The time you delay is up to you.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bishmila
Post subject: RE: Re: QNX6 Performance Monitor tools  PostPosted: Jul 17, 2007 - 09:09 AM
Active Member


Joined: Dec 12, 2003
Posts: 23
Location: Madrid (Spain)
According to that question, does the tracelogger work fine? I have tried to use it starting the tracelogger in daemon mode, and then with a program of mine I have set the classes and events I like to filter and I TRACE_START and TRACE_STOP. Then , I process the output file with the traceprint utility (in the help documents it saids specifically that the source code is available but the QNX people told me that this fact is not true, Sad ) and the result is always the same: the first eventsfrom the very start-up of the system, but not those belonging to the period of time when I started and stopped the tracelogger by software.

So, are you really sure that the tracelogger works fine in that way?
 
 View user's profile Send private message  
Reply with quote Back to top
cburgess
Post subject: RE: Re: QNX6 Performance Monitor tools  PostPosted: Jul 18, 2007 - 02:34 PM
QNX Master


Joined: Aug 31, 2004
Posts: 176
Location: Ottawa
I think you are being confused by the output - _NTO_TRACE_START will cause the kernel to emit process and thread create events for all current threads. If you don't want that you can use _NTO_TRACE_STARTNOSTATE
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.