ManticMoo.COM All Articles Jeff's Articles
Jeffrey P. Bigham

Detecting CPU Speed and RAM in Linux

Jeffrey P. Bigham

Related Ads

CPU Speed

To detect the CPU Speed, simply type the following at the Linux terminal prompt:

cat /proc/cpuinfo

and the value listed under "cpu MHz" will tell yoou the speed of your CPU in MHz.

Amount of RAM

To the amount of memory (RAM) available on the machine, simply type the following at the Linux terminal prompt:

cat /proc/meminfo

and the MemTotal value will list how much memory you have!

By the way, the /proc directory is not really a location on disk, but actually created by the operating system. It works a lot like a read-only disk.

Jeffrey P. Bigham
ManticMoo.COM All Articles Jeff's Articles