« SMS vis iChat | Main | Cool FX demo video »

OS X command for CPU, RAM info

From Terminal, try the command "sysctl hw." You'll get information about your CPU, cache, bus, and RAM. "Sysctl -a" will give you a lot more information but very little will make sense to you.

OS X 10.2 has the command "system_profiler" which is the commandline version of the Apple System Profiler and is, overall, better than the above command. However, one thing system_profiler can't do is tell you have much RAM the Mac has if it'a "pre-New World" Mac such as a beige G3. "Sysctl hw" will make you do the math yourself to convert the RAM figure from bytes to megabytes but its a quick way to find out more about the machine, particularly when used remotely.

About

This page contains a single entry from the blog posted on July 8, 2003 11:18 AM.

The previous post in this blog was SMS vis iChat.

The next post in this blog is Cool FX demo video.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31