Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - how to check the number of cpu : (5 Items)
   
how to check the number of cpu  
I have installed QNX 6.3.2 on Hp d7700 desktop, the cpu is Intel Core 2 Duo dual core processor. When I login in the QNX
 OS with root account, I don't know whether the OS is running on one core or two cores. Which command can be used to 
check the CPU or Core number of the running system? Thanks a lot!

RE: how to check the number of cpu  
 

> -----Original Message-----
> From: chunsheng dong [mailto:chunsheng.dong@intel.com] 
> Sent: December 13, 2007 3:33 AM
> To: momenticsgs-community
> Subject: how to check the number of cpu 
> 
> I have installed QNX 6.3.2 on Hp d7700 desktop, the cpu is 
> Intel Core 2 Duo dual core processor. When I login in the QNX 
> OS with root account, I don't know whether the OS is running 
> on one core or two cores. Which command can be used to check 
> the CPU or Core number of the running system? Thanks a lot!

pidin info will give you information about the configuration
of the system.  If you aren't running the SMP procnto however
it will only report a single CPU.

Hope this helps,
 Thomas
Re: RE: how to check the number of cpu  
>  
> 
> > -----Original Message-----
> > From: chunsheng dong [mailto:chunsheng.dong@intel.com] 
> > Sent: December 13, 2007 3:33 AM
> > To: momenticsgs-community
> > Subject: how to check the number of cpu 

> 
> pidin info will give you information about the configuration
> of the system.  If you aren't running the SMP procnto however
> it will only report a single CPU.
> 
> Hope this helps,
>  Thomas

It shows as following when I use pidin info:
cpu: X86   Release: 6.3.2   FreeMem: 1668Mb/2023Mb   BootTime: Dec 12 19:20:02 CST 2007 Processor1:686 Intel 686 F6M15S6
 2131MHZ FPU

From the infomation about, how to check if it is runing a single core or running on two cores? 
How to run the SMP procnto and get the SMP supported? 

Thanks,

Chunsheng
Re: RE: how to check the number of cpu  
> >  
> > 
> > > -----Original Message-----
> > > From: chunsheng dong [mailto:chunsheng.dong@intel.com] 
> > > Sent: December 13, 2007 3:33 AM
> > > To: momenticsgs-community
> > > Subject: how to check the number of cpu 
> 
> > 
> > pidin info will give you information about the configuration
> > of the system.  If you aren't running the SMP procnto however
> > it will only report a single CPU.
> > 
> > Hope this helps,
> >  Thomas
> 
> It shows as following when I use pidin info:
> cpu: X86   Release: 6.3.2   FreeMem: 1668Mb/2023Mb   BootTime: Dec 12 19:20:02
>  CST 2007 Processor1:686 Intel 686 F6M15S6 2131MHZ FPU
> 
> From the infomation about, how to check if it is runing a single core or 
> running on two cores? 
> How to run the SMP procnto and get the SMP supported? 

You will need to rebuild your boot script and replace the line that says 'procnto' in the bootscript to use 'procnto-
smp'.

The build scripts are in $QNX_TARGET/x86/boot/build and you
can use mkifs to rebuild them (qnxbasesmp.build works for me) and then use the build image as the boot image (ie replace
 /.boot with it).

Hope this helps,
 Thomas
Re: how to check the number of cpu  
first you should check the root accses with some apps like: http://dlandroid.com/root-check-apk/
if you don't have root accses try to root with kingroot : http://dlandroid.com/kingroot/