- 博客(4)
- 收藏
- 关注
原创 监测linux服务器上 docker 某容器的内存情况
最近项目上通过docker部署的某个容器时不时的遇到OOM问题,经过一系列优化后,检测一下优化成果,这种是比较简单的监测内存使用情况的方式,浅浅的先记录一下,以便后续自己查看~除了以上方法,还可以使用监控工具如 Prometheus、Grafana 等来监测和可视化容器的内存使用情况。这会将容器的名称、内存使用量和内存使用率保存到 `mem_usage.txt` 文件中。这会显示容器的 CPU 使用率、内存使用率、网络 I/O 等信息,但不会实时更新。这会以表格形式显示容器的名称、内存使用量和内存使用率。
2023-10-30 17:28:09
2084
1
原创 Error: error:0308010C:digital envelope routines::unsupported
3.出现下面报错:10% building 2/2 modules 0 activeError: error:0308010C:digital envelope routines::unsupported。2.启动服务: yarn run dev或者npm run dev,根据自己配置来。5.再次执行 yarn run dev.执行成功!
2023-06-11 11:10:06
3564
1
原创 yarn install报错:error @achrinza/node-ipc@9.2.2: The engine “node“ is incompatible with this module
yarn错误The engine “node“ is incompatible with this module
2023-06-11 11:01:37
6340
2
原创 yarn : 无法加载文件 D:\nodejs\node_global\yarn.ps1,因为在此系统上禁止运行脚本。
PowerShell的问题--无法加载文件,此系统禁止运行脚本
2023-06-11 10:48:16
4542
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人