1、下载命令:
-
正式环境:
- scp -r root@139.196.197.190:/data/log/api-client/gc.log /Users/shuimodanqing/Downloads
- scp -r root@139.196.197.190:/data/log/api-admin/gc.log /Users/shuimodanqing/Downloads
-
测试环境: scp -r root@111.231.57.84:/data/log/mall-client/gc.log /Users/shuimodanqing/Downloads
2、查看内存总量
grep MemTotal /proc/meminfo
3、查看空闲内存量
grep MemFree /proc/meminfo
4、查看内存使用量
free -m
5、查看CPU相关参数的linux系统命令
cat /proc/cpuinfo