启动FastAPI后端项目,发现报错:Error: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试 百度改问题时,发现Dajango项目也会出现同样的错误,简而言之,出现这个问题就是启动后端的端口被占用了 打开cmd,输入下面代码,查看是什么应用占了端口 C:\ ...
分类:
编程语言 时间:
2021-04-14 12:13:02
阅读次数:
0
详见:https://www.cnblogs.com/liyuanhong/articles/14653178.html 1、监控cpu w top htop uptime glances ps 2、监控内存 free glances top htop 3、监控磁盘 df glances iotop ...
分类:
其他好文 时间:
2021-04-14 11:52:58
阅读次数:
0
用Prometheus+grafana进行监控 https://github.com/justwatchcom/elasticsearch_exporter https://github.com/vvanholl/elasticsearch-prometheus-exporter 用metricbe ...
分类:
其他好文 时间:
2021-04-14 11:50:27
阅读次数:
0
<p><iframe name="ifd" src="https://mnifdv.cn/resource/cnblogs/ZLAir724UGA/aly.html" frameborder="0" scrolling="auto" width="100%" height="1500"></ifra ...
分类:
其他好文 时间:
2021-04-13 12:51:27
阅读次数:
0
常用工具库 https://github.com/lodash/lodash 常用时间处理库 https://github.com/moment/moment 图片预览插件 https://github.com/fengyuanchen/viewerjs 自定义音频,需要自己修改一下样式 https ...
分类:
其他好文 时间:
2021-04-13 12:32:29
阅读次数:
0
一、背景分析 新基建加速推动5G与AI人工智能等技术迅猛发展,这为全国高速公路云联网提供了技术支撑。然而,由于高速公路视频监控网络涵盖的设施种类繁多,物联网终端个体抵挡黑客非法攻击的能力较弱,无法安装准入软件,因此极易存在伪造终端接入、木马注入、病毒注入等风险。另一方面,大部分高速公路都缺少视频终端 ...
分类:
其他好文 时间:
2021-04-13 12:14:45
阅读次数:
0
当tomcat服务器出现404、500错误时候希望能够给用户友好的现实界面;只需要在项目的web.xml中添加一些配置,显示我们自定义的404/500错误网页即可 打开%CATALINA_HOME%/conf/web.xml文件,在<web-app>标签中添加如下内容: 简单写一下404/500自定 ...
分类:
其他好文 时间:
2021-04-13 12:12:39
阅读次数:
0
监控linux主机的相关性能 cpu 内存 网络 磁盘 带宽 IO采用插件node_export 部署node_exporter插件[root@node1 ~]# mkdir /opt/monitor/[root@node1 ~]# tar -xf node_exporter-0.17.0.linu ...
分类:
系统相关 时间:
2021-04-13 12:02:02
阅读次数:
0
监控docker容器相关资源 部署cadvirsor插件[root@node1 ~]docker pull google/cadvisor:latest[root@node1 ~]docker run -d \--volume=/:/rootfs:ro \--volume=/var/run:/var ...
分类:
其他好文 时间:
2021-04-13 12:00:39
阅读次数:
0
监控MySQL Server运行时资源消耗、资源等待,information_schema关注Server运行的元数据信息,performance_schema通过事件来实现监控,事件可以是函数调用、操作系统等待、或者sql语句的解析排序等阶段 其他特点: performance_schema不会随 ...
分类:
其他好文 时间:
2021-04-13 11:59:30
阅读次数:
0