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

Re: /proc/cpuinfo on my blade1000



Hi Antonio!

On Thu, Dec 22, 2005 at 06:53:03PM +0100, Antonio M. wrote:
> On Thu, Dec 22, 2005 at 04:38:08PM +0100, Igmar Palsenberg wrote:
> > > Cpu0Bogo        : 499.71
> > > ^^^^^^^^^^^^^^^^^^^^^^^^
> > > Cpu0ClkTck      : 000000002cb41780
> >   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > This is the actual clockspeed in hexadecimal, which is in decimal equal to 
> > 750 Mhz.
> > 
> > 
> > 
> > 	Igmar
> Thanks Igmar. I didn't know the meaning of Cpu0ClkTck.
> My only problem is, in the future, to convert the value ;)
> Cheers 
> Antonio

bc is your friend:
wolfi@halley:~ $ bc -l
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
ibase=16
2cb41780
(standard_in) 3: syntax error
2CB41780
750000000
quit
wolfi@halley:~ $

The first line tells bc that you enter hexadecimal values, the I
cut'n'pasted the clockspeed and was trapped by the fact that bc only
understands capital letters.

HTH and Merry Christmas,

Wolfi

> -- 
> #+--+#+--+#+--+#+--+#+--+#+--+#+--+#+--+#+--+#
> Antonio Madesani
> amadesani@libero.it
> amadesani@alice.it
> #+--+#+--+#+--+#+--+#+--+#+--+#+--+#+--+#+--+#
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-sparc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: