Solved

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

Posted on 2013-01-24
6
1,009 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

691 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