Unix and Linux Discussions Tagged with virtualization |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
41,178 |
Linux Benchmarks |
|
|
|
9 |
6,379 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,029 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
1,344 |
What is on Your Mind? |
|
|
|
0 |
1,786 |
What is on Your Mind? |
|
|
|
0 |
1,750 |
Linux |
|
|
|
7 |
7,783 |
AIX |
|
|
|
4 |
3,470 |
Solaris |
|
|
|
1 |
3,628 |
Red Hat |
|
|
|
2 |
2,625 |
Red Hat |
|
|
|
0 |
1,865 |
Homework & Coursework Questions |
|
|
|
1 |
5,433 |
HP-UX |
|
|
|
2 |
9,600 |
Virtualization and Cloud Computing |
|
|
|
4 |
8,463 |
Virtualization and Cloud Computing |
|
|
|
1 |
5,256 |
Virtualization and Cloud Computing |
|
|
|
3 |
4,496 |
Virtualization and Cloud Computing |
|
|
|
0 |
2,466 |
Software Releases - RSS News |
|
|
|
0 |
1,570 |
UNIX and Linux RSS News |
|
|
|
0 |
1,980 |
UNIX and Linux RSS News |
SYSTEMD-DETECT-VIRT(1) systemd-detect-virt SYSTEMD-DETECT-VIRT(1)
NAME
systemd-detect-virt - Detect execution in a virtualized environment
SYNOPSIS
systemd-detect-virt [OPTIONS...]
DESCRIPTION
systemd-detect-virt detects execution in a virtualized environment. It identifies the virtualization technology and can distinguish full VM
virtualization from container virtualization.
When executed without --quiet will print a short identifier for the detected virtualization technology. The following technologies are
currently identified: qemu, kvm, vmware, microsoft, oracle, xen, bochs, chroot, uml, openvz, lxc, lxc-libvirt, systemd-nspawn.
If multiple virtualization solutions are used, only the "innermost" is detected and identified. That means if both VM virtualization and
container virtualization are used in conjunction, only the latter will be identified (unless --vm is passed).
OPTIONS
The following options are understood:
-h, --help
Prints a short help text and exits.
--version
Prints a short version string and exits.
-c, --container
Only detects container virtualization (i.e. shared kernel virtualization).
-v, --vm
Only detects VM virtualization (i.e. full hardware virtualization).
-q, --quiet
Suppress output of the virtualization technology identifier.
EXIT STATUS
If a virtualization technology is detected, 0 is returned, a non-zero code otherwise.
SEE ALSO
systemd(1)
systemd 208 SYSTEMD-DETECT-VIRT(1)