Real time frequency

Friday May 24th, 2013By: CyrIng

mhz is our piece of code which displays  the actual frequency of the Core i7

  • download and compile the source code
$ gcc mhz.c -o mhz
  • change for root the owner of the executable, then change its attributs with a setuid.
# chown root mhz
# chmod u+s mhz
  • make sure to load before, the following Linux daemons which provide access to the MSR registers and the SMBIOS structures
# modprobe msr
# modprobe dmi-sysfs
  • then run the program with core number as the only argument.
$ mhz 3
3200












Running Debian under KVM

Monday November 5th, 2012By: CyrIng

Following our article how to install Xen for Debian within ArchLinux, we were stuck with packages issues between virt-manager and the Wheezy distribution.
Using command line, we successfully created a Wheezy Debian virtual machine, named VPC1 for that case.

Disappointed not being able to use the virt-manager with Debian, we then proceeded to install the OpenSUSE 64-bit overriding the Debian partition.


The installation was straightforward and provided a ready to use VM manager for Xen.

Back to ArchLinux, we are now running the previous virtual disk VPC1.img under KVM plus virt-manager. Here are shown the screenshots of the result.