Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - extract system monitor information: (14 Items)
   
extract system monitor information  
I would like to remotely extract the following information from a QNX machine running QNX Neutrino RTOS:

1) CPU Usage
2) Memory
3) network , Tx;Rx
4) Disk Rd, Wr

need to know how i can get this data, so that i can chart it?
enable snmp? how?

Re: extract system monitor information  
just want to add, i do not mean i want to do phindows, rather i want the raw data for the cpu, memory etc, as counters..
that i can pull/extract remotely, and file it...
Re: extract system monitor information  
if you have qnet running on both hosts you can run a utility of choice remotely and pipe the results to a file.

I copy a link below with an overview:
http://www.qnx.com/developers/docs/6.4.1/neutrino/user_guide/qnet.html
Re: extract system monitor information  
CPU and Memory Usage charted by IDE in System Information view

Rashid Mirza wrote:
> I would like to remotely extract the following information from a QNX machine running QNX Neutrino RTOS:
>
> 1) CPU Usage
> 2) Memory
> 3) network , Tx;Rx
> 4) Disk Rd, Wr
>
> need to know how i can get this data, so that i can chart it?
> enable snmp? how?
>
>
>
>
>
> _______________________________________________
>
> OSTech
> http://community.qnx.com/sf/go/post60085
>
>   
Re: extract system monitor information  
ok, so i used the IDE, but i dont think the IDE supports Disk I/O performance.
'Also, i could not get the 'APS System Information' to work, and get the following messages:

No APS information available for target
No graphical Input (under CPU Usage/Critical Time Usage)

Still trying to LOG the information but not been successful.

Re: extract system monitor information  
did a log, and managed to log. Got a couple of .sil files. How to open these files?
Re: extract system monitor information  
The ".sil" files are System Information Log files, you use the System
Information History view "Find System information log files" button to
bring up a dialog to select your log files.

Before doing that, I suggest you to read the IDE user's guide System
Information section to familiar yourself with the tool. The
documentation tells you what can be done with the tool and how.

http://www.qnx.com/developers/docs/6.4.1/ide_en/user_guide/sysinfo.html



-----Original Message-----
From: Rashid Mirza <community-noreply@qnx.com>
Reply-to: post60233@community.qnx.com
To: ostech-core_os <post60233@community.qnx.com>
Subject: Re: extract system monitor information
Date: Thu, 22 Jul 2010 06:16:24 -0400 (EDT)

did a log, and managed to log. Got a couple of .sil files. How to open these files?



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post60233

Re: extract system monitor information  
APS message means target is not configured with APS. There is no disk 
usage and networking unfortunately in IDE.
If you find out how to do it (disk and networking stats) please post here.

Rashid Mirza wrote:
> ok, so i used the IDE, but i dont think the IDE supports Disk I/O performance.
> 'Also, i could not get the 'APS System Information' to work, and get the following messages:
>
> No APS information available for target
> No graphical Input (under CPU Usage/Critical Time Usage)
>
> Still trying to LOG the information but not been successful.
>
>
>
>
>
> _______________________________________________
>
> OSTech
> http://community.qnx.com/sf/go/post60231
>
>   
Re: extract system monitor information  
> APS message means target is not configured with APS. There is no disk 
> usage and networking unfortunately in IDE.
> If you find out how to do it (disk and networking stats) please post here.
It's all the same - thanx to qnx.
It is statistics about resource manager communication.
there is no way to get a real online view on this one.
But you could gather information using kernel traces and do some offline analysis.
Still it is not an easy way to go, 'cause you'll only see Snd/Rcv/Rpl on top level in your trace.
You have to digg into the event details to get the propper information, and even then it is not obvious.

This is exactly the point where we tried to get a more powerfull search capabillty within System Profiler - but yet not 
progress on this.

An other way to go would be that you use qnx resmgr path interception to track this communication.
In this case, you have to be aware of the fact that this method has a high impact on your system and that it is one way 
only.

@Elena: go ahead and take a look at Johns' none offical snoopy resmgr, this one shows howto.

/hp

Re: extract system monitor information  
 >> No APS information available for target

APS does not by default on the target. You must build your target's image with an APS kernel.

Rashid Mirza wrote:
> ok, so i used the IDE, but i dont think the IDE supports Disk I/O performance.
> 'Also, i could not get the 'APS System Information' to work, and get the following messages:
> 
> No APS information available for target
> No graphical Input (under CPU Usage/Critical Time Usage)
> 
> Still trying to LOG the information but not been successful.
> 
> 
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post60231
> 

Re: extract system monitor information  
thanks all for your feedback.
I have a layman question, if the QNX Neutrino OS can display parameters such as CPU, Memory, network traffic and Disk i/
o, surely it must be picking it from somewhere? Where is this information stored ?
Re: extract system monitor information  
Re: extract system monitor information  
You can also get a lot of information out of the /proc virtual filesystem, as described here:

http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.neutrino_prog/process.html#proc_filesystem

in the Neutrino Programmer's Guide.

Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems 
Re: extract system monitor information  
thanks all, i think i want to implement a SNMP agent in my QNX 6.3.0 neutrino real time environment.
I have tried to install net-snmp-5.2.6, but am facing several issues with the installation. Could someone tell me if 
this is the correct version to install?
I will post the errors later,  but is there a better (easier) way of installing the agent?