'Set sar interval and verify what flags the installed sar supports.
:param interval: Interval used by sar to produce system data.'

def initialize(self, interval=1, **dargs):

    self.interval = interval
    self.sar_path = os_dep.command('sar')
    t_cmd = (self.sar_path + '    1    0')
    t_process = subprocess.Popen(t_cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    time.sleep(3)
    if t_process.poll():
        self.cmd = (self.sar_path + '    -o    %s    %d')
    else:
        self.cmd = (self.sar_path + '    -o    %s    %d    0')
        os.kill(t_process.pid, 15)
