I downloaded a VM image of a web application that uses MySQL.
How can I monitor its space consumption and know when additional space must be added?
For MyISAM tables, I usually check the size of the /var/lib/mysql/mydatabasename/ directory. InnoDB tables use monolithic files, so you have to use SHOW TABLE STATUS.