http://www.perlmonks.org?node_id=706213


in reply to Re: Measuring MySQL resources consumption on Linux
in thread Measuring MySQL resources consumption on Linux

if there is a tee in my.cnf, demo mysql tee = mysql.log mysql -u read -pread -N -e 'show variables like "pid_file"' get: Logging to file 'mysql.log' pid_file /path/to/var/mysql.pid mysqlresources buddy read the first line set pid_file="to" reply to: xiaozhiwen@gmail.com
  • Comment on Re^2: Measuring MySQL resources consumption on Linux