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

How do you stop a running process?

Answer Posted / sridhar

kill -0(or 9) pid
ex:
kill -9 1234 ( get this pid using ps -ef | grep
processname ")

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1144


Is it inbetween or in between?

1001


How do I run a whois command?

1099


Who wrote grep?

1015


How can you see the command line history?

1078


What is the use of finger command?

1144


What is rmdir command?

1049


How to find $ai_serual resolved path by using unix

1642


What is merge command in unix?

1447


What is $0 bash?

1133


Which command is used to restrict incoming messages?

1045


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:

2203


What is the use of egrep command in unix?

1131


What does grep v grep do?

1025


What does find command return in unix?

1101