There's more than one way to do things | |
PerlMonks |
Re^2: Measuring MySQL resources consumption on Linuxby Anonymous Monk |
on Aug 22, 2008 at 15:45 UTC ( [id://706213]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Cool Uses for Perl
|
|