I was trying to find out, how do i get the pid, process name, command line of the current terminal(what is running in the background and got started with that terminal)?