性能调优

Table of Contents

常用命令

1. 查看系统 CPU 总数
$ grep -c ^processor /proc/cpuinfo

$ lscpu
2. 查看网卡信息,主机名
$ hostname

$ ip addr show eth0
3. 查看系统上运行的服务
# systemctl list-units -t service | awk '$3=="active"'
**
**
**
**

results matching ""

    No results matching ""