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...

which command is used to stop a running process in unix?

Answer Posted / c sivakumar. kumarsiva46@yaho

First of all i like to appreciate all the three Answerers
for theire initivative to have answered the question.
However the answers are not complete. In this first two
cases the command does not stop the process but kills it,
which means to restart the process we have to re-execute
the script. In the 3rd case the command stops only that
process which is activelly running in our terminal this
command can not be used to stop a process which is running
elsewhere. I know the answer to above question. But i
would like you guys to research over this and find out.
Please contact me for further queries.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to kill the last background job?

1331


Give the command for finding the current date.

1102


What is updatedb?

1039


What do chgrp command do?

1206


How do I use nslookup?

1088


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1226


What does pipe () return?

1069


Explain how to use grep command to list find the records of a file containing 10 different strings?

1064


Which command is used to delete all files in the current directory and all its sub-directories?

1252


How do I search for a file in unix command?

1014


What does the command '$ls | wc –l > file1' do?

1225


What is grep r?

1090


Explain command to display different lines that are found when compare two files?

1160


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:

2262


What does touch command do in unix?

1414