virtdetect (1) - Linux Manuals

virtdetect: Detect if this system is running as a virtual machine

NAME

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

SYNOPSIS

virtdetect [ --verbose ] [ --detect-host ]

DESCRIPTION

Attempts to determine if this system is running under some form of virtualization.

If --verbose is enabled, each check will be output. Otherwise, only the result will be output.

if --detect-host is enabled, try and detect virtualization host (as opposed to guest) platforms

OPTIONS

--verbose
Enable debug output
--detect-host
Try to detect virtualization host (as opposed to guest) platform.
--help
This help
--man
Full manpage

EXIT STATUS

0 - No virtualization detected
1 - Virtualization detected
2 - More than one kind of virtualization detected

LICENCE AND COPYRIGHT

Copyright (C) 2009 Roaring Penguin Software Inc.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

SEE ALSO

Sys::Detect::Virtualization, <http://www.dmo.ca/blog/detecting-virtualization-on-linux>