Is it possible to execute terminal commands using PHP? I need to display cores alloted to each VM and some other details of virtual machine. Am using KVM. can anyone help to do so. Am using Ubuntu server 11.04. Can anyone explain with example.
you can use back-ticks,
Here is the sample script which might help you