Detecting CPU Speed and RAM in LinuxJeffrey P. Bigham
To detect the CPU Speed, simply type the following at the Linux terminal prompt:
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:
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.