For killing the procees according to user
The OS is UNIX . The process we are trying to kill is those running currently and the kill process is done by PID.
The various conditions are:
1. Kill all the process running
2. Kill only the selected process
3. Kill all the defunct Process