Mira la línea de comandos de MySQL
watch -n 1 "mysql -e 'select id from updates order by id desc limit 1' your_db"
Wide-eyed Walrus
watch -n 1 "mysql -e 'select id from updates order by id desc limit 1' your_db"