| Server IP : 77.68.64.21 / Your IP : 216.73.217.59 Web Server : Apache System : Linux hp3-wp-1011352.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64 User : csh2516497 ( 2094697) PHP Version : 8.3.30 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/lib/python2.7/site-packages/tuned/profiles/functions/ |
Upload File : |
� ��\c @ sU d d l Z d d l Z d d l m Z d d l m Z d e j f d � � YZ d S( i����Ni ( t base( t commandst virt_checkc B s e Z d Z d � Z d � Z RS( s� Checks whether running inside virtual machine (VM) or on bare metal. If running inside VM expands to argument 1, otherwise expands to argument 2 (even on error). c C s t t | � j d d � d S( NR i ( t superR t __init__( t self( ( sP /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyR s c C se t t | � j | � s d S| j j d g � \ } } | d k r] t | � d k r] | d S| d S( Ns virt-whati i ( R R t executet Nonet _cmdt len( R t argst rett out( ( sP /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyR s ( t __name__t __module__t __doc__R R ( ( ( sP /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyR s ( t ost tuned.logst tunedt R t tuned.utils.commandsR t FunctionR ( ( ( sP /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyt <module> s