> Yeah. But still i want to show some value which represents the CPU capacity configuration of the machine.
For what purpose? Help us out here -- we're having a really hard time understanding why you care about this number, other than having something cool to print out. Do you adjust algorthms based on the processor speed or type? What purpose is this information intended to serve? If you want the physical configuration in a LPAR environment, what's in /proc/cpuinfo is all there is -- there's no reliable way to get the information you want, and you can't see the LPAR CPU sharing configuration from Linux, so any "speed" number you get is completely useless for your purposes because it can't see or take into account other workload on the machine. If you are running under VM, you can use the 'hcp' package to interrogate the virtual machine configuration directly, but since the underlying assignment of virtual processors to real CPUs changes by the timeslice and workload present at the given instance, the numbers are unreliable and again, useless for comparison purposes. So, again, what are you trying to accomplish beyond printing a number in a space? -- db ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390