2) sysctl -a | egrep -i "vmx|svm"
Output will include a line like this with vmx in it:
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM
Unless you are on an AMD somehow- svm is AMD's VT instruction, VMX is Intel's. You really only have to look for vmx but I include both for completeness.
On linux you do:
egrep -i "vmx|svm" /cat/proc/cpuinfo