Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- watching queries per second (vmstat style) on MySQL:
- mysqladmin ext -ri 1 |grep -i -e queries -e \-
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- | Qcache_queries_in_cache | 5282 |
- | Queries | 669070336 |
- | Slow_queries | 2950563 |
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- | Innodb_data_pending_fsyncs | -1 |
- | Qcache_free_memory | -2440 |
- | Qcache_queries_in_cache | 1 |
- | Queries | 211 |
- | Slow_queries | 0 |
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- | Qcache_queries_in_cache | 0 |
- | Queries | 177 |
- | Slow_queries | 0 |
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- | Innodb_data_pending_fsyncs | -1 |
- | Innodb_os_log_pending_fsyncs | -1 |
- | Qcache_queries_in_cache | 0 |
- | Queries | 133 |
- | Slow_queries | 0 |
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- | Open_files | -8 |
- | Qcache_queries_in_cache | 0 |
- | Queries | 687 |
- | Slow_queries | 0 |
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- | Open_files | -2 |
- | Qcache_queries_in_cache | -13 |
- | Qcache_total_blocks | -12 |
- | Queries | 544 |
- | Slow_queries | 0 |
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
- +-----------------------------------+--------------+
Add Comment
Please, Sign In to add comment