## ESXi查看内存状态
#### 通过 ssh 进入主机执行以下命令:
```
$ smbiosDump |grep -A 12 'Memory Device'
```
#### 附加内存厂商 ID
```
A partial list of these Vendor ID Codes:
0x014F - Transcend Information
0x2C00—Micron Technology, Inc.
0x802C—Micron Technology, Inc.
0x80AD—Hynix Semiconductor Inc.
0x80CE—Samsung Electronics, Inc.
0xAD00—Hynix Semiconductor Inc.
0xCE00—Samsung Electronics, Inc.
```
## ESXi 查看网络连接状态
```
$ esxcli network ip connection list
```
## ESXi 添加静态路由
首先打开 ESXi 的 SSH 服务, 在 `Configuration -> Security Profile -> Services , start SSH`
#### 用管理员登录后, 在命令行下执行
```
~ # esxcli network ip route ipv4 add --gateway 192.168.20.59 --network 10.8.0.0/24
# 检查路由是否正确添加
~ # esxcfg-route -l
```
#### 对于 5.0 及 5.0 之前的 ESXi, 执行
```
esxcfg-route -a 192.168.100.0/24 192.168.0.1
# or
esxcfg-route -a 192.168.100.0 255.255.255.0 192.168.0.1
```
**因为这个 5.0 版本还不能持久化路由配置, 需要在 /etc/rc.local 中添加这个路由命令**
- 第一章:Centos快捷操作
- EPEL 存储库
- 第二章:系统命令
- 第三章:Consul搭建配置
- consul-客户端配置win
- 第四章:Mongodb3.20搭建配置
- 1、mongodb-bak
- 第五章:Centos 7搭建Gitlab服务器
- yum-install
- 第六章:Mysql5.6主从搭建
- 第七张:Vmware-exsi6.5
- 第八章:Jumpserver 堡垒机
- 第九章:OCS Inventory NG-CMDB”
- 第十章:zabbix监控部署
- 第十一章:ELK快速搭建
- 第十二章:docker安装
- 第十三章:rabbitmq集群安装
- 第十四章:Nginx相关配置
- 1、Nginx禁止访问某个目录或某个后缀文件
- 2、Nginx-GeoIP部署
- 3、Nginx的lua-nginx-module模块
- 4、lua-resty-redis
- 5、nginx删除不安全的请求头
- 6、Nginx支持HTTPS并且支持反爬虫
- 7、nginx配置location总结及rewrite规则写法
- 7、nginx安装和监控
- 第十五章:racktables资产管理
- 第十六章:缓存服务安装
- memcache
- 第十七章:自动化管理
- ansible-playbook
- ansible-playbook-firewalld
- 第十八章:redis集群部署
- 第十九章:yapi配置ldap
- yapi
- 第二十章:winlogbeat
- win配置winlogbeat
