• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ./mysqld_query.py `pgrep -n mysqld`
2TIME(s)            COMM             PID    QUERY
317450459.549910001 mysqld           18608  select @@version_comment limit 1
417450463.822668001 mysqld           18608  SELECT DATABASE()
517450463.824042998 mysqld           18608  show databases
617450463.824570000 mysqld           18608  show tables
717450465.602717999 mysqld           18608  SELECT COUNT(*) FROM words
817450479.944897000 mysqld           18608  SELECT * FROM words WHERE word REGEXP '^bre.*n$'
9