摘要:
PerfView 概述: PerfView是一个可以帮助你分析CPU和内存问题的工具软件。它非常轻量级也不会入侵诊断的程序,在诊断过程中对诊断的程序影响甚微。 Visual Studio自带的性能分析功能在CPU占用、时间消耗、内存分配等方面的诊断效果还算不错,但PerfView可以提供更加丰富的诊
阅读全文
posted @ 2020-11-24 12:48
chester·chen
阅读(4152)
推荐(8)
摘要:
1. !threadpool 查看当前CPU状况 线程数等等 2. !runaway 查看那几个线程使用的高 建议多抓几个dump 然后确定到底是哪个线程 3. ~线程IDs 跳转到那个线程 4. !clrstack 看看这个线程再干嘛 执行那些方法 5. !clrstack -p 具体方法的参数值
阅读全文
posted @ 2020-11-24 12:33
chester·chen
阅读(336)
推荐(1)
摘要:
基本使用 在编写playbook时,可能会涉及到一些敏感的数据,比如密码,当这些敏感数据以明文的方式存储在playbook中时,可能是不能被接受的,那么我们该怎么办呢?ansible官方已经考虑到了这种情况,当我们的playbook中含有不能明文展示的文本时,我们可以使用"ansible-vault
阅读全文
posted @ 2020-11-13 17:04
chester·chen
阅读(4487)
推荐(1)
摘要:
回到顶部 Ansible playbook 简介 playbook 是 ansible 用于配置,部署,和管理被控节点的剧本。 通过 playbook 的详细描述,执行其中的一系列 tasks ,可以让远端主机达到预期的状态。playbook 就像 Ansible 控制器给被控节点列出的的一系列 t
阅读全文
posted @ 2020-11-13 16:55
chester·chen
阅读(153)
推荐(0)
摘要:
ansible 简介 ansible 是什么? ansible是新出现的自动化运维工具,基于Python开发,集合了众多运维工具(puppet、chef、func、fabric)的优点,实现了批量系统配置、批量程序部署、批量运行命令等功能。 ansible是基于 paramiko 开发的,并且基于模
阅读全文
posted @ 2020-11-13 16:52
chester·chen
阅读(215)
推荐(0)
摘要:
1.在/etc/init.d 目录下新建一个 rabbitmq [root@localhost init.d]# vi rabbitmq 文件内容 #!/bin/bash #chkconfig:2345 61 61 export HOME=/opt/data/rabbitmq/ export PAT
阅读全文
posted @ 2020-11-02 14:11
chester·chen
阅读(3356)
推荐(1)
摘要:
1 下载并安装MySQL官方的 Yum Repository wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 使用上面的命令就直接下载了安装用的Yum Repository,大概25KB的
阅读全文
posted @ 2020-11-02 10:20
chester·chen
阅读(264)
推荐(0)
摘要:
一、安装gcc依赖 由于 redis 是用 C 语言开发,安装之前必先确认是否安装 gcc 环境(gcc -v),如果没有安装,执行以下命令进行安装 [root@localhost local]# yum install -y gcc 二、下载并解压安装包 [root@localhost local
阅读全文
posted @ 2020-11-02 10:17
chester·chen
阅读(324)
推荐(0)
摘要:
查看某个包有哪些版本 pip install xxx== 升级包 pip install xxx==1.1
阅读全文
posted @ 2020-09-12 22:40
chester·chen
阅读(5061)
推荐(0)
摘要:
class Program { private static readonly DiagnosticSource testDiagnosticListener = new DiagnosticListener("TestDiagnosticListener"); public static void
阅读全文
posted @ 2020-08-19 17:20
chester·chen
阅读(376)
推荐(0)