1VIRTDETECT(1)         User Contributed Perl Documentation        VIRTDETECT(1)
2
3
4

NAME

6       virtdetect -- Detect if this system is running as a virtual machine
7

SYNOPSIS

9       virtdetect [ --verbose ] [ --detect-host ]
10

DESCRIPTION

12       Attempts to determine if this system is running under some form of
13       virtualization.
14
15       If --verbose is enabled, each check will be output.  Otherwise, only
16       the result will be output.
17
18       if --detect-host is enabled, try and detect virtualization host (as
19       opposed to guest) platforms
20

OPTIONS

22       --verbose
23           Enable debug output
24
25       --detect-host
26           Try to detect virtualization host (as opposed to guest) platform.
27
28       --help
29           This help
30
31       --man
32           Full manpage
33

EXIT STATUS

35       •   0 - No virtualization detected
36
37       •   1 - Virtualization detected
38
39       •   2 - More than one kind of virtualization detected
40

SEE ALSO

42       Sys::Detect::Virtualization,
43       <http://www.dmo.ca/blog/detecting-virtualization-on-linux>
44
46       Copyright (C) 2009 Roaring Penguin Software Inc.
47
48       This program is free software; you can redistribute it and/or modify it
49       under the terms of either: the GNU General Public License as published
50       by the Free Software Foundation; or the Artistic License.
51
52
53
54perl v5.34.0                      2022-01-21                     VIRTDETECT(1)
Impressum