add mypid , get current pid