This file contains hidden or 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
""" import needed classes from rrd libraries""" | |
from pyrrd.rrd import RRD, RRA, DS | |
from pyrrd.graph import DEF, CDEF, VDEF | |
from pyrrd.graph import LINE, AREA, GPRINT | |
from pyrrd.graph import ColorAttributes, Graph | |
""" import subprocess to launch external commands like sar""" | |
import subprocess | |
""" import os.path to test if files exist""" | |
import os.path | |
""" import sys to handle error exits""" |