Re: CPU information.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lukas,

I knew about the /proc entry I was just wondering if
there were APIs that a user can use to check for such
information...as an alternative to grepping in
/proc/cpuinfo 

Thanks!


--- Lukas Ruf <ruf@rawip.org> wrote:
> 
> Hi
> 
> On Mon, 28 Oct 2002, kernel_learner wrote:
> 
> > 
> > I was wondering if there is any way to access this
> > datastructure from the user-space?
> > 
> uccellina:~!51> cat /proc/cpuinfo 
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 8
> model name      : Pentium III (Coppermine)
> stepping        : 1
> cpu MHz         : 448.449
> cache size      : 256 KB
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 2
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8
> sep mtrr pge mca
> cmov pat pse36 mmx fxsr sse
> bogomips        : 894.56
> 
> HTH,
> -- 
> Lukas Ruf
> http://www.lpr.ch                                
> http://www.maremma.ch    
>    
>
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
> Wanna know anything about raw ip? Join
> rawip@rawip.org on www.rawip.org


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux