Hi,

I have to get the pid of a process and have to store the pid of the process in a variable and i want to use the value of this variable to kill a process based on some condition. so how can i able to get the pid of a process and store it in a variable? please help me on this. I am new to unix.