Welcome to WebmasterWorld Guest from 54.146.217.179

Forum Moderators: bakedjake

Message Too Old, No Replies

Termination of the job

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

New User

10+ Year Member

joined:Mar 11, 2004
posts:6
votes: 0


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)

Full Member

10+ Year Member

joined:Mar 14, 2002
posts:325
votes: 0


'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)

New User

10+ Year Member

joined:Mar 18, 2004
posts:5
votes: 0


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.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members