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.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
you can use back-ticks, Here is the sample script which might help you
|
||||