리눅스 facter

1 개요[ | ]

리눅스 facter
/usr/bin/facter
  • 시스템 정보를 수집하는 명령어(+루비 라이브러리)
  • 작성언어: 루비
[root@zetawiki ~]# facter
architecture => x86_64
augeasversion => 1.4.0
bios_release_date => 12/01/2006
bios_vendor => innotek GmbH
bios_version => VirtualBox
blockdevice_sda_model => VBOX HARDDISK
blockdevice_sda_size => 42949672960
blockdevice_sda_vendor => ATA
blockdevice_sr0_model => CD-ROM
blockdevice_sr0_size => 1073741312
blockdevice_sr0_vendor => VBOX
blockdevices => sda,sr0
boardmanufacturer => Oracle Corporation
boardproductname => VirtualBox
boardserialnumber => 0
dhcp_servers => {"system"=>"192.168.43.1", "enp0s3"=>"192.168.43.1"}
domain => openstack.test
facterversion => 2.4.4
filesystems => xfs
fqdn => localhost
gid => root
hardwareisa => x86_64
hardwaremodel => x86_64
hostname => allinone
id => root
interfaces => enp0s3,lo
ipaddress => 192.168.43.39
ipaddress_enp0s3 => 192.168.43.39
ipaddress_lo => 127.0.0.1
is_virtual => true
kernel => Linux
kernelmajversion => 3.10
kernelrelease => 3.10.0-693.2.2.el7.x86_64
kernelversion => 3.10.0
macaddress => 08:00:27:c8:9d:1b
macaddress_enp0s3 => 08:00:27:c8:9d:1b
manufacturer => innotek GmbH
memoryfree => 3.03 GB
memoryfree_mb => 3100.45
memorysize => 3.70 GB
memorysize_mb => 3790.90
mtu_enp0s3 => 1500
mtu_lo => 65536
netmask => 255.255.255.0
netmask_enp0s3 => 255.255.255.0
netmask_lo => 255.0.0.0
network_enp0s3 => 192.168.43.0
network_lo => 127.0.0.0
operatingsystem => CentOS
operatingsystemmajrelease => 7
operatingsystemrelease => 7.4.1708
os => {"name"=>"CentOS", "family"=>"RedHat", "release"=>{"major"=>"7", "minor"=>"4", "full"=>"7.4.1708"}}
osfamily => RedHat
partitions => {"sda1"=>{"uuid"=>"1ccab94b-535d-4c25-80b0-df49d16da751", "size"=>"2097152", "mount"=>"/boot", "filesystem"=>"xfs"}, "sda2"=>{"size"=>"81786880", "filesystem"=>"LVM2_member"}}
path => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
physicalprocessorcount => 1
processor0 => Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
processorcount => 1
processors => {"models"=>["Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz"], "count"=>1, "physicalcount"=>1}
productname => VirtualBox
ps => ps -ef
puppetversion => 4.6.2
rubyplatform => x86_64-linux
rubysitedir => /usr/local/share/ruby/site_ruby/
rubyversion => 2.0.0
selinux => true
selinux_config_mode => enforcing
selinux_config_policy => targeted
selinux_current_mode => enforcing
selinux_enforced => true
selinux_policyversion => 28
serialnumber => 0
sshecdsakey => AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCJk1n5elm9AfujDAoNb5Bzg/EG+qoPLo8z0OgR9kiIak9q+TlROrb6rxhqFcsVZHHtRBAdsLkRej8eCgv33K+A=
sshed25519key => AAAAC3NzaC1lZDI1NTE5AAAAIH8SgiJd2EB6vteaedQL2PagzZoMIPRwxlPckDlK0VTG
sshfp_ecdsa => SSHFP 3 1 961bc30d383a170d79e8c9dc57c8442109869051
SSHFP 3 2 a027d19e9470081329933a6eaa543cdc65ff8bbef371c32dee9b89b392404cf9
sshfp_ed25519 => SSHFP 4 1 7f725973f508996605a180c1eb727062cf530b6e
SSHFP 4 2 f5f49ce843fa8c5c6518da19bfddc3b7a13d6555d6780b9b54c0c6906651b6be
sshfp_rsa => SSHFP 1 1 b828b320ba24849542ef459427de7bfb6ad15edc
SSHFP 1 2 7e859e12617f407daf75c2131e98bec1fcea65b847636d4a37accf7bcea1d65a
sshrsakey => AAAAB3NzaC1yc2EAAAADAQABAAABAQCetE5PGEhRAcWRHo7OY5ZvVj8yLkQ9wyCcBAX/yD45mZ7xcV2UrmPL9eiAX17PJYeJzYqKbSifSjVvoxbW9p+sDLPgbo+RJqc5Yu9eJU9hSRqGSvYAhPSK1exQkszjv+pOrCK/mdE1DKun0DwoiTGOE4rtSoIkOPjzommc321Y3O0AN/1jK3yQCLE7YtakUIoxrQtYx4hBJEHZc56Rq32FSJM46P0fn3Z8PQlcPwiwLVEJEeSAhtgcCPyiyDbglWrSF62jq152oFyNKxtOWe/1xqsNFkfyxxS7crvvv4bjvrUBDMcpt6GIH99DxEdTwTMBqBwSs6I3GaCZ12HqNSb1
swapfree => 3.88 GB
swapfree_mb => 3968.00
swapsize => 3.88 GB
swapsize_mb => 3968.00
system_uptime => {"seconds"=>2551, "hours"=>0, "days"=>0, "uptime"=>"0:42 hours"}
timezone => EDT
type => Other
uniqueid => a8c0272b
uptime => 0:42 hours
uptime_days => 0
uptime_hours => 0
uptime_seconds => 2551
uuid => D9BBFBA5-888E-423A-8207-F84AEEDF176A
virtual => kvm

2 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}