initial printThreadCommand