Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 2

Displaying posts with tag: statpack (reset)

Unknown locale for statpack & maatkit
+2 Vote Up -0Vote Down

I had trouble today on a client site using my MySQL power tools Maatkit and Statpack.

$ ~/scripts/ --files=mysql.status.091015.080001.txt,mysql.status.091015.090001.txt
Traceback (most recent call last):
  File "/home/rbradfor/scripts/", line 563, in ?
  File "/home/rbradfor/scripts/", line 527, in main
    locale.setlocale(locale.LC_NUMERIC, '')
  File "/usr/lib64/python2.4/", line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
$ …
  [Read more...]
Statpack Version 2
Employee +0 Vote Up -0Vote Down

I’ve finally gotten around to adding the last little things that I wanted to do to version 2 of Statpack - my python script for aggregating SHOW [GLOBAL] STATUS output.

Now it connects to a running instance, and allows you to gather statistics from there to generate reports.

Here are the options it supports:

[markleith@medusa:~/Development/statpack/statpack-v2] $ ./

Error: No arguments supplied
usage: ./ [list of arguments]

Non-interactive mode (aggregate txt files containing SHOW STATUS snapshots):

-f –files List of statistics files to aggregate …

  [Read more...]
Showing entries 1 to 2

Planet MySQL © 1995, 2016, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.