strace命令是一个集诊断、调试、统计与一体的工具,我们可以使用strace对应用的系统调用和信号传递的跟踪结果来对应用进行分析,以达到解决问题或者是了解应用工作过程的目的。当然strace与专业的调试工具比如说gdb之类的是没法相比的,因为它不是一个专业的调试器。 strace的最简单的用法就是 ...
分类:
其他好文 时间:
2018-02-28 01:15:18
阅读次数:
169
心灵鸡汤 做任何事情,首先要敢想,然后脚踏实地,找准方向。 先积淀,再沉淀 01-Python历史、32bit和64bit区别、系统运行机制浅析 第一、CPU要求不同——由于CPU分别有32位和64位,32位的CPU只支持安装32位系统,而64位的CPU可以同时支持32位系统以及64位系统。 第二、 ...
分类:
编程语言 时间:
2018-02-27 21:30:50
阅读次数:
329
调试机: Win7+Windbg 被调试机: xp 虚拟机: VM 修改VM配置 添加串口 右击 显示包内容 然后编辑 .vmx 后戳的文件 添加下面的配置 win7 (调试机): serial0.present = "TRUE" serial0.fileType = "pipe" serial0. ...
1.使用包装类型和基本类型的区别 包装类型可以为空 基本类型不可以为空(建议使用别名@RequestParam), 当没有赋值时:500 Optional int parameter 'age' is present but cannot be translated into a null valu ...
分类:
其他好文 时间:
2018-02-25 14:33:52
阅读次数:
237
We are given an elevation map, heights[i] representing the height of the terrain at that index. The width at each index is 1. After V units of water f ...
分类:
其他好文 时间:
2018-02-23 00:24:30
阅读次数:
139
saltansible服务安装salt h112 ?pkg.install nginxansible h112 -m apt -a "name=nginx state=present"服务停止salt h112 service.stop nginxansible h112 -m service -a "name=nginx state=stopped&quo
分类:
其他好文 时间:
2018-02-22 19:31:37
阅读次数:
149
To remember is to disengage from the present. 铭记过去就是放弃当下。 To remember the past doesn't mean we would disengage from the present. For most of us, the p ...
分类:
其他好文 时间:
2018-02-13 22:14:26
阅读次数:
182
Robot Bender decided to make Fray a birthday present. He drove n nails and numbered them from 1 to n in some order. Bender decided to make a picture u ...
分类:
其他好文 时间:
2018-02-13 20:11:27
阅读次数:
189
ThinkPad-X220 macOS 10.12.6 Installation Documentation
分类:
系统相关 时间:
2018-02-13 10:37:05
阅读次数:
523