This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# base on Gabriel Genellina http://code.activestate.com/recipes/576755-sorting-big-files-the-python-26-way/ | |
# based on Recipe 466302: Sorting big files the Python 2.4 way | |
# by Nicolas Lehuen | |
from __future__ import print_function | |
import os | |
import sys | |
import re | |
from tempfile import gettempdir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import print_function | |
''' | |
Usage: | |
./rrd_to_openmetrics.py /path/rrd_directory/ > openmetrics.txt | |
''' | |
''' | |
Directory structure : |