[PATCH openEuler-21.09 2/2] tools: add a tool to calculate the idle rate