Monitoring MySQL Queries Using Bash Script

    Date: 11/18/07 (Java Web)    Keywords: mysql, sql

    Monitoring MySQL queries is a favorite pastime of MySQL administrators especially for performance reasons. Here is a simple bash script to monitor long running MySQL queries in realtime using the ubiquitous ’show processlist’: #!/bin/bash while [ 1 ] do mysql -N -u root -ppassword -e 'show processlist' |grep -v 'show processlist' [...]

    Source: http://blog.taragana.com/index.php/archive/monitoring-mysql-queries-using-bash-script/

« Game Review & Tips:... || How To Change Firefox... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home