Solved

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

Posted on 2013-01-24
6
968 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

770 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