Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TOOLS
- ======
- mysqladmin --defaults-file=~/myown.cnf extended-status | grep -wi 'threads_connected\|threads_running' | awk '{ print $2,$4}'
- /usr/bin/mysql --defaults-file=/home/hafeez/myown.cnf --execute="select count(ID) from information_schema.processlist " -sN
- watch -n2 'mysql --defaults-file=/home/hafeez/myown.cnf --execute="select * from information_schema.processlist ORDER BY INFO DESC "'
Add Comment
Please, Sign In to add comment