Viewing System Information
View the system information.
$ cat /etc/os-release
For example, the command and output are as follows:
$ cat /etc/os-release NAME="openEuler" VERSION="22.03 LTS SP1" ID="openEuler" VERSION_ID="22.03" PRETTY_NAME="openEuler 22.03 LTS SP1" ANSI_COLOR="0;31"
View system resource information.
Run the following command to view the CPU information:
Run the following command to view the memory information:
Run the following command to view the disk information:
$ fdisk -l
View the real-time system resource information.