Re: cat /proc/cpuinfo ?

2006-03-27 Thread Dhénin Jean-Jacques
pkg_add cpuid

and

:; cpuid

 eax ineax  ebx  ecx  edx
 0002 756e6547 6c65746e 49656e69
0001 0f27 0001080a 0400 bfebfbff
0002 665b5101   003b7040
8000 8004   
8001    
8002 20202020 20202020 20202020 20202020
8003 65746e49 2952286c 6c654320 6e6f7265
8004 20295228 20555043 30322e32 007a4847

Vendor ID: GenuineIntel; CPUID level 2

Intel-specific functions:
Version 0f27:
Type 0 - Original OEM
Family 15 - Pentium 4
Extended family 0
Model 2 - Intel Pentium 4 processor (generic) or newer
Stepping 7
Reserved 0
...

and so on.


dmidecode is interesting also.

2006/3/27, Norberto Meijome [EMAIL PROTECTED]:
 On Sun, 26 Mar 2006 22:47:11 -0800 (PST)
 Bill Schoolcraft [EMAIL PROTECTED] wrote:

  Hello Family,
 
  Yes, yes, I know... I have a bunch of boxes under my desk here at
  home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
  confused and that's what happened when I tried to type the following
  on my FreeBSD box.
 
  cat /proc/cpuinfo
 

 []

 
  Is there some *BSD port that will give me CPU information like the
  above from the command line?

 You want the linux /proc behaviour.

 1) make sure you have linux binary compatibility installed

 $ pkg_info | grep linux_base
 linux_base-8-8.0_14 Base set of packages needed in Linux mode (for
 i386/amd64)

 $ grep -i linux /etc/rc.conf
 linux_enable=YES

 ( without a reboot, this equals to kldload linux)

 2) add to /etc/fstab:
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0

 and then you can get :


 [EMAIL PROTECTED] [Mon Mar 27 17:18:50 2006]
 ~
 $ cat /compat/linux/proc/cpuinfo
 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 7
 stepping: 8
 flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
 mca cmov pat b19 b21 mmxext mmx fxsr xmm b26 b27 b29 3dnow cpu
 MHz : 1995.02 bogomips: 1995.02

 HIH,
 Beto
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



--
jjd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cat /proc/cpuinfo ?

2006-03-27 Thread Michael P. Soulier
On 27/03/06 Dhénin Jean-Jacques said:

 pkg_add cpuid
 
 and
 
 :; cpuid
 
  eax ineax  ebx  ecx  edx
  0002 756e6547 6c65746e 49656e69
 0001 0f27 0001080a 0400 bfebfbff
 0002 665b5101   003b7040
 8000 8004   
 8001    
 8002 20202020 20202020 20202020 20202020
 8003 65746e49 2952286c 6c654320 6e6f7265
 8004 20295228 20555043 30322e32 007a4847
 
 Vendor ID: GenuineIntel; CPUID level 2
 
 Intel-specific functions:
 Version 0f27:
 Type 0 - Original OEM
 Family 15 - Pentium 4
 Extended family 0
 Model 2 - Intel Pentium 4 processor (generic) or newer
 Stepping 7
 Reserved 0

Cool. I don't see clock speed here. 

I guess this works though. 

[EMAIL PROTECTED] ~]$ sysctl -a | grep clockrate
kern.clockrate: { hz = 100, tick = 1, profhz = 1024, stathz = 128 }
hw.clockrate: 997

As it's ~1GHz, I guess that 997 is in MHz?

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgp1XrSB0hQBN.pgp
Description: PGP signature


Re: cat /proc/cpuinfo ?

2006-03-27 Thread Dhénin Jean-Jacques
:; dmidecode

...
   Version: Intel(R) Celeron(R)
Voltage: 1.5 V
External Clock: 130 MHz
Max Speed: 3200 MHz
Current Speed: 2865 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x0009
L2 Cache Handle: 0x000A
L3 Cache Handle: Not Provided

Cordialement,

jjd
___

2006/3/28, Michael P. Soulier [EMAIL PROTECTED]:

 Cool. I don't see clock speed here.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cat /proc/cpuinfo ?

2006-03-26 Thread Bill Schoolcraft
Hello Family,

Yes, yes, I know... I have a bunch of boxes under my desk here at
home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
confused and that's what happened when I tried to type the following
on my FreeBSD box.

cat /proc/cpuinfo

What I did get off my other box, where this command works was:

###

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 31
model name  : AMD Athlon(tm) 64 Processor 3000+
stepping: 0
cpu MHz : 994.927
cache size  : 512 KB
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce (snipped)
bogomips: 1956.97
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

###

(question)

Is there some *BSD port that will give me CPU information like the
above from the command line?

TIA




-- 
Bill Schoolcraft | http://wiliweld.com
 
If your life was full of nothing but
sunshine, you would just be a desert.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cat /proc/cpuinfo ?

2006-03-26 Thread Rob W.

Yep, It is located in your sysctl

Try this: ' sysctl -a | less '

That should give you all info about the system including cpu, memory ect..


- Original Message - 
From: Bill Schoolcraft [EMAIL PROTECTED]

To: freebsd-questions@FreeBSD.ORG
Sent: Monday, March 27, 2006 12:47 AM
Subject: cat /proc/cpuinfo ?



Hello Family,

Yes, yes, I know... I have a bunch of boxes under my desk here at
home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
confused and that's what happened when I tried to type the following
on my FreeBSD box.

cat /proc/cpuinfo

What I did get off my other box, where this command works was:

###

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 31
model name  : AMD Athlon(tm) 64 Processor 3000+
stepping: 0
cpu MHz : 994.927
cache size  : 512 KB
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce (snipped)
bogomips: 1956.97
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

###

(question)

Is there some *BSD port that will give me CPU information like the
above from the command line?

TIA




--
Bill Schoolcraft | http://wiliweld.com

If your life was full of nothing but
sunshine, you would just be a desert.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cat /proc/cpuinfo ?

2006-03-26 Thread Bill Schoolcraft
At Mon, 27 Mar 2006 it looks like Rob W. composed:

 Yep, It is located in your sysctl
 
 Try this: ' sysctl -a | less '
 
 That should give you all info about the system including cpu, memory ect..
 

Thanks Rob,

Yes, quite of bit of information... :)

 
 
  Hello Family,
  
  Yes, yes, I know... I have a bunch of boxes under my desk here at
  home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
  confused and that's what happened when I tried to type the following
  on my FreeBSD box.
  
  cat /proc/cpuinfo
  
  What I did get off my other box, where this command works was:
  
  ###
  
  processor   : 0
  vendor_id   : AuthenticAMD
  cpu family  : 15
  model   : 31
  model name  : AMD Athlon(tm) 64 Processor 3000+
  stepping: 0
  cpu MHz : 994.927
  cache size  : 512 KB
  fpu : yes
  fpu_exception   : yes
  cpuid level : 1
  wp  : yes
  flags   : fpu vme de pse tsc msr pae mce (snipped)
  bogomips: 1956.97
  TLB size: 1024 4K pages
  clflush size: 64
  cache_alignment : 64
  address sizes   : 40 bits physical, 48 bits virtual
  power management: ts fid vid ttp
  
  ###
  
  (question)
  
  Is there some *BSD port that will give me CPU information like the
  above from the command line?
  
  TIA
  
  
  
  
  -- 
  Bill Schoolcraft | http://wiliweld.com
  
  If your life was full of nothing but
  sunshine, you would just be a desert.
  
  
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Bill Schoolcraft | http://wiliweld.com
 
If your life was full of nothing but
sunshine, you would just be a desert.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cat /proc/cpuinfo ?

2006-03-26 Thread Norberto Meijome
On Sun, 26 Mar 2006 22:47:11 -0800 (PST)
Bill Schoolcraft [EMAIL PROTECTED] wrote:

 Hello Family,
 
 Yes, yes, I know... I have a bunch of boxes under my desk here at
 home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
 confused and that's what happened when I tried to type the following
 on my FreeBSD box.
 
 cat /proc/cpuinfo


[]

 
 Is there some *BSD port that will give me CPU information like the
 above from the command line?

You want the linux /proc behaviour.

1) make sure you have linux binary compatibility installed 

$ pkg_info | grep linux_base
linux_base-8-8.0_14 Base set of packages needed in Linux mode (for
i386/amd64)

$ grep -i linux /etc/rc.conf 
linux_enable=YES

( without a reboot, this equals to kldload linux)

2) add to /etc/fstab:
linprocfs   /compat/linux/proc   linprocfs   rw   0  0

and then you can get : 


[EMAIL PROTECTED] [Mon Mar 27 17:18:50 2006]
~
$ cat /compat/linux/proc/cpuinfo 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 7
stepping: 8
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat b19 b21 mmxext mmx fxsr xmm b26 b27 b29 3dnow cpu
MHz : 1995.02 bogomips: 1995.02

HIH,
Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]