Solved

ubuntu 12.04 egrep -c '(vmx/svm)' /proc/cpuinfo = 0

Posted on 2013-01-24
6
976 Views
Last Modified: 2013-01-25
Hi guys

wierd I have a 2 * cpu xeon 5520 server with 32gb ram it was a whitebox esx host I am investigating linux (ubuntu 12.04) for kvm following a guide to check virtualization and obviously as it worked with v5 and v5.1 esx it was, but with ubuntu 12.04 I run egrep -c '(vmx/svm)' /proc/cpuinfo = 0 that indicates no virtualization and that's not correct it is enablled in the bios

help !
0
Comment
Question by:IanTh
  • 3
  • 3
6 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 38814712
Shouldn't it be a pipe instead of a slash?

egrep -c '(vmx|svm)' /proc/cpuinfo
0
 
LVL 30

Author Comment

by:IanTh
ID: 38814786
eh no I copied it from the guide I was following it said I should get a non zero I get 0
0
 
LVL 30

Author Closing Comment

by:IanTh
ID: 38814807
yes it was I now get 16
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 68

Expert Comment

by:woolmilkporc
ID: 38814809
The pipe symbol in the regular expression means "or", whereas the slash is nothing but the character "/".

So since there isn't the string "vmx/svm" anywhere in /proc/cpuinfo, but "vmx" or "svm" are,  I'm sure that your guide is wrong.

Here is a link to another howto which uses the pipe.

http://mikebeach.org/2011/09/23/how-to-tell-if-your-cpu-supports-virtualization-under-ubuntu-linux/
0
 
LVL 30

Author Comment

by:IanTh
ID: 38815012
I know I just copied it off a web site any happy now I have 16 which is correct by the way my server also has vt-d does kvm use that or just vt-x
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 38817899
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install Predefined Certificate on Ubunto 4 48
Run DOS2UNIX and then execute the command 21 85
trouble on installing syslog-ng on CentOS 7 7 54
Samba 4, Users Permission, 5 45
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question