cpuinfo and run_cmd.py base function by tao