If it isn't hard, it's not fun If it doesn't deliver, it's not cool
#!/usr/sbin/dtrace -Zspid$target:libmysqlclient:mysql_real_query:entry{ printf("Query: %s\n", copyinstr(arg1));}
pgrep httpd
dtrace -p 714 -s ./mysql.d
0 comments:
Post a Comment