Scroll to navigation

ImVirt(3pm) User Contributed Perl Documentation ImVirt(3pm)

NAME

ImVirt - detects several virtualizations

SYNOPSIS

    use ImVirt;
    print imv_get(IMV_PROB_DEFAULT, imv_detect()),"\n";

DESCRIPTION

The "ImVirt" package tries to detect if it is run in a virtualization container. At least the following container should be detected:

DETECTION HEURISTIC

The detection is based on a heuristic - you should not trust the result at all.

ImVirt probes for different well-known characteristics of different virtualization containers. Any characteristics found or not found are weighted by their significance.

The result of the heuristic is a weighted tree. The leaves are the (not) detected containers.

FUNCTIONS

The following functions should be used to retrieve the detected virtualization containers:

2023-12-22 perl v5.36.0