摘要:
stap -v -e 'probe process("/usr/local/mysql56/bin/mysqld").function("*@/usr/src/mysql-5.6.28/sql*").call{ if( tid()==15267) printf("%s:%s %d \n",execn 阅读全文
posted @ 2016-07-04 22:45
zengkefu
阅读(1222)
评论(0)
推荐(0)
摘要:
/* uuid_short handling. The short uuid is defined as a longlong that contains the following bytes: Bytes Comment 1 Server_id & 255 4 Startup time of server in seconds 3 Incrementor This means that... 阅读全文
posted @ 2016-07-04 22:17
zengkefu
阅读(1173)
评论(0)
推荐(0)
摘要:
会话1: 会话2: [root@localhost ~]# stap -v -e 'probe process("/usr/local/mysql56/bin/mysqld").function("*Item_*").call{ if( tid()==7625) printf("%s:%s %d \ 阅读全文
posted @ 2016-07-04 20:46
zengkefu
阅读(538)
评论(0)
推荐(0)
摘要:
Callgrind uses runtime instrumentation via the Valgrind framework for its cache simulation and call-graph generation. This way, even shared libraries 阅读全文
posted @ 2016-07-04 20:23
zengkefu
阅读(485)
评论(0)
推荐(0)
摘要:
http://tsecer.blog.163.com/blog/static/150181720160117355684/ http://tsecer.blog.163.com/blog/static/150181720160117355684/ http://tsecer.blog.163.com 阅读全文
posted @ 2016-07-04 17:24
zengkefu
阅读(902)
评论(0)
推荐(0)
摘要:
http://dev.mysql.com/doc/internals/en/ 阅读全文
posted @ 2016-07-04 17:17
zengkefu
阅读(354)
评论(0)
推荐(0)
摘要:
大牛那海蓝蓝 大牛那海蓝蓝 大牛那海蓝蓝 MySQL提供了较为丰富的SQL语句,用以支持MySQL提供的主要功能。在数据库内部,MySQL又是怎么知道自己能够处理哪些对象、处理哪些事情的? 如果我们输入一条SQL语句,MySQL可能报告语法错误或对象不存在等错误提示,这些提示,大致可以分为2类,一类 阅读全文
posted @ 2016-07-04 17:05
zengkefu
阅读(1149)
评论(0)
推荐(0)
摘要:
http://blog.itpub.net/15480802/viewspace-1465080/ 阅读全文
posted @ 2016-07-04 16:13
zengkefu
阅读(135)
评论(0)
推荐(0)
摘要:
(gdb) thread apply all bt Thread 9 (Thread 0x7f5430627940 (LWP 5126)): #0 0x00007f5497db1019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000baaa63 in os_cond_wait ... 阅读全文
posted @ 2016-07-04 13:31
zengkefu
阅读(379)
评论(0)
推荐(0)
摘要:
echo "this is test" >xxdebugfs: ls -d /root/test1 2985554 (12) . 2949121 (12) .. 2985555 (4072) xx (4052) test.c debugfs: q [root@localhost test1]# rm -rf xx [root@localh... 阅读全文
posted @ 2016-07-04 11:24
zengkefu
阅读(1196)
评论(0)
推荐(0)
摘要:
DebugFS,顾名思义,是一种用于内核调试的虚拟文件系统,内核开发者通过debugfs和用户空间交换数据。类似的虚拟文件系统还有procfs和sysfs等,这几种虚拟文件系统都并不实际存储在硬盘上,而是Linux内核运行起来后才建立起来。 通常情况下,最常用的内核调试手段是printk。但prin 阅读全文
posted @ 2016-07-04 10:03
zengkefu
阅读(291)
评论(0)
推荐(0)
摘要:
Linux缺省情况下使用的文件系统为Ext2,ext2文件系统的确高效稳定。但是,随着Linux系统在关键业务中的应用,Linux文件系统的弱点也渐渐显露出来了:其中系统缺省使用的ext2文件系统是非日志文件系统。这在关键行业的应用是一个致命的弱点。本文向各位介绍Linux下使用ext3日志文件系统 阅读全文
posted @ 2016-07-04 09:59
zengkefu
阅读(2527)
评论(0)
推荐(0)
摘要:
1。查看CPU运行时间 [guest@localhost tmp]$ strace -c ./b.out % time seconds usecs/call calls errors syscall 42.72 0.000692 87 8 open 38.40 0.000622 622 1 set_ 阅读全文
posted @ 2016-07-04 00:18
zengkefu
阅读(467)
评论(0)
推荐(0)