LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to find processor type on linux on zos ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-processor-type-on-linux-on-zos-229044/)

gonwg 09-10-2004 02:59 PM

how to find processor type on linux on zos ?
 
Hi, all,

I am wondering which header file or which functions I can use , such that I can get the processor type on the current machine ?

enviroment : suse linux on zos

I can use : systemcfg_init() on suse linux, and mach_host_self() on Mac to get those information.

But I am new to linux on zOs, I can't find similiar function ?

Any comments are welcomed !

Michael

rhettmaxwell 09-10-2004 03:23 PM

$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 697.126
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 : 1376.25

XavierP 09-11-2004 12:40 PM

Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.

gonwg 09-11-2004 04:47 PM

hi, rhettmaxwell,

Thanks for reply.

Have you tried it on linux or linux on zOS ?


All times are GMT -5. The time now is 02:29 PM.