Solved

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

Posted on 2013-01-24
6
946 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now