Welcome to WebmasterWorld Guest from 50.16.78.128

Forum Moderators: bakedjake

Message Too Old, No Replies

Termination of the job

   
5:33 am on Mar 12, 2004 (gmt 0)

10+ Year Member



Hi,

I want know that whether for the following question, the answer given is correct or not.

To force termination of a job whose process ID is given.

answer : kill pid(process id)

is it correct, if not give me the answer

please.........

Thanks,
shwetha

12:41 pm on Mar 12, 2004 (gmt 0)

10+ Year Member



'man kill' gives you the detailed answer.

What 'kill' does is sending a signal to the process with the given PID; it is SIGTERM by default, but can also be any POSIX signal. If the process doesn't react to SIGTERM, try with SIGINT, SIGHUP and SIGKILL, in that order.

7:49 am on Mar 18, 2004 (gmt 0)

10+ Year Member



Hi Shwetha,

I think are you looking for the solution of this query.

To force termination of a job whose process ID is given.

Ans. : kill -9 (process id)

Note : if you know the process id, then your can terminate that job by using this command.

kill 1239, where 1239 is process id..

well if you are pursuing MCA from IGNOU and try to solve the TMA assig. then you can email me at : geinehelpline@yahoo.com

Regrads,
Mukesh.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month