Skip to content

Instantly share code, notes, and snippets.

View jonahberquist's full-sized avatar

Jonah Berquist jonahberquist

View GitHub Profile
#!/bin/bash
# row-stats.sh -h <hostname> -u <user> -p <password> [-P <port>]
# This script will connect to the specified host to provide database stats for:
# * rows written
# * rows read
# * total size of non-mysql-internal tables
while getopts ":h:u:p:P:" option
do
case $option in

Keybase proof

I hereby claim:

  • I am jonahberquist on github.
  • I am jonahberquist (https://keybase.io/jonahberquist) on keybase.
  • I have a public key whose fingerprint is F939 3642 47A6 87C7 BFB8 0881 A847 E4E5 06DB DEA4

To claim this, I am signing this object: