Viewing System Information
Run the following command to view the system information:
cat /etc/os-releaseFor example, the command and output are as follows:
cat /etc/os-release NAME="openEuler" VERSION="20.03 (LTS-SP4)" ID="openEuler" VERSION_ID="20.03" PRETTY_NAME="openEuler 20.03 (LTS-SP4)" ANSI_COLOR="0;31"View system resource information.
Run the following command to view the CPU information:
lscpuRun the following command to view the memory information:
freeRun the following command to view the disk information:
fdisk -lRun the following command to view the real-time information about system resources:
top




