Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In UNIX, what is the command to kill a process?

Answer Posted / vinod b

kill -9 uses SIGKILL signal which should not be used
because its forcible killing ,it cant be blocked or cached .

kill -15 PID will be suitable .else use killall pid as
explained in an earlier ans. kill -15 is a Termination
signal(SIGTERM)

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep in bash?

1030


How do I search for a file in unix command?

992


How do I clear my terminal history?

1117


How does pipe () work?

1062


What is the use of the command 'ls -x chapter[1-5]' ?

1180


What does the md command do?

1096


What is the command to find maximum memory taking process on the server?

1177


What is the difference between cat command and more command?

1153


Name the general commands in using unix os for a beginner?

1114


What command is used to check the current users?

1090


What does this command do,"$more readme.txt“?

1127


What does pipe () return?

1047


Which command should you use to find the remaining disk space in unix server?

1271


What is the use of cut command in unix?

1322


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2228