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?

Answers were Sorted based on User's Feedback



How do you stop a running process?..

Answer / 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

How do you stop a running process?..

Answer / ravikumar reddy .dubba

all the above Ans for Killing the process ,Not for stoping
process.

This is correct ans for stoping process

while processing is running type ctrl+z
it will stop the process and it will give stopped process
Id.


dubba.ravikumarreddy@gmail.com

Is This Answer Correct ?    8 Yes 2 No

How do you stop a running process?..

Answer / deepa

kill

Is This Answer Correct ?    6 Yes 1 No

How do you stop a running process?..

Answer / kiruthiga,s

kill

Is This Answer Correct ?    2 Yes 0 No

How do you stop a running process?..

Answer / pradi

We can stop the running processes in unix using

1) Kill command
2) Udw command

Usage:

1)bash# Kill process_id

will stop the process and immedaitely it will restarts on
its own with a new pid.

2)bash# udw process: process_name

will stops the running process. And again we want to
restart it then issue the command

bash# udw process: process_name t

will restarts the process.

Is This Answer Correct ?    4 Yes 4 No

How do you stop a running process?..

Answer / subbareddy kake

kill -9 <PID>

PID means process id.we can process id by using ls -lrt
command.

Is This Answer Correct ?    4 Yes 4 No

How do you stop a running process?..

Answer / c sivakumar

If we want to kill a process first we have to know the
process id. We cam come to know ps or top command.
Then we have to identify the respective proce's child
process with the help of ptree command. Then we can give
kill id-1 id-2

example:- Take an example while using ps command

# ps
PID TT S TIME COMMAND
2243 pts/16 S 0:00 -csh

now we identified the PID no (2243) with the help of above
said ps command.

Then we have to give following command to know child
process_-

ptree 2243

1498 /usr/local/sbin/sshd
2062 /usr/local/sbin/sshd
2199 /usr/local/sbin/sshd
2205 -csh
2243 -csh
11535 ptree 2243

Now we can kill above said all ids.

kill 1498 2062 2199 2205 2243 11535

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Unix Commands Interview Questions

what is telnet?

6 Answers  


What is the first character of the output in ls l command?

0 Answers  


How do I use nslookup?

0 Answers  


Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.

8 Answers   Concentrix, IBM, Symantec, TCS,


what is the default signal kill in unix?

8 Answers   IBM,


What Command will remove a Directory in UNIX?

8 Answers   IBM,


What does the command ' $who | sort –logfile > newfile' do?

0 Answers  


distinguish between user mode and kernel mode?

4 Answers   Infosys,


How do you copy a directory with many files and folders into another directory?

2 Answers  


How does pipe () work?

0 Answers  


How can you change the owner or group of a file?

1 Answers  


their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,


Categories