def build_prefix_line_for_top_cmd_output(): cur_datetime = MUtils.g_get_current_datetime() return cur_datetime + ' ' + '-' * 40
def build_prefix_line_for_procrank_cmd_output(): cur_datetime = MUtils.g_get_current_datetime() return '%s %s\n' % (cur_datetime, '-' * 40)
def build_prefix_line_for_top_cmd_output(): cur_datetime = MUtils.g_get_current_datetime() return cur_datetime + ' ' + '-' * 40