摘要: diskiohttp://blog.163.com/digoal%40126/blog/static/16387704020131015105532435/[root@localhost linux-2.6.32]# stap -l 'kernel.function("vfs_*")' kernel.function("vfs_cancel_lock@fs/locks.c:2074") ... 阅读全文
posted @ 2016-05-28 21:10 zengkefu 阅读(934) 评论(0) 推荐(0)
摘要: 参考:http://www.cnblogs.com/ahuo/category/72819.html http://blog.csdn.net/tenfyguo/article/details/8159176 http://blog.csdn.net/ylyuanlu/article/details/9115159 一.进程产生进程coredump 必备条件: uli... 阅读全文
posted @ 2016-05-28 21:03 zengkefu 阅读(539) 评论(0) 推荐(0)
摘要: 想要查看一些结构体的定义,比如struct ip_mreq,可以查看头文件, 所有的系统预定义的结构体都在内核源代码的/include下有定义,ubuntu里面是/usr/include 。 比如要找上面提到的struct ip_mreq,可以这样:find /usr/include -name "*.h" | xargs grep "struct ip_mreq" -rn ,结果显示,这个... 阅读全文
posted @ 2016-05-28 20:58 zengkefu 阅读(1196) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/msdnchina/article/details/38377125 阅读全文
posted @ 2016-05-28 20:36 zengkefu 阅读(187) 评论(0) 推荐(0)
摘要: [root@server1 ~]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Thread(s) per core:... 阅读全文
posted @ 2016-05-28 20:32 zengkefu 阅读(605) 评论(0) 推荐(0)
摘要: http://blog.chinaunix.net/uid-20321537-id-3466022.html 阅读全文
posted @ 2016-05-28 18:17 zengkefu 阅读(150) 评论(0) 推荐(0)
摘要: https://github.com/openresty/nginx-systemtap-toolkit 阅读全文
posted @ 2016-05-28 18:10 zengkefu 阅读(340) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/cywosp/article/details/8767327SYNOPSIS #include #include #include int open(const char *pathname, int flags); int open(const char *pathname,... 阅读全文
posted @ 2016-05-28 18:02 zengkefu 阅读(195) 评论(0) 推荐(0)