HostName
$ hostname
Network
$ ifconfig
Kernel
$ uname -a
Distribution
$ cat /etc/os-release
$ cat /etc/redhat-release
CPU
$ lscpu
$ cat /proc/cpuinfo
Memory
$ cat /proc/meminfo
Storage
$ df -h
スペック調査とかの時のために…
$ echo -e "\n*** hostname ***" && hostname && \
echo -e "\n*** kernel ***"&& uname -a && \
echo -e "\n*** distribution ***" && cat /etc/redhat-release && \
echo -e "\n*** cpu ***" && lscpu && \
echo -e "\n*** memory ***" && cat /proc/meminfo && \
echo -e "\n*** Network ***" && ifconfig && \
echo -e "\n*** storage ***" && df -h