[mythtv] MacOS X Processor Info
MythTV
mythtv at taoyama.com
Tue Mar 21 08:07:28 UTC 2006
Nigel,
I think I found a slightly better way to determine the processor
architecture. There is a 'hostinfo' command in /usr/bin/. I think
might be more appropriate than looking for strings like "core duo".
Mino
The output for my Intel MacMini is:
Mach kernel version:
Darwin Kernel Version 8.5.3: Fri Feb 17 15:59:40 PST 2006;
root:xnu-792.9.11.obj~1/RELEASE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 2.00 gigabytes
Default processor set: 61 tasks, 185 threads, 2 processors
Load average: 0.22, Mach factor: 1.77
The output from my PowerBook G4 12" is:
Mach kernel version:
Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006;
root:xnu-792.6.61.obj~1/RELEASE_PPC
Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc7450 (PowerPC 7450)
Processor active: 0
Primary memory available: 1.25 gigabytes
Default processor set: 63 tasks, 208 threads, 1 processors
Load average: 0.00, Mach factor: 0.99
The output from my PPC MacMini is:
Mach kernel version:
Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006;
root:xnu-792.6.61.obj~1/RELEASE_PPC
Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc7450 (PowerPC 7450)
Processor active: 0
Primary memory available: 512.00 megabytes
Default processor set: 69 tasks, 186 threads, 1 processors
Load average: 1.08, Mach factor: 0.02
More information about the mythtv-dev
mailing list