目前已经发现cps 打不上去,top中sys偏高, perf 以及strace 发现时accpet频繁的系统调用! 整体分析过程见:48核cps性能低于8核-debug cps ...
分类:
其他好文 时间:
2021-04-08 13:52:47
阅读次数:
0
在日常使用ansible playbook的过程中,我们有时候希望做一下补救性的操作,做一些判断, 例如: Default 1 2 3 4 5 6 7 8 9 10 11 tasks: - block: - debug: msg='i execute normally' - command: /bi ...
分类:
其他好文 时间:
2021-04-08 13:17:01
阅读次数:
0
C#语法基础04_Debug.Assert 仅当为false时,跳出信息提示框,或将显示简化提醒信息和提醒消息 // 存在重载 Debug.Assert(<bool>); Debug.Assert(<bool>,"simplified string"); Debug.Assert(<bool>,"s ...
debug调试快捷键F9 resume programe 恢复程序Alt+F10 show execution point 显示执行断点F8 Step Over 相当于eclipse的f6 跳到下一步F7 Step Into 相当于eclipse的f5就是 进入到代码Alt+shift+F7 For ...
分类:
其他好文 时间:
2021-04-05 12:05:32
阅读次数:
0
当C#项目引入皮肤组件,或其他组件是,发现工具框里面没有引用的组件怎么办? 1.组件的引用 我是把下载好的*.dll组件,复制到项目的\bin\Debug\路径下,然后在项目处右键-->添加引用,这样组件就引入项目了可以使用了。 (但是,此时使用的时候还不太方便,如果是控件类的组件,需要把它放在工具 ...
分类:
Web程序 时间:
2021-04-01 13:43:09
阅读次数:
0
1 MySQL 1.1 安装 在root用户权限下 # 创建mysql用户和用户组,同时禁止登陆 shell> groupadd mysql shell> useradd -r -g mysql -s /bin/false mysql # tar解压mysql压缩包,同时把他移到你向安装的位置 sh ...
分类:
数据库 时间:
2021-04-01 13:30:26
阅读次数:
0
PM2是Node.js的进程管理工具,利用它可以非常容易地实现开机应用自动启动以及必要时自动启动的功能。 我们可以使用 pm2 来守护进程 以下示例采用node-red来演示。 [alick@devnet ~]# sudo npm install -g pm2 然后我们启动 node-red [al ...
分类:
系统相关 时间:
2021-04-01 13:10:18
阅读次数:
0
import logging LOG_FORMAT = "%(asctime)s %(levelname)s++++++%(message)s" logging.basicConfig(filename="tulingxueyuan.log", level=logging.DEBUG, format ...
分类:
其他好文 时间:
2021-04-01 13:06:35
阅读次数:
0
如何:调试 Windows 服务应用程序 https://docs.microsoft.com/zh-cn/dotnet/framework/windows-services/how-to-debug-windows-service-applications 官网地址 <main id="main" ...
官网对于安装microstack的教程非常简单,似乎只是需要几个命令就可以完美解决问题。然而在安装过程中我出现了如下的问题: error: cannot perform the following tasks: Start snap “microstack” (216) services ([sta ...
分类:
其他好文 时间:
2021-03-30 13:19:48
阅读次数:
0