logrotateなどの設定をしていて、動作確認したいなあと思ったときのTIPSです。 $ mysqladmin -u root debugこんなログが出ます。 Status information: Current dir: /var/lib/mysql/ Running threads: 1 Stack size: 196608 Current locks: lock: 0xa735d38: 〜 Alarm status: Active alarms: 0 Max used alarms: 2 Next alarm time: 0 Begin safemalloc memory dump: End safemalloc memory dump.ついでにOracle。マニュアルにはありませんが、dbms_system.ksdwrtで任意の文字列を出力できます。 SQL> exec dbm