摘要: top -p (pid) 查看服务器资源情况; ps -aux | grep (pid or name) 查看该pid的进程的详细信息; netstat -anp|grep 8282 查看此端口的占用情况;16923为pid 查看端口占用 lsof -i:80 kill –9 3268 只有第9种信 阅读全文
posted @ 2020-06-29 18:40 Shikyoh 阅读(179) 评论(0) 推荐(0) 编辑
摘要: analyze table tb_name ySQL执行命令delete语句时,如果包括where条件,并不会真正的把数据从表中删除,而是将数据转换成了碎片,通过下面的命令可以查看表中的碎片数量和索引等信息: mysql > show table status like 'table_name' 查 阅读全文
posted @ 2020-06-18 16:53 Shikyoh 阅读(333) 评论(0) 推荐(0) 编辑
摘要: ;(function (window, document, ns, undefined) { var Node = function (data, parentNode) { this._childCount = 0; this.data = data; this.parentNode = pare 阅读全文
posted @ 2020-06-17 11:34 Shikyoh 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 1. adplus 这个脚本工具是和debugger tools一起安装的。可以自动的帮你监视某个程序,并在你设定的条件下生成一个dump文件保存在debugger目录下。使用这些工具时,都需要将命令提示符窗口切到debugger目录。常见的用法如下: adplus -hang -pn w3wp.e 阅读全文
posted @ 2020-06-01 18:11 Shikyoh 阅读(238) 评论(0) 推荐(0) 编辑
摘要: AsyncLocal<string> data = new AsyncLocal<string>(); data.Value = "lcc"; for (int i = 0; i < 20; i++) { var current = i; Thread.Sleep(500 * current); T 阅读全文
posted @ 2020-03-05 17:24 Shikyoh 阅读(1063) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TestPipeline { public class Testcs { public delegate v 阅读全文
posted @ 2020-02-13 17:37 Shikyoh 阅读(225) 评论(0) 推荐(0) 编辑
摘要: canal 占用了生产者 .net core端 使用消费者获取canal 消息 安装 Confluent.Kafka demo使用 1.3.0 注意: 1. 在config项 中 有 EnableAutoCommit 设置是否自动应答提交,默认是 true,如果设置为否,需要在消费后,手动 comm 阅读全文
posted @ 2019-12-24 17:05 Shikyoh 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: 第一步 创建Zookeeper 下载完成后 修改 Zookeeper中的 zoo.cfg 修改 dataDir 、dataLogDir 集群模式 server.1=ServerIP:2888:3888 第二步 创建 kafka 检查 server.properties 是否正确 配置端口 liste 阅读全文
posted @ 2019-12-24 11:56 Shikyoh 阅读(871) 评论(0) 推荐(0) 编辑
摘要: canal是阿里开源的中间件,主要用于同步mysql数据库变更。具体参见:https://github.com/alibaba/canal/releases 搭建环境: vmware centos7 部署mysql和canal windows开发canal client,自动捕获mysql数据库变更 阅读全文
posted @ 2019-12-19 11:15 Shikyoh 阅读(666) 评论(2) 推荐(0) 编辑
摘要: linux下安装sqlserver数据库有2种办法,第一使用yum镜像安装,第二使用rpm安装包安装 rpm安装地址为:https://packages.microsoft.com/rhel/7/mssql-server-2017/ 使用rpm安装的话可能存在依赖问题,此处不做详细安装说明。 重点说 阅读全文
posted @ 2019-09-28 17:00 Shikyoh 阅读(1710) 评论(0) 推荐(0) 编辑