目录
当前位置: 首页 > 文档资料 > 技术文档 Cookbook >

性能调优

优质
小牛编辑
139浏览
2023-12-01

常用命令

1. 查看系统 CPU 总数

$ grep -c ^processor /proc/cpuinfo

$ lscpu

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

$ hostname

$ ip addr show eth0

3. 查看系统上运行的服务

# systemctl list-units -t service | awk '$3=="active"'

**

**

**

**