[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: How to get processor id?
hi shourya,
This i have got from http://www.visualsky.com/CPUID.htm.
actual command is : echo `/etc/sysinfo -s` 16op | dc.
working. dc -> desk top calculator (reverse polish )
o -> sets radix to value in stack.
p -> prints stack from top.
so value got by /etc/sysinfo -s is in radix 10, set to radix 16 ( 16o )
and print it (p).
may be i am worng.
Arun , if possible can u explain. This is ture or what?
bye
ketan