Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   systemd-detect-virt    ( 1 )

обнаружение выполнения в виртуализированной среде (Detect execution in a virtualized environment)

  Name  |  Synopsis  |  Description  |    Options    |  Exit  |  See also  |  Note  |

Параметры (Options)

The following options are understood:

-c, --container Only detects container virtualization (i.e. shared kernel virtualization).

-v, --vm Only detects hardware virtualization.

-r, --chroot Detect whether invoked in a chroot(2) environment. In this mode, no output is written, but the return value indicates whether the process was invoked in a chroot() environment or not.

--private-users Detect whether invoked in a user namespace. In this mode, no output is written, but the return value indicates whether the process was invoked inside of a user namespace or not. See user_namespaces(7) for more information.

-q, --quiet Suppress output of the virtualization technology identifier.

--list Output all currently known and detectable container and VM environments.

-h, --help Print a short help text and exit.

--version Print a short version string and exit.