## 查看系统 PCI 设备:
```
lspci
```
## 查看 CPU 信息:
```
more /proc/cpuinfo
```
### 查看系统物理 CPU 的个数:
```
cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l
```
### 查看每个物理 CPU 中内核的个数:
```
cat /proc/cpuinfo | grep "cpu cores"
```
### 查看系统所有逻辑 CPU 个数(所有物理 CPU 中内核的个数加上超线程个数):
```
cat /proc/cpuinfo | grep "processor" | wc -l
```
## 查看系统内存信息
```
more /proc/meminfo
```
## 查看磁盘分区信息
```
fdisk -l
```
- Linux Server
- 实用命令
- services
- Samba
- /etc/samba/smb.conf
- NFS
- Http
- httpd.conf
- lamp
- FTP
- /etc/vsftpd/vsftpd.conf
- ftp实例
- iSCSI
- SElinux
- DNS
- master
- slave
- subdomain
- 相关配置文件
- /etc/hosts
- /etc/resolv.conf
- /etc/named.conf
- /var/named/named.ca
- /var/named/named.localhost&named.loopback
- DHCP
- /etc/dhcp/dhcpd.conf
- mysql
- Redis
- Git
- HAProxy
- haproxy
- openssl
- nodejs