• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1173
  • Last Modified:

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

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
IanTh
Asked:
IanTh
  • 3
  • 3
1 Solution
 
woolmilkporcCommented:
Shouldn't it be a pipe instead of a slash?

egrep -c '(vmx|svm)' /proc/cpuinfo
0
 
IanThAuthor Commented:
eh no I copied it from the guide I was following it said I should get a non zero I get 0
0
 
IanThAuthor Commented:
yes it was I now get 16
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
woolmilkporcCommented:
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
 
IanThAuthor Commented:
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
 
woolmilkporcCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now