Temporarily Stop or Pause Process in Linux Server

Some times we may need to pause a particular process or service in Linux Servers.


We may need to stop a particular process without killing it for certain period of time and resume it again.


This can be done with KILL Command.


Most of us familiar with KILL comman. But this is the another feature of KILL command, which helps to achieve this:




To Stop a Process or Job: 



    #kill -STOP 21368 ( where 21368 is process id )


To Resume a Process or Job:


    #kill -CONT 21368 ( where 21368 is process id )




Thats all.. Hope this is useful

Share this

Related Posts

Previous
Next Post »

2 comments

Write comments
September 16, 2010 at 11:32 PM delete

This is not correct. Please check it again. Try to show it with an example.

Reply
avatar
September 19, 2010 at 12:38 PM delete

Hi Ashok,

Thanks for the comment. I will recheck this and update.

Reply
avatar

What do you think about this Article? Add your Opinion..! EmoticonEmoticon