06 2021 档案

摘要:最近在公司负责一个小模块在windows跑。突然运行一个程序,直接崩溃,话不多说,上图 这咋整,先用任务管理器coredump再说,ok,这叫给进程照快照,这确实非常有用保护现场,方便慢慢分析。 OK,用windbg打开coredump 找到了一个一个check 是哪个线程出现的异常,看样子是02号 阅读全文
posted @ 2021-06-19 00:12 maojun1998 阅读(94) 评论(0) 推荐(0) 编辑
摘要:。。。 阅读全文
posted @ 2021-06-12 21:02 maojun1998 阅读(44) 评论(0) 推荐(0) 编辑
摘要:1 [root@zone3-pc124 bin]# ./perf kvm stat report 2 3 4 Analyze events for all VMs, all VCPUs: 5 6 VM-EXIT Samples Samples% Time% Min Time Max Time Avg 阅读全文
posted @ 2021-06-09 14:39 maojun1998 阅读(70) 评论(0) 推荐(0) 编辑
摘要:1 #!/bin/bash 2 3 while [ 1 ] 4 do 5 sleep 1 6 echo "bash is alive" 7 done 阅读全文
posted @ 2021-06-04 16:16 maojun1998 阅读(40) 评论(0) 推荐(0) 编辑
摘要:1 #include <time.h> 2 #include <stdio.h> 3 #include <errno.h> 4 #include <string.h> 5 #include <stdlib.h> 6 7 #include <winsock2.h> 8 #include <iphlpa 阅读全文
posted @ 2021-06-01 14:59 maojun1998 阅读(442) 评论(0) 推荐(0) 编辑