[ 原始碼: virt-what ]
套件:virt-what(1.19-1)
detect if we are running in a virtual machine
Virt-what is a shell script which can be used to detect if the program is running in a virtual machine (VM).
The program prints out a list of "facts" about the virtual machine, derived from heuristics. One fact is printed per line.