implementing the linux command ps

Aug 31 2014 8:57 AM
hello, I am implementing the Linux command PS(process state). i have tried every thing but i could not do in.please any one help me in this.
 
thank you.