The output of InnoDB Monitor goes to stderr every 15 seconds unless configured otherwise...
If log-error is set in /etc/my.cnf (or by passing --log-error at start time) then the output will go to the file named,
If --innodb-status-file option is passed at start time then the output will go to this file instead.
In practice this usually means that the output goes to mysqld.log
under /var/log or a custom location like /mysql/data if installing from a tarballTo check whether Standard InnoDB Monitor and the InnoDB Lock Monitor is enabled...
SHOW VARIABLES LIKE '%innodb_status_output%';
To enable the Standard InnoDB Monitor...
SET GLOBAL innodb_status_output=ON;
To enable the InnoDB Lock Monitor...
SET GLOBAL innodb_status_output_locks=ON;
The Standard InnoDB Monitor must also be ON for this to be generated every 15 seconds. But you may wish to set it on independently for use with the On Demand output (see below).To disable the Standard InnoDB Monitor...
SET GLOBAL innodb_status_output=OFF;
To disable just the InnoDB Lock Monitor...
SET GLOBAL innodb_status_output_locks=OFF;
Use...
SHOW ENGINE INNODB STATUS\G
This will include InnoDB Lock Monitor data if it is enabled