echo -e "\033[1;32m"=== 하드웨어 사양 확인 시작 ==="\033[0m"
###
echo -e "\033[1;32m"=== System ==="\033[0m"
dmidecode --type system | grep -v "^$\|#\|SMBIOS\|Handle\|Not"
###
###
echo -e "\033[1;32m"=== CPU ==="\033[0m"
lscpu | grep -v "Flags\|NUMA"
###
###
echo -e "\033[1;32m"=== Memory Device ==="\033[0m"
dmidecode --type 16 | grep -v "dmidecode\|SMBIOS\|Handle"
dmidecode --type memory | grep "Number Of Devices\|Size\|Locator\|Clock" | grep -v "No\|Unknown"
dmidecode --type memory | grep Size | grep -v No | grep -c GB
###
###
cat /proc/meminfo | grep MemTotal
free -m
free -h
###
###
echo -e "\033[1;32m"=== Pci Device ==="\033[0m"
lspci | grep -i vga
lspci | grep -i nvidia
lspci | grep -i raid
dmidecode | grep NIC
lspci | grep -i communication
dmesg | grep NIC
###
###
echo -e "\033[1;32m"=== Power Supply ==="\033[0m"
dmidecode --type 39 | grep "System\|Name:\|Capacity"
###
###
echo -e "\033[1;32m"=== Disk "&" Partition ==="\033[0m"
lsblk
###
###
blkid
###
###
cat /etc/fstab | grep -v "#\|^$"
###
df -hT | grep -v tmpfs
###
###
echo -e "\033[1;32m"=== O/S ==="\033[0m"
cat /etc/*-release
uname -a
###
###
echo -e "\033[1;32m"=== Active daemon list ==="\033[0m"
systemctl list-unit-files | grep enabled
###
###
echo -e "\033[1;32m"=== END / 하드웨어 사양 확인 끝 ==="\033[0m"