[kanchilug] [Tip] Temporarily stop/start a process in linux

  • From: "Tha.Suresh" <jemenisuresh@xxxxxxxxx>
  • To: ILUG-C <ilugc@xxxxxxxxxxxxx>, KanchiLug <kanchilug@xxxxxxxxxxxxx>, iitdlug@xxxxxxxxxxxxxxxx
  • Date: Mon, 25 Oct 2010 21:33:14 +0530

 Sometimes we require a particular job to stop for a certain period
and start again.

Most of us familiar with the KILL command, But here is another cool
feature of the KILL command,

$ kill -STOP <pid>

$ kill -CONT <pid>

This 'll stop the given PID since it has been not restarted with the
command -CONT.

:-)

Ex:

$ kill -STOP 9952 (For Stop)

$ kill -CONT 9952 (For Continue)


--
Regards,
Tha.Suresh

Kanchi Linux User Group Rocks !!!!
http://kanchilug.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com

Other related posts: