Querying Server Information
Item |
Query Command |
|---|---|
OS version of the server |
cat /etc/os-release |
Kernel version of the host system |
uname -r |
numactl |
|
PCI device information |
lspci |
CPU information |
|
Memory usage |
|
Drive storage |
|
System uptime |
uptime |
Process information |
|
I/O information |
|
System log information |
/var/log/ |
System environment variables |
env |
Startup information |
dmesg -T |
Network status |
|
If the host OS is openEuler 22.03, some ports of the firewall need to be enabled in the online gaming scenario. (The port number is defined by the game vendor. For example, the port used by Honor Of Kings is 50012.) Otherwise, the network may be abnormal and users may fail to log in to a game. Configure the firewall as follows:
- Enable port 50012 (Honor Of Kings is used as an example).
1firewall-cmd --zone=public --add-port=50012/tcp --permanent
- Reload the firewall configuration.
1firewall-cmd --reload
Parent topic: Routine O&M