O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

hwprefs

Synopsis

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.

Options

-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; Panther, 10.3; or Tiger, 10.4).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required