°Ô½Ã¹° 1,369°Ç
   
¸í·É¾î·Î ¹°¸®ÀûÀÎ ¼­¹ö / °¡»ó¼­¹ö È®Àιæ¹ý
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2017-09-14 (¸ñ) 14:34 Á¶È¸ : 22085
±ÛÁÖ¼Ò :
                                


¹°¸®ÀûÀÎ ¼­¹ö / °¡»ó¼­¹ö È®Àιæ¹ý

1. dmidecode
DMI table decoder
# apt-get install dmidecode

:: ½Ç¼­¹ö
# dmidecode -s system-manufacturer
System manufacturer

:: °¡»ó¼­¹ö
# dmidecode -s system-manufacturer
OpenStack Foundation

2.fecter
 - Gather system infomation
 - Collect and display facts about the system.
:: ½Ç¼­¹ö
# facter 2> /dev/null | grep virtual
is_virtual => false
virtual => physical

:: °¡»ó¼­¹ö
# facter 2> /dev/null | grep virtual
is_virtual => true
virtual => kvm

3. lshw
list hardware
:: ½Ç¼­¹ö
# lshw -class system
chonnom                   
    description: Desktop Computer
    product: System Product Name (To Be Filled By O.E.M.)
    vendor: System manufacturer
    version: System Version
    serial: System Serial Number
    width: 64 bits
    capabilities: smbios-2.5 dmi-2.5 vsyscall32
    configuration: boot=normal chassis=desktop family=To Be Filled By O.E.M. 
                         sku=To Be Filled By O.E.M. uuid=E0326F05-8EFE-D511-884B-F46D04D2EF96


:: °¡»ó¼­¹ö
# lshw -class system
mojily-3340               
    description: Computer
    product: OpenStack Nova
    vendor: OpenStack Foundation
    version: 13.1.2
    serial: 7147e77f-cc07-9fbc-1042-1c75580ef237
    width: 64 bits
    capabilities: smbios-2.8 dmi-2.8 vsyscall32
    configuration: boot=normal family=Virtual Machine uuid=7E7F3356-7641-D44E-AA09-7DBC84E85B0D

4. dmesg
print or control the kernel ring buffer
:: ½Ç¼­¹ö
#  dmesg  |grep "Hypervisor"

:: °¡»ó¼­¹ö
# dmesg  |grep "Hypervisor"
[    0.000000] Hypervisor detected: KVM

5. hostnamectl
- Control the system hostname
:: ½Ç¼­¹ö
# hostnamectl
   Static hostname: chonnom
   Pretty hostname: CHONNOM
         Icon name: computer-desktop
           Chassis: desktop
        Machine ID: c1b0b3f716774db991030221bf09c09f
           Boot ID: 07b97a3e6a6c43f3a137787bf42a79d7
  Operating System: Ubuntu 16.04.2 LTS
            Kernel: Linux 4.4.0-93-generic
      Architecture: x86-64

:: °¡»ó¼­¹ö
# hostnamectl
   Static hostname: mojily-3340
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 56337f7e41764ed4aa097dbc84e85b0d
           Boot ID: 90f2a54bfae4425fad11253d0fc45aa1
    Virtualization: kvm
  Operating System: Ubuntu 16.04.2 LTS
            Kernel: Linux 4.4.0-93-generic
      Architecture: x86-64

6. systemd-detect-virt
- Detect execution in a virtualized environment
:: ½Ç¼­¹ö 
# systemd-detect-virt
none

:: °¡»ó¼­¹ö 
 # systemd-detect-virt
kvm
±×ÀÌ¿Ü¿¡µµ imvirt(perl),  virt-what ¸í·É¾î¸¦ ÅëÇؼ­µµ °¡´ÉÇÕ´Ï´Ù.



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.