Querying Server Information
Related Information |
Query Command |
|---|---|
OS version of the server |
cat /etc/os-release |
Kernel version of the host system |
uname -r |
NUMA information |
numactl |
PCI device information |
lspci |
CPU information |
|
Memory usage |
|
Drive storage |
|
System runtime load |
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 sign in a game. Configure the firewall as follows:
- Enable port 50012 (Honor Of Kings is used as an example).
firewall-cmd --zone=public --add-port=50012/tcp --permanent
- Reload the firewall configuration.
firewall-cmd --reload
Parent topic: Routine O&M