simplify kill cmd & truncate output