def getHostOffsets(self, hosts):
info_dict = {}<EOL>output = util.exec_command([ntpdateCmd, '<STR_LIT>', '<STR_LIT>'] + list(hosts))<EOL>for line in output.splitlines():<EOL><INDENT>mobj = re.match('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>', line)<EOL>if mobj:<EOL><INDENT>host_dict = {}<EOL>host = mobj.group(<NUM_LIT:1>)<EOL>host_dict['<STR_LIT>'] = int(mobj.group(<NUM_LIT:2>))<EOL>host_dict['<STR_LIT>'] = float(mobj.group(<NUM_LIT:4>))<EOL>host_dict['<STR_LIT>'] = float(mobj.group(<NUM_LIT:3>))<EOL>info_dict[host] = host_dict<EOL><DEDENT><DEDENT>return info_dict<EOL>
Get NTP Stats and offset of multiple remote hosts relative to localhost
        by querying NTP Servers on remote hosts.

        @param host: List of Remote Host IPs.
        @return:     Dictionary of NTP stats converted to seconds.