I have to do process monitoring in java. I have done process monitoring using thread for unique processes (eg. cmd.exe,alg.exe,smss.exe etc.). How to monitor multiple processes with same name for eg I have opened 4 command prompts in different times(say interval of 15sec,20sec,30sec etc) so that 4 cmd.exe will be runnung. how can I monitor those 4 processes and displays it.