June 2004
Intermediate to advanced
1056 pages
39h 58m
English
hwprefs
hwprefs [-h] hwprefs [-v]parameter[=value] [parameter[=value]]...
Prints some information about the system to standard output. This is installed as part of the Computer Hardware Understanding Development (CHUD) set of developer tools.
-h
Print a usage statement to standard error.
-v
Print information verbosely.
parameter
One of the following: cpus reports the number of
CPUs (either 1 or 2),
cpunap reports whether the CPU may slow down to
conserve energy (either 0 or
1), hwprefetch reports the
number of prefetch engines used by a G5 CPU (either
4 or 8), and
ostype reports the code name for the
system’s OS (either Cheetah (Mac
OS X 10.0), Puma (10.1), Jaguar
(10.2), Smeagol (10.2.7), or
Panther (10.3)).
Read now
Unlock full access