Pruned the ps and inspect commands