Getting the clock speed of your machine using the dmidecode command.

Getting the clock speed of your machine using the dmidecode command for Linux.

This command-line example shows that we are using the dmidecode command to get the current clock speed for our machine. This also shows some creative use of the sed command to parse the output and change the “Current Speed” text string to “Clock Speed” just for fun.

root@deusexmachina:/home/neo# dmidecode | grep -m1 "Current Speed" | sed s"/Current Speed/Clock Speed/gi";

This is another way to retrieve this information, using cat to read the /proc/cpuinfo file.

root@deusexmachina:/home/neo# cat /proc/cpuinfo |grep -m1 "@"
model name	: Intel(R) Core(TM) i3 CPU         530  @ 2.93GHz

This command will show the maximum amount of Random Access Memory supported by your computers motherboard.

root@deusexmachina:/home/neo# dmidecode | grep -m1 "Maximum Capacity" | sed s"/Maximum Capacity/Total RAM Capacity/gi";
Total RAM Capacity: 32 GB
About

I am a computer enthusiast that has always been interested in maintaining and upgrading computer hardware. I was born on a farm and lived there for 13 years before moving into town. I was always interested in technology and my father always gave me good encouragement for developing my knowledge and interest in tinkering with computers. He was using a computer on the farm but that was in the very late 80`s and late 90`s. Seeing what a computer could do always fascinated me and then I knew that is what I wanted to do. The first time I used Linux was Red Hat 6.2 installed off a single CDROM and I was amazed that you did not need to install any more drivers on my old Intel Celeron machine to be able to enjoy a nice 24BPP desktop and use the GIMP to edit photos and enjoy playing the old Linux games like Xbill. Then a while later I tried Mandrake Linux 9.2 and I was hooked. It came with so much software and was very easy to use as well. Then Mandrake Linux 10 and on through FreeBSD, Debian 3.0, Debian 3.1 Suse Linux 9.2, Suse 10 and onto the Ubuntu distributions although I am using Fedora Core 15 and the Gnome 3 desktop at the moment.

Tagged with: , , , , ,
Posted in Debian-Testing

Leave a Reply

Plugin from the creators of Brindes :: More at Plulz Wordpress Plugins